11de50e9fSSam Leffler /* 21de50e9fSSam Leffler * Redistribution and use in source and binary forms, with or without 31de50e9fSSam Leffler * modification, are permitted provided that: (1) source code 41de50e9fSSam Leffler * distributions retain the above copyright notice and this paragraph 51de50e9fSSam Leffler * in its entirety, and (2) distributions including binary code include 61de50e9fSSam Leffler * the above copyright notice and this paragraph in its entirety in 71de50e9fSSam Leffler * the documentation or other materials provided with the distribution. 81de50e9fSSam Leffler * THIS SOFTWARE IS PROVIDED ``AS IS'' AND 91de50e9fSSam Leffler * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT 101de50e9fSSam Leffler * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 111de50e9fSSam Leffler * FOR A PARTICULAR PURPOSE. 121de50e9fSSam Leffler * 131de50e9fSSam Leffler * Original code by Hannes Gredler (hannes@juniper.net) 141de50e9fSSam Leffler */ 151de50e9fSSam Leffler 161de50e9fSSam Leffler #ifndef lint 171de50e9fSSam Leffler static const char rcsid[] _U_ = 18a5779b6eSRui Paulo "@(#) $Header: /tcpdump/master/tcpdump/nlpid.c,v 1.4 2004-10-19 15:27:55 hannes Exp $ (LBL)"; 191de50e9fSSam Leffler #endif 201de50e9fSSam Leffler 211de50e9fSSam Leffler #ifdef HAVE_CONFIG_H 221de50e9fSSam Leffler #include "config.h" 231de50e9fSSam Leffler #endif 241de50e9fSSam Leffler 251de50e9fSSam Leffler #include <tcpdump-stdinc.h> 261de50e9fSSam Leffler #include "interface.h" 271de50e9fSSam Leffler #include "nlpid.h" 281de50e9fSSam Leffler 2927df3f5dSRui Paulo const struct tok nlpid_values[] = { 301de50e9fSSam Leffler { NLPID_NULLNS, "NULL" }, 311de50e9fSSam Leffler { NLPID_Q933, "Q.933" }, 321de50e9fSSam Leffler { NLPID_LMI, "LMI" }, 331de50e9fSSam Leffler { NLPID_SNAP, "SNAP" }, 341de50e9fSSam Leffler { NLPID_CLNP, "CLNP" }, 351de50e9fSSam Leffler { NLPID_ESIS, "ES-IS" }, 361de50e9fSSam Leffler { NLPID_ISIS, "IS-IS" }, 371de50e9fSSam Leffler { NLPID_CONS, "CONS" }, 381de50e9fSSam Leffler { NLPID_IDRP, "IDRP" }, 39*d03c0883SXin LI { NLPID_SPB, "ISIS_SPB" }, 401de50e9fSSam Leffler { NLPID_MFR, "FRF.15" }, 411de50e9fSSam Leffler { NLPID_IP, "IPv4" }, 421de50e9fSSam Leffler { NLPID_PPP, "PPP" }, 431de50e9fSSam Leffler { NLPID_X25_ESIS, "X25 ES-IS" }, 441de50e9fSSam Leffler { NLPID_IP6, "IPv6" }, 451de50e9fSSam Leffler { 0, NULL } 461de50e9fSSam Leffler }; 47