Change the kernel dev_t, representing a pointer to a specinfo structure,
[dragonfly.git] / contrib / tcpdump-3.8.3 / lane.h
1 /*
2  * Marko Kiiskila carnil@cs.tut.fi
3  *
4  * Tampere University of Technology - Telecommunications Laboratory
5  *
6  * Permission to use, copy, modify and distribute this
7  * software and its documentation is hereby granted,
8  * provided that both the copyright notice and this
9  * permission notice appear in all copies of the software,
10  * derivative works or modified versions, and any portions
11  * thereof, that both notices appear in supporting
12  * documentation, and that the use of this software is
13  * acknowledged in any publications resulting from using
14  * the software.
15  *
16  * TUT ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
17  * CONDITION AND DISCLAIMS ANY LIABILITY OF ANY KIND FOR
18  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS
19  * SOFTWARE.
20  *
21  */
22
23 /* $Id: lane.h,v 1.7 2002/12/11 07:13:54 guy Exp $ */
24
25 #ifndef ETHER_ADDR_LEN
26 #define ETHER_ADDR_LEN 6
27 #endif
28
29 struct lecdatahdr_8023 {
30   u_int16_t le_header;
31   u_int8_t h_dest[ETHER_ADDR_LEN];
32   u_int8_t h_source[ETHER_ADDR_LEN];
33   u_int16_t h_type;
34 };
35
36 struct lane_controlhdr {
37   u_int16_t lec_header;
38   u_int8_t lec_proto;
39   u_int8_t lec_vers;
40   u_int16_t lec_opcode;
41 };