xref: /freebsd/contrib/tcpdump/chdlc.h (revision ee67461e56828dd1f8de165947ba83f6d9148a87)
1685295f4SBill Fenner /*
2685295f4SBill Fenner  * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997
3685295f4SBill Fenner  *	The Regents of the University of California.  All rights reserved.
4685295f4SBill Fenner  *
5685295f4SBill Fenner  * Redistribution and use in source and binary forms, with or without
6685295f4SBill Fenner  * modification, are permitted provided that: (1) source code distributions
7685295f4SBill Fenner  * retain the above copyright notice and this paragraph in its entirety, (2)
8685295f4SBill Fenner  * distributions including binary code include the above copyright notice and
9685295f4SBill Fenner  * this paragraph in its entirety in the documentation or other materials
10685295f4SBill Fenner  * provided with the distribution, and (3) all advertising materials mentioning
11685295f4SBill Fenner  * features or use of this software display the following acknowledgement:
12685295f4SBill Fenner  * ``This product includes software developed by the University of California,
13685295f4SBill Fenner  * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
14685295f4SBill Fenner  * the University nor the names of its contributors may be used to endorse
15685295f4SBill Fenner  * or promote products derived from this software without specific prior
16685295f4SBill Fenner  * written permission.
17685295f4SBill Fenner  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
18685295f4SBill Fenner  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
19685295f4SBill Fenner  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20685295f4SBill Fenner  */
21685295f4SBill Fenner 
22685295f4SBill Fenner #define CHDLC_HDRLEN		4
23685295f4SBill Fenner #define CHDLC_UNICAST		0x0f
24685295f4SBill Fenner #define CHDLC_BCAST		0x8f
25685295f4SBill Fenner #define CHDLC_TYPE_SLARP	0x8035
26685295f4SBill Fenner #define CHDLC_TYPE_CDP		0x2000
27