156893Sfenner/*
2127668Sbms * Marko Kiiskila carnil@cs.tut.fi
3127668Sbms *
456893Sfenner * Tampere University of Technology - Telecommunications Laboratory
556893Sfenner *
656893Sfenner * Permission to use, copy, modify and distribute this
756893Sfenner * software and its documentation is hereby granted,
856893Sfenner * provided that both the copyright notice and this
956893Sfenner * permission notice appear in all copies of the software,
1056893Sfenner * derivative works or modified versions, and any portions
1156893Sfenner * thereof, that both notices appear in supporting
1256893Sfenner * documentation, and that the use of this software is
1356893Sfenner * acknowledged in any publications resulting from using
1456893Sfenner * the software.
15127668Sbms *
1656893Sfenner * TUT ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
1756893Sfenner * CONDITION AND DISCLAIMS ANY LIABILITY OF ANY KIND FOR
1856893Sfenner * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS
1956893Sfenner * SOFTWARE.
20127668Sbms *
2156893Sfenner */
2256893Sfenner
23190207Srpaulo/* $Id: lane.h,v 1.7 2002-12-11 07:13:54 guy Exp $ */
2456893Sfenner
2556893Sfenner#ifndef ETHER_ADDR_LEN
2656893Sfenner#define ETHER_ADDR_LEN 6
2756893Sfenner#endif
2856893Sfenner
2956893Sfennerstruct lecdatahdr_8023 {
3075115Sfenner  u_int16_t le_header;
3175115Sfenner  u_int8_t h_dest[ETHER_ADDR_LEN];
3275115Sfenner  u_int8_t h_source[ETHER_ADDR_LEN];
3375115Sfenner  u_int16_t h_type;
3456893Sfenner};
35127668Sbms
36127668Sbmsstruct lane_controlhdr {
37127668Sbms  u_int16_t lec_header;
38127668Sbms  u_int8_t lec_proto;
39127668Sbms  u_int8_t lec_vers;
40127668Sbms  u_int16_t lec_opcode;
41127668Sbms};
42