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