1 /* 2 * CDPSnarf CDP packet sniffer 3 * Copyright (C) 2006-2010 Anastasios "Zapotek" Laskos 4 * <tasos.laskos@gmail.com> 5 * <zapotek@segfault.gr> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2 of the License, or 10 * (at your option) any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License along 18 * with this program; if not, write to the Free Software Foundation, Inc., 19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 20 */ 21 22 #ifndef OUI_H_ 23 #define OUI_H_ 24 25 /* 26 * Registered OUIs: http://standards.ieee.org/regauth/oui/oui.txt 27 * 28 */ 29 30 #define OUI_ENCAP_ETHER 0x000000 /* encapsulated Ethernet */ 31 #define OUI_XEROX 0x000006 /* Xerox */ 32 #define OUI_CISCO 0x00000C /* Cisco (future use) */ 33 #define OUI_NORTEL 0x000081 /* Nortel SONMP */ 34 #define OUI_CISCO_90 0x0000F8 /* Cisco (IOS 9.0 and above?) */ 35 #define OUI_ERICSSON 0x0001EC /* Ericsson Group */ 36 #define OUI_CATENA 0x00025A /* Catena Networks */ 37 #define OUI_SONY_ERICSSON 0x000AD9 /* Sony Ericsson Mobile Communications AB */ 38 #define OUI_SONY_ERICSSON_2 0x000E07 /* Sony Ericsson Mobile Communications AB */ 39 #define OUI_PROFINET 0x000ECF /* PROFIBUS Nutzerorganisation e.V. */ 40 #define OUI_SONY_ERICSSON_3 0x000FDE /* Sony Ericsson Mobile Communications AB */ 41 #define OUI_IEEE_802_3 0x00120F /* IEEE 802.3 */ 42 #define OUI_MEDIA_ENDPOINT 0x0012BB /* Media (TIA TR-41 Committee) */ 43 #define OUI_SONY_ERICSSON_4 0x0012EE /* Sony Ericsson Mobile Communications AB */ 44 #define OUI_ERICSSON_MOBILE 0x0015E0 /* Ericsson Mobile Platforms */ 45 #define OUI_SONY_ERICSSON_5 0x001620 /* Sony Ericsson Mobile Communications AB */ 46 #define OUI_SONY_ERICSSON_6 0x0016B8 /* Sony Ericsson Mobile Communications AB */ 47 #define OUI_SONY_ERICSSON_7 0x001813 /* Sony Ericsson Mobile Communications AB */ 48 #define OUI_SONY_ERICSSON_8 0x001963 /* Sony Ericsson Mobile Communications AB */ 49 #define OUI_CISCOWL 0x004096 /* Cisco Wireless (Aironet) */ 50 #define OUI_ERICSSON_2 0x008037 /* Ericsson Group */ 51 #define OUI_BRIDGED 0x0080C2 /* Bridged Frame-Relay, RFC 2427 */ 52 /* and Bridged ATM, RFC 2684 */ 53 #define OUI_IEEE_802_1 0x0080C2 /* IEEE 802.1 Committee */ 54 #define OUI_ATM_FORUM 0x00A03E /* ATM Forum */ 55 #define OUI_EXTREME 0x00E02B /* Extreme EDP/ESRP */ 56 #define OUI_CABLE_BPDU 0x00E02F /* DOCSIS spanning tree BPDU */ 57 #define OUI_SIEMENS 0x080006 /* Siemens AG */ 58 #define OUI_APPLE_ATALK 0x080007 /* Appletalk */ 59 #define OUI_HP 0x080009 /* Hewlett-Packard */ 60 61 // the names of the above OUI codes 62 static assoc_array OUI_NAMES[] = { 63 { OUI_ENCAP_ETHER, "Encapsulated Ethernet" }, 64 { OUI_XEROX, "Xerox" }, 65 { OUI_CISCO, "Cisco" }, 66 { OUI_NORTEL, "Nortel SONMP" }, 67 { OUI_CISCO_90, "Cisco" }, 68 { OUI_ERICSSON, "Ericsson Group" }, 69 { OUI_CATENA, "Catena Networks" }, 70 { OUI_SONY_ERICSSON, "Sony Ericsson Mobile Communications AB" }, 71 { OUI_SONY_ERICSSON_2, "Sony Ericsson Mobile Communications AB" }, 72 { OUI_PROFINET, "PROFIBUS Nutzerorganisation e.V." }, 73 { OUI_SONY_ERICSSON_3, "Sony Ericsson Mobile Communications AB" }, 74 { OUI_IEEE_802_3, "IEEE 802.3" }, 75 { OUI_MEDIA_ENDPOINT, "Media (TIA TR-41 Committee)" }, 76 { OUI_SONY_ERICSSON_4, "Sony Ericsson Mobile Communications AB" }, 77 { OUI_ERICSSON_MOBILE, "Sony Ericsson Mobile Communications AB" }, 78 { OUI_SONY_ERICSSON_5, "Sony Ericsson Mobile Communications AB" }, 79 { OUI_SONY_ERICSSON_6, "Sony Ericsson Mobile Communications AB" }, 80 { OUI_SONY_ERICSSON_7, "Sony Ericsson Mobile Communications AB" }, 81 { OUI_SONY_ERICSSON_8, "Sony Ericsson Mobile Communications AB" }, 82 { OUI_CISCOWL, "Cisco Wireless (Aironet)" }, 83 { OUI_ERICSSON_2, "Ericsson Group" }, 84 { OUI_BRIDGED, " Bridged Frame-Relay/ATM" }, 85 { OUI_IEEE_802_1, "IEEE 802.1 Committee" }, 86 { OUI_ATM_FORUM, "ATM Forum" }, 87 { OUI_EXTREME, "Extreme EDP/ESRP" }, 88 { OUI_CABLE_BPDU, "DOCSIS spanning tree BPDU" }, 89 { OUI_SIEMENS, "Siemens AG" }, 90 { OUI_APPLE_ATALK, "Appletalk" }, 91 { OUI_HP, "Hewlett-Packard" } 92 }; 93 94 #endif /*OUI_H_*/ 95