Coverage Report

Created: 2024-01-23 06:27

/src/libpcap/nlpid.h
Line
Count
Source
1
/*
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
 */
18
19
/* Types missing from some systems */
20
21
/*
22
 * Network layer prototocol identifiers
23
 */
24
#ifndef ISO8473_CLNP
25
1
#define ISO8473_CLNP    0x81
26
#endif
27
#ifndef ISO9542_ESIS
28
1
#define ISO9542_ESIS    0x82
29
#endif
30
#ifndef ISO9542X25_ESIS
31
#define ISO9542X25_ESIS   0x8a
32
#endif
33
#ifndef ISO10589_ISIS
34
356k
#define ISO10589_ISIS   0x83
35
#endif
36
/*
37
 * this does not really belong in the nlpid.h file
38
 * however we need it for generating nice
39
 * IS-IS related BPF filters
40
 */
41
33.2k
#define ISIS_L1_LAN_IIH      15
42
38.6k
#define ISIS_L2_LAN_IIH      16
43
71.7k
#define ISIS_PTP_IIH         17
44
33.1k
#define ISIS_L1_LSP          18
45
38.5k
#define ISIS_L2_LSP          20
46
33.1k
#define ISIS_L1_CSNP         24
47
38.5k
#define ISIS_L2_CSNP         25
48
33.1k
#define ISIS_L1_PSNP         26
49
38.5k
#define ISIS_L2_PSNP         27
50
51
#ifndef ISO8878A_CONS
52
#define ISO8878A_CONS   0x84
53
#endif
54
#ifndef ISO10747_IDRP
55
#define ISO10747_IDRP   0x85
56
#endif