nlpid.h revision 127667
117749Spst/*
217749Spst * Copyright (c) 1996
317749Spst *	Juniper Networks, Inc.  All rights reserved.
417749Spst *
517749Spst * Redistribution and use in source and binary forms, with or without
617749Spst * modification, are permitted provided that: (1) source code distributions
717749Spst * retain the above copyright notice and this paragraph in its entirety, (2)
817749Spst * distributions including binary code include the above copyright notice and
917749Spst * this paragraph in its entirety in the documentation or other materials
1017749Spst * provided with the distribution.  The name of Juniper Networks may not
1117749Spst * be used to endorse or promote products derived from this software
1217749Spst * without specific prior written permission.
1317749Spst *
1417749Spst * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
1517749Spst * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
1617749Spst * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1717749Spst *
1875110Sfenner * $FreeBSD: head/contrib/libpcap/nlpid.h 127667 2004-03-31 09:15:09Z bms $
19127667Sbms * @(#) $Header: /tcpdump/master/libpcap/nlpid.h,v 1.2 2002/12/06 00:01:34 hannes Exp $ (Juniper)
2017749Spst */
2117749Spst
2217749Spst/* Types missing from some systems */
2317749Spst
2417749Spst/*
2517749Spst * Network layer prototocol identifiers
2617749Spst */
2717749Spst#ifndef ISO8473_CLNP
2817749Spst#define ISO8473_CLNP		0x81
2917749Spst#endif
3017749Spst#ifndef	ISO9542_ESIS
3117749Spst#define	ISO9542_ESIS		0x82
3217749Spst#endif
3317749Spst#ifndef ISO9542X25_ESIS
3417749Spst#define ISO9542X25_ESIS		0x8a
3517749Spst#endif
3617749Spst#ifndef	ISO10589_ISIS
3717749Spst#define	ISO10589_ISIS		0x83
3817749Spst#endif
39127667Sbms/*
40127667Sbms * this does not really belong in the nlpid.h file
41127667Sbms * however we need it for generating nice
42127667Sbms * IS-IS related BPF filters
43127667Sbms */
44127667Sbms#define ISIS_L1_LAN_IIH      15
45127667Sbms#define ISIS_L2_LAN_IIH      16
46127667Sbms#define ISIS_PTP_IIH         17
47127667Sbms#define ISIS_L1_LSP          18
48127667Sbms#define ISIS_L2_LSP          20
49127667Sbms#define ISIS_L1_CSNP         24
50127667Sbms#define ISIS_L2_CSNP         25
51127667Sbms#define ISIS_L1_PSNP         26
52127667Sbms#define ISIS_L2_PSNP         27
53127667Sbms
5417749Spst#ifndef ISO8878A_CONS
5517749Spst#define	ISO8878A_CONS		0x84
5617749Spst#endif
5717749Spst#ifndef	ISO10747_IDRP
5817749Spst#define	ISO10747_IDRP		0x85
5917749Spst#endif
60