]> The Tcpdump Group git mirrors - libpcap/commitdiff
Put in a note about ISO-over-LLC, PPPoA (which is "PPP-over-LLC using
authorguy <guy>
Sat, 28 May 2005 00:30:21 +0000 (00:30 +0000)
committerguy <guy>
Sat, 28 May 2005 00:30:21 +0000 (00:30 +0000)
the ISO NLPID for PPP"), and PPPoE.

gencode.c

index 4f7c392621ee9b5ab0ce454d2cd42076d3ec2754..37246e46e46611b50f0f74cc3030681bbf348ee9 100644 (file)
--- 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 */