]> The Tcpdump Group git mirrors - tcpdump/commitdiff
More OUIs, end the oui_values table with the required {0, NULL} stopper.
authorguy <guy>
Sat, 9 Apr 2005 21:49:48 +0000 (21:49 +0000)
committerguy <guy>
Sat, 9 Apr 2005 21:49:48 +0000 (21:49 +0000)
oui.c
oui.h

diff --git a/oui.c b/oui.c
index 05e407c592cb0e3cd2f269d0da4fce16c07d25bc..d6106252993ebaa95ac1cb0ab57df6a88bff483e 100644 (file)
--- a/oui.c
+++ b/oui.c
@@ -15,7 +15,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/tcpdump/oui.c,v 1.5 2005-04-09 21:43:49 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/tcpdump/oui.c,v 1.6 2005-04-09 21:49:48 guy Exp $ (LBL)";
 #endif
 
 #ifdef HAVE_CONFIG_H
@@ -31,10 +31,15 @@ static const char rcsid[] _U_ =
 struct tok oui_values[] = {
     { OUI_ENCAP_ETHER, "Ethernet" },
     { OUI_CISCO, "Cisco" },
+    { OUI_NORTEL, "Nortel Networks SONMP" },
     { OUI_CISCO_90, "Cisco bridged" },
     { OUI_RFC2684, "Ethernet bridged" },
+    { OUI_ATM_FORUM, "ATM Forum" },
+    { OUI_CABLE_BPDU, "DOCSIS Spanning Tree" },
     { OUI_APPLETALK, "Appletalk" },
-    { OUI_JUNIPER, "Juniper"},
+    { OUI_JUNIPER, "Juniper" },
+    { OUI_HP, "Hewlett-Packard" },
+    { 0, NULL }
 };
 
 /*
diff --git a/oui.h b/oui.h
index d6057d5fb31c84302f4ef9b3af8908e19b101fb2..8dbd9372ef9a2a86a42876d2b7a69b419678c630 100644 (file)
--- a/oui.h
+++ b/oui.h
@@ -1,4 +1,4 @@
-/* @(#) $Header: /tcpdump/master/tcpdump/oui.h,v 1.4 2005-04-09 21:43:49 guy Exp $ (LBL) */
+/* @(#) $Header: /tcpdump/master/tcpdump/oui.h,v 1.5 2005-04-09 21:49:49 guy Exp $ (LBL) */
 /* 
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that: (1) source code
@@ -19,10 +19,14 @@ extern struct tok smi_values[];
 
 #define OUI_ENCAP_ETHER 0x000000        /* encapsulated Ethernet */
 #define OUI_CISCO       0x00000c        /* Cisco protocols */
+#define OUI_NORTEL      0x000081        /* Nortel SONMP */
 #define OUI_CISCO_90    0x0000f8        /* Cisco bridging */
-#define OUI_RFC2684     0x0080c2        /* RFC 2684 bridged Ethernet */
+#define OUI_RFC2684     0x0080c2        /* RFC 2427/2684 bridged Ethernet */
+#define OUI_ATM_FORUM   0x00A03E        /* ATM Forum */
+#define OUI_CABLE_BPDU  0x00E02F        /* DOCSIS spanning tree BPDU */
 #define OUI_APPLETALK   0x080007        /* Appletalk */
 #define OUI_JUNIPER     0x009069        /* Juniper */
+#define OUI_HP          0x080009        /* Hewlett-Packard */
 
 /*
  * These are SMI Network Management Private Enterprise Codes for