tcpdump mailing list archives

Extra DLT types required for opensolaris DLPI DL types...


From: Darren Reed <Darren.Reed () Sun COM>
Date: Thu, 26 Mar 2009 11:58:35 -0700

Hi,

I'm trying to work out how to correctly map the DLPI data link
types that are used to each of the relevant DLT's that are
supplied in bpf.h. Some of them are easy, some are repeats,
some not so...

I'm not completely sure if I should assume DLT_NULL for the
likes of IPv4/6 tunnels or pretend that the outer IP header
is the "link header" and thus in need of a DLT_IPV4/DLT_IPV6.

So I'd like to request that a DLT types be given for each
unique type that's included below and currently mapped to "0".

I believe that the list of names I need a value for is:
DLT_TPB
DLT_TPR
DLT_METRO
DLT_CHAR
DLT_CTCA
DLT_FC
DLT_X25
DLT_ISDN
DLT_100VGTP
DLT_IB
DLT_MPFRAME
DLT_ASYNC
DLPT_IPX25
DLT_IPV4
DLT_IPV6

Darren

       { DL_CSMACD,    DLT_EN10MB },   /* IEEE 802.3 CSMA/CD network */
       { DL_TPB,       0 },            /* IEEE 802.4 Token Passing Bus */
       { DL_TPR,       0 },            /* IEEE 802.5 Token Passing Ring */
       { DL_METRO,     0 },            /* IEEE 802.6 Metro Net */
       { DL_ETHER,     DLT_EN10MB },   /* Ethernet Bus */
       { DL_HDLC,      DLT_HDLC },     /* ISO HDLC protocol support */
       { DL_CHAR,      0 },            /* Character Synchronous protocol */
       { DL_CTCA,      0 },            /* IBM Channel-to-Channel Adapter */
{ DL_FDDI, DLT_FDDI }, /* Fiber Distributed data interface */
       { DL_FC,        0 },            /* Fibre Channel interface */
       { DL_ATM,       DLT_SUNATM },   /* ATM */
       { DL_IPATM,     DLT_ATM_CLIP }, /* ATM Classical IP interface */
       { DL_X25,       0 },            /* X.25 LAPB interface */
       { DL_ISDN,      0 },            /* ISDN interface */
       { DL_HIPPI,     DLT_HIPPI },    /* HIPPI interface */
       { DL_100VG,     DLT_EN10MB },   /* 100 Based VG Ethernet */
       { DL_100VGTP,   0 },            /* 100 Based VG Token Ring */
       { DL_ETH_CSMA,  DLT_EN10MB },   /* ISO 8802/3 and Ethernet */
       { DL_100BT,     DLT_EN10MB },   /* 100 Base T */
       { DL_IB,        0 },            /* Infiniband */
       { DL_FRAME,     DLT_FRELAY },   /* Frame Relay LAPF */
{ DL_MPFRAME, 0 }, /* Multi-protocol over Frame Relay */ { DL_ASYNC, 0 }, /* Character Asynchronous Protocol */
       { DL_IPX25,     0 },            /* X.25 Classical IP interface */
       { DL_LOOP,      DLT_NULL },     /* software loopback */
{ DL_OTHER, 0 }, /* Any other medium not listed above */
       { DL_IPV4,      0 },            /* IPv4 Tunnel Link */
       { DL_IPV6,      0 },            /* IPv6 Tunnel Link */
       { SUNW_DL_VNI,  0 },            /* Virtual network interface */
       { DL_WIFI,      DLT_IEEE802_11 },       /* IEEE 802.11 */

-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: