From: David Miller <davem@davemloft.net>
To: jerj@coplanar.net
Cc: netdev@vger.kernel.org
Subject: Re: adding tcpdump/OAM support to usb ATM devices
Date: Sun, 27 Apr 2008 14:35:04 -0700 (PDT) [thread overview]
Message-ID: <20080427.143504.197027637.davem@davemloft.net> (raw)
In-Reply-To: <1209331913.8768.214.camel@ragnarok>
From: Jeremy Jackson <jerj@coplanar.net>
Date: Sun, 27 Apr 2008 17:31:53 -0400
> The question: what is the recommended way to push the captured cells to
> userspace? raw ATM socket, netlink, packet socket, i'm not up to speed
> here people!
>
> in 2.6.22 drivers/usb/atm/usbatm.c::usbatm_extract_one_cell()
It depends upon what you want to do with this.
Maybe it makes sense, if what you're trying to do is expose the
signalling layer of the packet to diagnostic tools, is have an
option in the driver such that the entire ATM header area will
be presented to the AF_PACKET socket when tapping the network.
Could that work?
Adding special mechanisms to get at the packet data is going to
make it more difficult to use this stuff, and kind of defeat
your purpose. So anything that's automatically working with
tcpdump and will "just work" is preferred.
next prev parent reply other threads:[~2008-04-27 21:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-27 21:31 adding tcpdump/OAM support to usb ATM devices Jeremy Jackson
2008-04-27 21:35 ` David Miller [this message]
2008-04-27 22:35 ` Jeremy Jackson
2008-04-28 14:18 ` Chas Williams (CONTRACTOR)
2008-04-28 15:54 ` Jeremy Jackson
2008-04-29 12:04 ` Chas Williams (CONTRACTOR)
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=20080427.143504.197027637.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=jerj@coplanar.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.