xref: /dflybsd-src/contrib/tcpdump/nlpid.c (revision 59c07fbdf8168fa08c76c515186d561b5a92690c)
141c99275SPeter Avalos /*
241c99275SPeter Avalos  * Redistribution and use in source and binary forms, with or without
341c99275SPeter Avalos  * modification, are permitted provided that: (1) source code
441c99275SPeter Avalos  * distributions retain the above copyright notice and this paragraph
541c99275SPeter Avalos  * in its entirety, and (2) distributions including binary code include
641c99275SPeter Avalos  * the above copyright notice and this paragraph in its entirety in
741c99275SPeter Avalos  * the documentation or other materials provided with the distribution.
841c99275SPeter Avalos  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
941c99275SPeter Avalos  * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
1041c99275SPeter Avalos  * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
1141c99275SPeter Avalos  * FOR A PARTICULAR PURPOSE.
1241c99275SPeter Avalos  *
13411677aeSAaron LI  * Original code by Hannes Gredler (hannes@gredler.at)
1441c99275SPeter Avalos  */
1541c99275SPeter Avalos 
1641c99275SPeter Avalos #ifdef HAVE_CONFIG_H
17*ed775ee7SAntonio Huete Jimenez #include <config.h>
1841c99275SPeter Avalos #endif
1941c99275SPeter Avalos 
20*ed775ee7SAntonio Huete Jimenez #include "netdissect-stdinc.h"
21411677aeSAaron LI #include "netdissect.h"
2241c99275SPeter Avalos #include "nlpid.h"
2341c99275SPeter Avalos 
2427bfbee1SPeter Avalos const struct tok nlpid_values[] = {
2541c99275SPeter Avalos     { NLPID_NULLNS, "NULL" },
2641c99275SPeter Avalos     { NLPID_Q933, "Q.933" },
2741c99275SPeter Avalos     { NLPID_LMI, "LMI" },
2841c99275SPeter Avalos     { NLPID_SNAP, "SNAP" },
2941c99275SPeter Avalos     { NLPID_CLNP, "CLNP" },
3041c99275SPeter Avalos     { NLPID_ESIS, "ES-IS" },
3141c99275SPeter Avalos     { NLPID_ISIS, "IS-IS" },
3241c99275SPeter Avalos     { NLPID_CONS, "CONS" },
3341c99275SPeter Avalos     { NLPID_IDRP, "IDRP" },
34411677aeSAaron LI     { NLPID_SPB, "ISIS_SPB" },
3541c99275SPeter Avalos     { NLPID_MFR, "FRF.15" },
3641c99275SPeter Avalos     { NLPID_IP, "IPv4" },
3741c99275SPeter Avalos     { NLPID_PPP, "PPP" },
3841c99275SPeter Avalos     { NLPID_X25_ESIS, "X25 ES-IS" },
3941c99275SPeter Avalos     { NLPID_IP6, "IPv6" },
4041c99275SPeter Avalos     { 0, NULL }
4141c99275SPeter Avalos };
42