Explicitly request literal mode after .Xr.
[netbsd-mini2440.git] / dist / tcpdump / oui.c
blobc7e25f0fb4ea2c795f9e79d12f4be483dfff313c
1 /* $NetBSD$ */
3 /*
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that: (1) source code
6 * distributions retain the above copyright notice and this paragraph
7 * in its entirety, and (2) distributions including binary code include
8 * the above copyright notice and this paragraph in its entirety in
9 * the documentation or other materials provided with the distribution.
10 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
11 * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
12 * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
13 * FOR A PARTICULAR PURPOSE.
15 * Original code by Hannes Gredler (hannes@juniper.net)
18 #include <sys/cdefs.h>
19 #ifndef lint
20 #if 0
21 static const char rcsid[] _U_ =
22 "@(#) Header: /tcpdump/master/tcpdump/oui.c,v 1.4.2.1 2005/04/17 01:20:56 guy Exp (LBL)";
23 #else
24 __RCSID("$NetBSD: tcpdump2rcsid.ex,v 1.1 2001/06/25 20:09:58 itojun Exp $");
25 #endif
26 #endif
28 #ifdef HAVE_CONFIG_H
29 #include "config.h"
30 #endif
32 #include <tcpdump-stdinc.h>
33 #include "interface.h"
34 #include "oui.h"
36 /* FIXME complete OUI list using a script */
38 struct tok oui_values[] = {
39 { OUI_ENCAP_ETHER, "Ethernet" },
40 { OUI_CISCO, "Cisco" },
41 { OUI_NORTEL, "Nortel Networks SONMP" },
42 { OUI_CISCO_90, "Cisco bridged" },
43 { OUI_RFC2684, "Ethernet bridged" },
44 { OUI_ATM_FORUM, "ATM Forum" },
45 { OUI_CABLE_BPDU, "DOCSIS Spanning Tree" },
46 { OUI_APPLETALK, "Appletalk" },
47 { OUI_JUNIPER, "Juniper" },
48 { OUI_HP, "Hewlett-Packard" },
49 { 0, NULL }
53 * SMI Network Management Private Enterprise Codes for organizations.
55 * XXX - these also appear in FreeRadius dictionary files, with items such
56 * as
58 * VENDOR Cisco 9
60 * List taken from Ethereal's epan/sminmpec.c.
62 struct tok smi_values[] = {
63 { SMI_IETF, "IETF (reserved)"},
64 { SMI_ACC, "ACC"},
65 { SMI_CISCO, "Cisco"},
66 { SMI_HEWLETT_PACKARD, "Hewlett Packard"},
67 { SMI_SUN_MICROSYSTEMS, "Sun Microsystems"},
68 { SMI_MERIT, "Merit"},
69 { SMI_SHIVA, "Shiva"},
70 { SMI_ERICSSON, "Ericsson AB"},
71 { SMI_CISCO_VPN5000, "Cisco VPN 5000"},
72 { SMI_LIVINGSTON, "Livingston"},
73 { SMI_MICROSOFT, "Microsoft"},
74 { SMI_3COM, "3Com"},
75 { SMI_ASCEND, "Ascend"},
76 { SMI_BAY, "Bay Networks"},
77 { SMI_FOUNDRY, "Foundry"},
78 { SMI_VERSANET, "Versanet"},
79 { SMI_REDBACK, "Redback"},
80 { SMI_JUNIPER, "Juniper Networks"},
81 { SMI_APTIS, "Aptis"},
82 { SMI_CISCO_VPN3000, "Cisco VPN 3000"},
83 { SMI_COSINE, "CoSine Communications"},
84 { SMI_NETSCREEN, "Netscreen"},
85 { SMI_SHASTA, "Shasta"},
86 { SMI_NOMADIX, "Nomadix"},
87 { SMI_SIEMENS, "Siemens"},
88 { SMI_CABLELABS, "CableLabs"},
89 { SMI_UNISPHERE, "Unisphere Networks"},
90 { SMI_CISCO_BBSM, "Cisco BBSM"},
91 { SMI_THE3GPP2, "3rd Generation Partnership Project 2 (3GPP2)"},
92 { SMI_IP_UNPLUGGED, "ipUnplugged"},
93 { SMI_ISSANNI, "Issanni Communications"},
94 { SMI_QUINTUM, "Quintum"},
95 { SMI_INTERLINK, "Interlink"},
96 { SMI_COLUBRIS, "Colubris"},
97 { SMI_COLUMBIA_UNIVERSITY, "Columbia University"},
98 { SMI_THE3GPP, "3GPP"},
99 { SMI_GEMTEK_SYSTEMS, "Gemtek-Systems"},
100 { SMI_WIFI_ALLIANCE, "Wi-Fi Alliance"},
101 { 0, NULL}