summaryrefslogtreecommitdiff
path: root/ring_rx.c
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2014-10-01 13:42:12 +0200
committerTobias Klauser <tklauser@distanz.ch>2014-10-01 13:42:12 +0200
commit07fa58ff28b700cf4bceb9f67db6af504f61a354 (patch)
tree7af88fef5b071218525aeb8a06b188827308d329 /ring_rx.c
parentac2c2cf23573e400e014628af22467ca43573c21 (diff)
netsniff-ng: Combine redundant pcap file rotation logic into function
The code to create the next pcap dump file is duplicated for the HAVE_TPACKET3 and !HAVE_TPACKET3 case. Consolidate the functionality into a function to reduce code duplication. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ring_rx.c')
0 files changed, 0 insertions, 0 deletions
='/cgit.cgi/linux/net-next.git/diff/arch/sh/boards/mach-sdk7780/Makefile?h=nds-private-remove&id=5db4992d8f040b8d8db0b86d42806e0c417f7ccf&id2=370ebb0ef6255132373ed35d13e7b1d8d2eb7003'>diff)
usbnet: pegasus: Use net_device_stats from struct net_devicends-private-remove
Instead of using a private copy of struct net_device_stats in struct pegasus, use stats from struct net_device. Also remove the now unnecessary .ndo_get_stats function. Cc: Petko Manolov <petkan@nucleusys.com> Cc: linux-usb@vger.kernel.org Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'arch/sh/boards/mach-sdk7780/Makefile')