2000-01-30 00:45:58 +00:00
|
|
|
/*
|
2004-03-31 09:17:26 +00:00
|
|
|
* Marko Kiiskila carnil@cs.tut.fi
|
|
|
|
*
|
2000-01-30 00:45:58 +00:00
|
|
|
* Tampere University of Technology - Telecommunications Laboratory
|
|
|
|
*
|
|
|
|
* Permission to use, copy, modify and distribute this
|
|
|
|
* software and its documentation is hereby granted,
|
|
|
|
* provided that both the copyright notice and this
|
|
|
|
* permission notice appear in all copies of the software,
|
|
|
|
* derivative works or modified versions, and any portions
|
|
|
|
* thereof, that both notices appear in supporting
|
|
|
|
* documentation, and that the use of this software is
|
|
|
|
* acknowledged in any publications resulting from using
|
|
|
|
* the software.
|
2004-03-31 09:17:26 +00:00
|
|
|
*
|
2000-01-30 00:45:58 +00:00
|
|
|
* TUT ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
|
|
|
* CONDITION AND DISCLAIMS ANY LIABILITY OF ANY KIND FOR
|
|
|
|
* ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS
|
|
|
|
* SOFTWARE.
|
2004-03-31 09:17:26 +00:00
|
|
|
*
|
2000-01-30 00:45:58 +00:00
|
|
|
*/
|
|
|
|
|
2004-03-31 09:17:26 +00:00
|
|
|
/* $Id: lane.h,v 1.7 2002/12/11 07:13:54 guy Exp $ */
|
2000-01-30 00:45:58 +00:00
|
|
|
|
|
|
|
#ifndef ETHER_ADDR_LEN
|
|
|
|
#define ETHER_ADDR_LEN 6
|
|
|
|
#endif
|
|
|
|
|
|
|
|
struct lecdatahdr_8023 {
|
2001-04-03 07:45:48 +00:00
|
|
|
u_int16_t le_header;
|
|
|
|
u_int8_t h_dest[ETHER_ADDR_LEN];
|
|
|
|
u_int8_t h_source[ETHER_ADDR_LEN];
|
|
|
|
u_int16_t h_type;
|
2000-01-30 00:45:58 +00:00
|
|
|
};
|
2004-03-31 09:17:26 +00:00
|
|
|
|
|
|
|
struct lane_controlhdr {
|
|
|
|
u_int16_t lec_header;
|
|
|
|
u_int8_t lec_proto;
|
|
|
|
u_int8_t lec_vers;
|
|
|
|
u_int16_t lec_opcode;
|
|
|
|
};
|