X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/4e7b75bf025ef3f13585efb10696327ae5152c43..ffa1470e5c7ff0e50028d085a481dc797b0b51ed:/lane.h diff --git a/lane.h b/lane.h index 51015159..76cc020e 100644 --- a/lane.h +++ b/lane.h @@ -1,6 +1,6 @@ /* - * Marko Kiiskila carnil@cs.tut.fi - * + * Marko Kiiskila carnil@cs.tut.fi + * * Tampere University of Technology - Telecommunications Laboratory * * Permission to use, copy, modify and distribute this @@ -12,23 +12,30 @@ * documentation, and that the use of this software is * acknowledged in any publications resulting from using * the software. - * + * * 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. - * + * */ -/* $Id: lane.h,v 1.2 1999-11-21 16:35:11 assar Exp $ */ +/* $Id: lane.h,v 1.7 2002-12-11 07:13:54 guy Exp $ */ #ifndef ETHER_ADDR_LEN #define ETHER_ADDR_LEN 6 #endif struct lecdatahdr_8023 { - u_short le_header; - u_char h_dest[ETHER_ADDR_LEN]; - u_char h_source[ETHER_ADDR_LEN]; - u_short h_type; + 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; +}; + +struct lane_controlhdr { + u_int16_t lec_header; + u_int8_t lec_proto; + u_int8_t lec_vers; + u_int16_t lec_opcode; };