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