From: guy Date: Sat, 9 Apr 2005 21:49:48 +0000 (+0000) Subject: More OUIs, end the oui_values table with the required {0, NULL} stopper. X-Git-Tag: tcpdump-4.0.0~527 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/ff161bdd9f219307f9098cf5731ff3ea6fdf030c More OUIs, end the oui_values table with the required {0, NULL} stopper. --- diff --git a/oui.c b/oui.c index 05e407c5..d6106252 100644 --- 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 d6057d5f..8dbd9372 100644 --- 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