xref: /netbsd-src/external/bsd/tcpdump/dist/chdlc.h (revision d881c4745d72e49290b2df21fa0730ed970a047e)
1*0f74e101Schristos /*
2*0f74e101Schristos  * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997
3*0f74e101Schristos  *	The Regents of the University of California.  All rights reserved.
4*0f74e101Schristos  *
5*0f74e101Schristos  * Redistribution and use in source and binary forms, with or without
6*0f74e101Schristos  * modification, are permitted provided that: (1) source code distributions
7*0f74e101Schristos  * retain the above copyright notice and this paragraph in its entirety, (2)
8*0f74e101Schristos  * distributions including binary code include the above copyright notice and
9*0f74e101Schristos  * this paragraph in its entirety in the documentation or other materials
10*0f74e101Schristos  * provided with the distribution, and (3) all advertising materials mentioning
11*0f74e101Schristos  * features or use of this software display the following acknowledgement:
12*0f74e101Schristos  * ``This product includes software developed by the University of California,
13*0f74e101Schristos  * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
14*0f74e101Schristos  * the University nor the names of its contributors may be used to endorse
15*0f74e101Schristos  * or promote products derived from this software without specific prior
16*0f74e101Schristos  * written permission.
17*0f74e101Schristos  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
18*0f74e101Schristos  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
19*0f74e101Schristos  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20*0f74e101Schristos  */
21*0f74e101Schristos 
22*0f74e101Schristos #define CHDLC_HDRLEN		4
23*0f74e101Schristos #define CHDLC_UNICAST		0x0f
24*0f74e101Schristos #define CHDLC_BCAST		0x8f
25*0f74e101Schristos #define CHDLC_TYPE_SLARP	0x8035
26*0f74e101Schristos #define CHDLC_TYPE_CDP		0x2000
27