Re: [tcpdump-workers] Request for a DLT value (for nflog)

2011-07-14 Thread Sam Roberts
On Mon, Jun 20, 2011 at 3:21 AM, Jakub Zawadzki wrote: > DLT_NFLOG starts with struct nfgenmsg header defined in > , > which looks like (changed to stdint.h types + my comments in /** **/): Do you have a way of capturing traffic on a netlink socket? I've wanted one very much, to capture NFQ and

Re: [tcpdump-workers] DLT value for IP over IB (Infiniband)

2011-07-14 Thread Darren Reed
Guy Harris wrote: On Jul 14, 2011, at 5:23 AM, Darren Reed wrote: Some more follow up on this... Looks are deceiving - there is no RFC 4391/4392 header being prepended to the IP packet: /* * In order to transmit the datagram to correct destination, an extra * header including destination a

Re: [tcpdump-workers] DLT value for IP over IB (Infiniband)

2011-07-14 Thread Guy Harris
On Jul 14, 2011, at 5:23 AM, Darren Reed wrote: > Some more follow up on this... > > Looks are deceiving - there is no RFC 4391/4392 header being prepended to the > IP packet: > /* > * In order to transmit the datagram to correct destination, an extra > * header including destination address is

[tcpdump-workers] [PATCH] updates print-arp.c for Infiniband

2011-07-14 Thread Darren Reed
This is a trivial patch to update print-arp.c to know about the mapping between hardware type having a value of 32 and the name Infiniband. The value of 32 is as according to RFC 4391. Darren --- print-arp.c.distThu Mar 11 17:56:44 2010 +++ print-arp.c Thu Jul 14 08:56:12 2011 @@ -62,6 +62

Re: [tcpdump-workers] DLT value for IP over IB (Infiniband)

2011-07-14 Thread Darren Reed
Some more follow up on this... Looks are deceiving - there is no RFC 4391/4392 header being prepended to the IP packet: /* * In order to transmit the datagram to correct destination, an extra * header including destination address is required. IB does not provide an * interface for sending a li