blob: 1546fc6ec76dfcb5ebff3d73cef9453bb4010b02 [file] [log] [blame]
JP Abgrall53f17a92014-02-12 14:02:41 -08001/* @(#) $Header: /tcpdump/master/tcpdump/nlpid.h,v 1.4 2004-10-19 15:27:55 hannes Exp $ (LBL) */
The Android Open Source Project2949f582009-03-03 19:30:46 -08002/*
3 * Redistribution and use in source and binary forms, with or without
4 * modification, are permitted provided that: (1) source code
5 * distributions retain the above copyright notice and this paragraph
6 * in its entirety, and (2) distributions including binary code include
7 * the above copyright notice and this paragraph in its entirety in
8 * the documentation or other materials provided with the distribution.
9 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
10 * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
11 * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
12 * FOR A PARTICULAR PURPOSE.
13 *
14 * Original code by Hannes Gredler (hannes@juniper.net)
15 */
16
JP Abgrall53f17a92014-02-12 14:02:41 -080017extern const struct tok nlpid_values[];
The Android Open Source Project2949f582009-03-03 19:30:46 -080018
JP Abgrall53f17a92014-02-12 14:02:41 -080019#define NLPID_NULLNS 0x00
The Android Open Source Project2949f582009-03-03 19:30:46 -080020#define NLPID_Q933 0x08 /* ANSI T1.617 Annex D or ITU-T Q.933 Annex A */
21#define NLPID_LMI 0x09 /* The original, aka Cisco, aka Gang of Four */
22#define NLPID_SNAP 0x80
JP Abgrall53f17a92014-02-12 14:02:41 -080023#define NLPID_CLNP 0x81 /* iso9577 */
24#define NLPID_ESIS 0x82 /* iso9577 */
25#define NLPID_ISIS 0x83 /* iso9577 */
The Android Open Source Project2949f582009-03-03 19:30:46 -080026#define NLPID_CONS 0x84
27#define NLPID_IDRP 0x85
28#define NLPID_MFR 0xb1 /* FRF.15 */
JP Abgrall53f17a92014-02-12 14:02:41 -080029#define NLPID_SPB 0xc1 /* IEEE 802.1aq/D4.5 */
The Android Open Source Project2949f582009-03-03 19:30:46 -080030#define NLPID_IP 0xcc
31#define NLPID_PPP 0xcf
32#define NLPID_X25_ESIS 0x8a
33#define NLPID_IP6 0x8e