X-Git-Url: https://git.tcpdump.org/libpcap/blobdiff_plain/af30d75a3ece28ef91c77bc1fc3ef658cb8aa69b..09b51d326c38ea8e10ce4da09c09d50e08c5aeb8:/nlpid.h diff --git a/nlpid.h b/nlpid.h index 87ee3810..9dfa752b 100644 --- a/nlpid.h +++ b/nlpid.h @@ -14,8 +14,6 @@ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. - * - * @(#) $Header: /tcpdump/master/libpcap/nlpid.h,v 1.1 2000-10-28 09:30:22 guy Exp $ (Juniper) */ /* Types missing from some systems */ @@ -35,6 +33,21 @@ #ifndef ISO10589_ISIS #define ISO10589_ISIS 0x83 #endif +/* + * this does not really belong in the nlpid.h file + * however we need it for generating nice + * IS-IS related BPF filters + */ +#define ISIS_L1_LAN_IIH 15 +#define ISIS_L2_LAN_IIH 16 +#define ISIS_PTP_IIH 17 +#define ISIS_L1_LSP 18 +#define ISIS_L2_LSP 20 +#define ISIS_L1_CSNP 24 +#define ISIS_L2_CSNP 25 +#define ISIS_L1_PSNP 26 +#define ISIS_L2_PSNP 27 + #ifndef ISO8878A_CONS #define ISO8878A_CONS 0x84 #endif