blob: 5327a362b41ce3d657a3ae1f06f5ca3629bbab70 [file] [log] [blame]
The Android Open Source Project478ab6c2009-03-03 19:30:05 -08001/*
2 * Copyright (c) 1996
3 * Juniper Networks, Inc. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that: (1) source code distributions
7 * retain the above copyright notice and this paragraph in its entirety, (2)
8 * distributions including binary code include the above copyright notice and
9 * this paragraph in its entirety in the documentation or other materials
10 * provided with the distribution. The name of Juniper Networks may not
11 * be used to endorse or promote products derived from this software
12 * without specific prior written permission.
13 *
14 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
15 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
16 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17 *
JP Abgrall511eca32014-02-12 13:46:45 -080018 * @(#) $Header: /tcpdump/master/libpcap/nlpid.h,v 1.2 2002-12-06 00:01:34 hannes Exp $ (Juniper)
The Android Open Source Project478ab6c2009-03-03 19:30:05 -080019 */
20
21/* Types missing from some systems */
22
23/*
24 * Network layer prototocol identifiers
25 */
26#ifndef ISO8473_CLNP
27#define ISO8473_CLNP 0x81
28#endif
29#ifndef ISO9542_ESIS
30#define ISO9542_ESIS 0x82
31#endif
32#ifndef ISO9542X25_ESIS
33#define ISO9542X25_ESIS 0x8a
34#endif
35#ifndef ISO10589_ISIS
36#define ISO10589_ISIS 0x83
37#endif
38/*
39 * this does not really belong in the nlpid.h file
40 * however we need it for generating nice
41 * IS-IS related BPF filters
42 */
43#define ISIS_L1_LAN_IIH 15
44#define ISIS_L2_LAN_IIH 16
45#define ISIS_PTP_IIH 17
46#define ISIS_L1_LSP 18
47#define ISIS_L2_LSP 20
48#define ISIS_L1_CSNP 24
49#define ISIS_L2_CSNP 25
50#define ISIS_L1_PSNP 26
51#define ISIS_L2_PSNP 27
52
53#ifndef ISO8878A_CONS
54#define ISO8878A_CONS 0x84
55#endif
56#ifndef ISO10747_IDRP
57#define ISO10747_IDRP 0x85
58#endif