Subject: Re: Implementing per protosw pfil hooks.
To: Darren Reed <email@example.com>
From: None <firstname.lastname@example.org>
Date: 12/11/1999 13:05:00
>> >> please notice that sys/netinet6 uses sys/netinet6/ip6protosw.h.
>> >hmmm...is struct ip6protosw any different to protosw besides
>> >pr_ctlinput and pr_ctloutput ? Maybe these functions should
>> >now be using stdarg (as do pr_input/pr_output) so that ip6protosw
>> >can be eliminated ?
>> we can't. return value is different.
>void (protosw) vs int (ip6protosw)
>Maybe the older ipv4 functions should be upgraded to return int then ?
sys/netinet6 uses very different model from normal *BSD on
onion-peeling, that is the reason for the difference in type.
(sys/netinet6/IMPLEMENTATION, 1.8 or somewhere near 1.8)
i prefer to leave them separate.