X.25-over-Ethernet, as I'm inferring it works (i.e., the payload of the
[obnox/wireshark/wip.git] / ethertype.c
index a315499eec0634726ba52633949fb76793043085..103a45612259e13a1afc0888d5b050ce14303ea8 100644 (file)
@@ -2,7 +2,7 @@
  * Routines for calling the right protocol for the ethertype.
  * This is called by both packet-eth.c (Ethernet II) and packet-llc.c (SNAP)
  *
- * $Id: ethertype.c,v 1.21 1999/12/05 20:05:44 nneul Exp $
+ * $Id: ethertype.c,v 1.22 2000/01/13 04:49:54 guy Exp $
  *
  * Gilbert Ramirez <gram@verdict.uthscsa.edu>
  *
@@ -41,6 +41,7 @@
 const value_string etype_vals[] = {
     {ETHERTYPE_IP,     "IP"             },
     {ETHERTYPE_IPv6,   "IPv6"           },
+    {ETHERTYPE_X25L3,  "X.25 Layer 3"   },
     {ETHERTYPE_ARP,    "ARP"            },
     {ETHERTYPE_REVARP, "RARP"           },
     {ETHERTYPE_ATALK,  "Appletalk"      },
@@ -90,6 +91,9 @@ ethertype(guint16 etype, int offset,
     case ETHERTYPE_IPv6:
       dissect_ipv6(pd, offset, fd, tree);
       break;
+    case ETHERTYPE_X25L3:
+      dissect_x25(pd, offset, fd, tree);
+      break;
     case ETHERTYPE_ARP:
       dissect_arp(pd, offset, fd, tree);
       break;