Subject: Re: Layer-2 socket proposal
To: None <tech-net@netbsd.org>
From: Christian E. Hopps <chopps@merit.edu>
List: tech-net
Date: 12/28/1999 02:27:32
chopps@merit.edu (Christian E. Hopps) writes:
> LAYER-2 SOCKETS KERNEL INTERFACE:
> ---------------------------------
[...]
> Further, the only use of media type is for collapsing the 5 arguments
> that would otherwise have to be passed to l2_input(). If people really
> dislike the media type stuff we can put these values in the call to
> l2_input().
Sometimes one can miss the obvious. :)
I've removed the l2_register() stuff. The callers of l2_input() now
define as many l2_frame_info structs containing the same info passed to
l2_register as they need. They then pass a pointer to that to
l2_input().
Thanks,
Chris.