15b0fe478SBruce M Simpson /* 25b0fe478SBruce M Simpson * Redistribution and use in source and binary forms, with or without 35b0fe478SBruce M Simpson * modification, are permitted provided that: (1) source code 45b0fe478SBruce M Simpson * distributions retain the above copyright notice and this paragraph 55b0fe478SBruce M Simpson * in its entirety, and (2) distributions including binary code include 65b0fe478SBruce M Simpson * the above copyright notice and this paragraph in its entirety in 75b0fe478SBruce M Simpson * the documentation or other materials provided with the distribution. 85b0fe478SBruce M Simpson * THIS SOFTWARE IS PROVIDED ``AS IS'' AND 95b0fe478SBruce M Simpson * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT 105b0fe478SBruce M Simpson * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 115b0fe478SBruce M Simpson * FOR A PARTICULAR PURPOSE. 125b0fe478SBruce M Simpson * 135b0fe478SBruce M Simpson * Original code by Hannes Gredler (hannes@juniper.net) 145b0fe478SBruce M Simpson */ 155b0fe478SBruce M Simpson 165b0fe478SBruce M Simpson #ifndef lint 175b0fe478SBruce M Simpson static const char rcsid[] _U_ = 185b0fe478SBruce M Simpson "@(#) $Header: /tcpdump/master/tcpdump/oui.c,v 1.2.2.1 2004/02/06 14:38:51 hannes Exp $ (LBL)"; 195b0fe478SBruce M Simpson #endif 205b0fe478SBruce M Simpson 215b0fe478SBruce M Simpson #ifdef HAVE_CONFIG_H 225b0fe478SBruce M Simpson #include "config.h" 235b0fe478SBruce M Simpson #endif 245b0fe478SBruce M Simpson 255b0fe478SBruce M Simpson #include <tcpdump-stdinc.h> 265b0fe478SBruce M Simpson #include "interface.h" 275b0fe478SBruce M Simpson #include "oui.h" 285b0fe478SBruce M Simpson 295b0fe478SBruce M Simpson /* FIXME complete OUI list using a script */ 305b0fe478SBruce M Simpson 315b0fe478SBruce M Simpson struct tok oui_values[] = { 325b0fe478SBruce M Simpson { 0x009069, "Juniper"}, 335b0fe478SBruce M Simpson { 0x00000c, "Cisco"}, 345b0fe478SBruce M Simpson }; 355b0fe478SBruce M Simpson 365b0fe478SBruce M Simpson /* list taken from ethereal/packet-radius.c */ 375b0fe478SBruce M Simpson 385b0fe478SBruce M Simpson struct tok smi_values[] = { 395b0fe478SBruce M Simpson { SMI_ACC, "ACC"}, 405b0fe478SBruce M Simpson { SMI_CISCO, "Cisco"}, 415b0fe478SBruce M Simpson { SMI_SHIVA, "Shiva"}, 425b0fe478SBruce M Simpson { SMI_MICROSOFT, "Microsoft"}, 435b0fe478SBruce M Simpson { SMI_LIVINGSTON, "Livingston"}, 445b0fe478SBruce M Simpson { SMI_3COM, "3Com"}, 455b0fe478SBruce M Simpson { SMI_ASCEND, "Ascend"}, 465b0fe478SBruce M Simpson { SMI_BAY, "Bay Networks"}, 475b0fe478SBruce M Simpson { SMI_FOUNDRY, "Foundry"}, 485b0fe478SBruce M Simpson { SMI_VERSANET, "Versanet"}, 495b0fe478SBruce M Simpson { SMI_REDBACK, "Redback"}, 505b0fe478SBruce M Simpson { SMI_JUNIPER, "Juniper Networks"}, 515b0fe478SBruce M Simpson { SMI_APTIS, "Aptis"}, 525b0fe478SBruce M Simpson { SMI_COSINE, "CoSine Communications"}, 535b0fe478SBruce M Simpson { SMI_SHASTA, "Shasta"}, 545b0fe478SBruce M Simpson { SMI_NOMADIX, "Nomadix"}, 555b0fe478SBruce M Simpson { SMI_UNISPHERE, "Unisphere Networks"}, 565b0fe478SBruce M Simpson { SMI_ISSANNI, "Issanni Communications"}, 575b0fe478SBruce M Simpson { SMI_QUINTUM, "Quintum"}, 585b0fe478SBruce M Simpson { SMI_COLUBRIS, "Colubris"}, 595b0fe478SBruce M Simpson { SMI_COLUMBIA_UNIVERSITY, "Columbia University"}, 605b0fe478SBruce M Simpson { SMI_THE3GPP, "3GPP"}, 615b0fe478SBruce M Simpson { 0, NULL } 625b0fe478SBruce M Simpson }; 63