X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/77b2a4405561467f66a3dfb0f8ce2b0eaa5ebaf9..f243e70b91b9a25a4cda052f37f48fb5aa49bf39:/lane.h diff --git a/lane.h b/lane.h index 19431bed..1a390d30 100644 --- a/lane.h +++ b/lane.h @@ -20,15 +20,15 @@ * */ -/* $Id: lane.h,v 1.1 1999-11-21 03:52:11 assar Exp $ */ +/* $Id: lane.h,v 1.3 2000-10-03 02:54:56 itojun Exp $ */ #ifndef ETHER_ADDR_LEN -#define ETHER_ADDR_LEN ETH_ALEN +#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; };