Subject: if_hdrlen
To: None <tech-net@netbsd.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-net
Date: 03/21/2005 19:14:23
hi,

can anyone explain how if_hdrlen is supposed to be?

	1. on-wire header length
	2. in-core header length (ie. what if_output prepends)
	3. something else

IMO, 2. is reasonable.  (and it's what agr(4) assumes.)
does anyone object if i change vlan(4) to use ETHER_HDR_LEN as if_hdrlen
instead of ETHER_HDR_LEN + sizeof(tag)?

YAMAMOTO Takashi