summaryrefslogtreecommitdiff
path: root/xmalloc.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-05-10 14:08:27 +0200
committerDaniel Borkmann <dborkman@redhat.com>2013-05-10 14:08:27 +0200
commit684f8fbe8d8a95d53b5ac424e59663090e15c629 (patch)
treea755487a88ea7adb371206d0017aa3b277382cab /xmalloc.c
parentaa7f761a7f3e140e873999bff45aa53d3b14a85c (diff)
pcap: let netsniff-ng also record pkt timestamp source
With commit [1] in the kernel, we can also store the timestamp source in the pcap packet header for later analysis. We do this by splitting the netsniff-ng's u32 ifindex into u16 tsource and u16 ifindex. Older kernel do not support the timestamp source in PF_PACKET, so it will stay 0 and is compatible with older netsniff-ng binaries. [1] http://thread.gmane.org/gmane.linux.network/266878/ Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'xmalloc.c')
0 files changed, 0 insertions, 0 deletions
co' href='/cgit.cgi/linux/net-next.git/log/arch/arm/configs/pxa_defconfig?h=nds-private-remove'>nds-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/arm/configs/pxa_defconfig')