Netdev List
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Chetan Loke <loke.chetan@gmail.com>
Cc: davem@davemloft.net, netdev@vger.kernel.org
Subject: Re: [PATCH net-next v3 af-packet 1/2] Enhance af-packet to provide (near zero)lossless packet capture functionality.
Date: Mon, 18 Jul 2011 08:38:34 +0200	[thread overview]
Message-ID: <1310971114.2509.25.camel@edumazet-laptop> (raw)
In-Reply-To: <1310959610-1688-2-git-send-email-loke.chetan@gmail.com>

Le dimanche 17 juillet 2011 à 23:26 -0400, Chetan Loke a écrit :
> Signed-off-by: Chetan Loke <loke.chetan@gmail.com>
> ---
>  include/linux/if_packet.h |  125 +++++++++++++++++++++++++++++++++++++++++++++
>  1 files changed, 125 insertions(+), 0 deletions(-)

>  
> +struct tpacket3_hdr {
> +	__u32		tp_status;
> +	__u32		tp_next_offset;
> +	__u32		tp_len;
> +	__u32		tp_snaplen;
> +	__u16		tp_mac;
> +	__u16		tp_net;
> +	__u32		tp_sec;
> +	__u32		tp_nsec;
> +	__u32		tp_rxhash;
> +	__u16		tp_vlan_tci;
> +	__u16		tp_padding;
> +	__u32		tp_next_offset;
> +};

Srange, I see tp_next_offset twice in tpacket3_hdr ?



  reply	other threads:[~2011-07-18  6:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-18  3:26 [PATCH net-next v3 af-packet 0/2] Enhance af-packet to provide (near zero)lossless packet capture functionality Chetan Loke
2011-07-18  3:26 ` [PATCH net-next v3 af-packet 1/2] " Chetan Loke
2011-07-18  6:38   ` Eric Dumazet [this message]
2011-07-18 12:49     ` chetan loke
2011-07-18 16:56       ` David Miller
2011-07-18  3:26 ` [PATCH net-next v3 af-packet 2/2] " Chetan Loke
2011-07-18  3:46   ` Joe Perches
2011-07-18 14:55     ` chetan loke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1310971114.2509.25.camel@edumazet-laptop \
    --to=eric.dumazet@gmail.com \
    --cc=davem@davemloft.net \
    --cc=loke.chetan@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox