1146773Ssam/* 2146773Ssam * Redistribution and use in source and binary forms, with or without 3146773Ssam * modification, are permitted provided that: (1) source code 4146773Ssam * distributions retain the above copyright notice and this paragraph 5146773Ssam * in its entirety, and (2) distributions including binary code include 6146773Ssam * the above copyright notice and this paragraph in its entirety in 7146773Ssam * the documentation or other materials provided with the distribution. 8146773Ssam * THIS SOFTWARE IS PROVIDED ``AS IS'' AND 9146773Ssam * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT 10146773Ssam * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 11146773Ssam * FOR A PARTICULAR PURPOSE. 12146773Ssam * 13146773Ssam * Original code by Hannes Gredler (hannes@juniper.net) 14146773Ssam */ 15146773Ssam 16146773Ssam#ifndef lint 17146773Ssamstatic const char rcsid[] _U_ = 18190207Srpaulo "@(#) $Header: /tcpdump/master/tcpdump/nlpid.c,v 1.4 2004-10-19 15:27:55 hannes Exp $ (LBL)"; 19146773Ssam#endif 20146773Ssam 21146773Ssam#ifdef HAVE_CONFIG_H 22146773Ssam#include "config.h" 23146773Ssam#endif 24146773Ssam 25146773Ssam#include <tcpdump-stdinc.h> 26146773Ssam#include "interface.h" 27146773Ssam#include "nlpid.h" 28146773Ssam 29214478Srpauloconst struct tok nlpid_values[] = { 30146773Ssam { NLPID_NULLNS, "NULL" }, 31146773Ssam { NLPID_Q933, "Q.933" }, 32146773Ssam { NLPID_LMI, "LMI" }, 33146773Ssam { NLPID_SNAP, "SNAP" }, 34146773Ssam { NLPID_CLNP, "CLNP" }, 35146773Ssam { NLPID_ESIS, "ES-IS" }, 36146773Ssam { NLPID_ISIS, "IS-IS" }, 37146773Ssam { NLPID_CONS, "CONS" }, 38146773Ssam { NLPID_IDRP, "IDRP" }, 39252283Sdelphij { NLPID_SPB, "ISIS_SPB" }, 40146773Ssam { NLPID_MFR, "FRF.15" }, 41146773Ssam { NLPID_IP, "IPv4" }, 42146773Ssam { NLPID_PPP, "PPP" }, 43146773Ssam { NLPID_X25_ESIS, "X25 ES-IS" }, 44146773Ssam { NLPID_IP6, "IPv6" }, 45146773Ssam { 0, NULL } 46146773Ssam}; 47