]> git.baikalelectronics.ru Git - kernel.git/commit
net: Add framework to allow sending packets with customized CRC.
authorBen Greear <greearb@candelatech.com>
Sat, 11 Feb 2012 15:39:30 +0000 (15:39 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 24 Feb 2012 09:37:35 +0000 (01:37 -0800)
commit04e45fdbad51d349501f5014c063ce1faee48e5f
treeda6bd907f599402bc8db0a2484997fd4d3e06f7b
parentd91bbf65b4dbd5600c5e39de70e48e50351d3818
net: Add framework to allow sending packets with customized CRC.

This is useful for testing RX handling of frames with bad
CRCs.

Requires driver support to actually put the packet on the
wire properly.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
24 files changed:
arch/alpha/include/asm/socket.h
arch/arm/include/asm/socket.h
arch/avr32/include/asm/socket.h
arch/cris/include/asm/socket.h
arch/frv/include/asm/socket.h
arch/h8300/include/asm/socket.h
arch/ia64/include/asm/socket.h
arch/m32r/include/asm/socket.h
arch/m68k/include/asm/socket.h
arch/mips/include/asm/socket.h
arch/mn10300/include/asm/socket.h
arch/parisc/include/asm/socket.h
arch/powerpc/include/asm/socket.h
arch/s390/include/asm/socket.h
arch/sparc/include/asm/socket.h
arch/xtensa/include/asm/socket.h
include/asm-generic/socket.h
include/linux/if.h
include/linux/netdevice.h
include/linux/skbuff.h
include/net/sock.h
net/core/skbuff.c
net/core/sock.c
net/packet/af_packet.c