If PCI_MAP_FIXUP is defined, we can no longer do the reallocation magic;
[dragonfly/port-amd64.git] / contrib / tcpdump-3.9 / lane.h
blob51b6e19c93925b70fa227083f5808929785e5481
1 /*
2 * Marko Kiiskila carnil@cs.tut.fi
4 * Tampere University of Technology - Telecommunications Laboratory
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.
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.
23 /* $Id: lane.h,v 1.7 2002/12/11 07:13:54 guy Exp $ */
25 #ifndef ETHER_ADDR_LEN
26 #define ETHER_ADDR_LEN 6
27 #endif
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;
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;