blob: a3a6905481c9d3e4d42a3e026664da3c4a77605d [file] [log] [blame]
Elliott Hughes892a68b2015-10-19 14:43:53 -07001/*
The Android Open Source Project2949f582009-03-03 19:30:46 -08002 * Redistribution and use in source and binary forms, with or without
3 * modification, are permitted provided that: (1) source code
4 * distributions retain the above copyright notice and this paragraph
5 * in its entirety, and (2) distributions including binary code include
6 * the above copyright notice and this paragraph in its entirety in
7 * the documentation or other materials provided with the distribution.
8 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
9 * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
10 * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
11 * FOR A PARTICULAR PURPOSE.
12 *
Elliott Hughescec480a2017-12-19 16:54:57 -080013 * Original code by Hannes Gredler (hannes@gredler.at)
The Android Open Source Project2949f582009-03-03 19:30:46 -080014 */
15
JP Abgrall53f17a92014-02-12 14:02:41 -080016extern const struct tok nlpid_values[];
The Android Open Source Project2949f582009-03-03 19:30:46 -080017
JP Abgrall53f17a92014-02-12 14:02:41 -080018#define NLPID_NULLNS 0x00
The Android Open Source Project2949f582009-03-03 19:30:46 -080019#define NLPID_Q933 0x08 /* ANSI T1.617 Annex D or ITU-T Q.933 Annex A */
20#define NLPID_LMI 0x09 /* The original, aka Cisco, aka Gang of Four */
21#define NLPID_SNAP 0x80
JP Abgrall53f17a92014-02-12 14:02:41 -080022#define NLPID_CLNP 0x81 /* iso9577 */
23#define NLPID_ESIS 0x82 /* iso9577 */
24#define NLPID_ISIS 0x83 /* iso9577 */
The Android Open Source Project2949f582009-03-03 19:30:46 -080025#define NLPID_CONS 0x84
26#define NLPID_IDRP 0x85
27#define NLPID_MFR 0xb1 /* FRF.15 */
JP Abgrall53f17a92014-02-12 14:02:41 -080028#define NLPID_SPB 0xc1 /* IEEE 802.1aq/D4.5 */
The Android Open Source Project2949f582009-03-03 19:30:46 -080029#define NLPID_IP 0xcc
30#define NLPID_PPP 0xcf
31#define NLPID_X25_ESIS 0x8a
32#define NLPID_IP6 0x8e