login
Header Space

 
 

Re: adding tcpdump/OAM support to usb ATM devices

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Miller <davem@...>
Cc: <netdev@...>
Date: Sunday, April 27, 2008 - 6:35 pm

On Sun, 2008-04-27 at 14:35 -0700, David Miller wrote:

Backgroud: OAM cells are like the ICMP of ATM networking, they are
separate from payload cells, not part of the headers.  They do share the
VPI/VCI of the data circuit, but have a different cell Packet Type
Indication (PTI)

With br2684, it exposes an ethernet-like device.  Tcpdump can work on
that no problem, and perhaps it could expose the headers of the
first/last cell of each "frame", but I don't see how the OAM cells would
fit into capturing packets that way.

Or can an AF_PACKET socket be made that retrieved raw ATM cells (AAL0
style) regardless of the upper layer (br2684)?

Sadly, my goal isn't an overhaul of the ATM stack, but a
minimal-distance hack with some good advice thrown in.  The typical
tcpdump would grab all cells, or perhaps unclaimed ones unless in
promisc mode, but I'm happy with just partial capture of certain out of
band cells for now.

Maybe the code in usbatm_extract_one_cell() that drops cells, would
check for an ATM packet socket first, and dump the cells in there,
otherwise drop them.

-- 
Jeremy Jackson
Coplanar Networks
(519)489-4903
http://www.coplanar.net
jerj@coplanar.net

--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
adding tcpdump/OAM support to usb ATM devices, Jeremy Jackson, (Sun Apr 27, 5:31 pm)
Re: adding tcpdump/OAM support to usb ATM devices, Chas Williams (CONTRACTOR)..., (Mon Apr 28, 10:18 am)
Re: adding tcpdump/OAM support to usb ATM devices, Jeremy Jackson, (Mon Apr 28, 11:54 am)
Re: adding tcpdump/OAM support to usb ATM devices, Chas Williams (CONTRACTOR)..., (Tue Apr 29, 8:04 am)
Re: adding tcpdump/OAM support to usb ATM devices, David Miller, (Sun Apr 27, 5:35 pm)
Re: adding tcpdump/OAM support to usb ATM devices, Jeremy Jackson, (Sun Apr 27, 6:35 pm)
speck-geostationary