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>
21 static const char rcsid
[] _U_
=
22 "@(#) Header: /tcpdump/master/tcpdump/nlpid.c,v 1.4 2004/10/19 15:27:55 hannes Exp (LBL)";
24 __RCSID("$NetBSD: tcpdump2rcsid.ex,v 1.1 2001/06/25 20:09:58 itojun Exp $");
32 #include <tcpdump-stdinc.h>
33 #include "interface.h"
36 struct tok nlpid_values
[] = {
37 { NLPID_NULLNS
, "NULL" },
38 { NLPID_Q933
, "Q.933" },
40 { NLPID_SNAP
, "SNAP" },
41 { NLPID_CLNP
, "CLNP" },
42 { NLPID_ESIS
, "ES-IS" },
43 { NLPID_ISIS
, "IS-IS" },
44 { NLPID_CONS
, "CONS" },
45 { NLPID_IDRP
, "IDRP" },
46 { NLPID_MFR
, "FRF.15" },
49 { NLPID_X25_ESIS
, "X25 ES-IS" },
50 { NLPID_IP6
, "IPv6" },