From: guy Date: Sat, 28 May 2005 00:30:21 +0000 (+0000) Subject: Put in a note about ISO-over-LLC, PPPoA (which is "PPP-over-LLC using X-Git-Tag: libpcap-0.9.1~11 X-Git-Url: https://git.tcpdump.org/libpcap/commitdiff_plain/a42e5249d291c71bb9509c9856737d38f9bd2325 Put in a note about ISO-over-LLC, PPPoA (which is "PPP-over-LLC using the ISO NLPID for PPP"), and PPPoE. --- diff --git a/gencode.c b/gencode.c index 4f7c3926..37246e46 100644 --- a/gencode.c +++ b/gencode.c @@ -21,7 +21,7 @@ */ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.221.2.20 2005-05-19 10:05:31 hannes Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/libpcap/gencode.c,v 1.221.2.21 2005-05-28 00:30:21 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -985,6 +985,13 @@ init_linktype(p) /* * assume routed, non-ISO PDUs * (i.e., LLC = 0xAA-AA-03, OUT = 0x00-00-00) + * + * XXX - what about ISO PDUs, e.g. CLNP, ISIS, ESIS, + * or PPP with the PPP NLPID (e.g., PPPoA)? The + * latter would presumably be treated the way PPPoE + * should be, so you can do "pppoe and udp port 2049" + * or "pppoa and tcp port 80" and have it check for + * PPPo{A,E} and a PPP protocol of IP and.... */ off_linktype = 0; off_nl = 8; /* 802.2+SNAP */