Question about fixing udp6_input...
Bjoern A. Zeeb
bz at FreeBSD.org
Fri Apr 20 06:29:59 UTC 2012
On 20. Apr 2012, at 01:44 , George Neville-Neil wrote:
> Howdy,
>
> At the moment the prototype for udp6_input() is the following:
>
> int
> udp6_input(struct mbuf **mp, int *offp, int proto)
>
> and udp_input() looks like this:
>
> void
> udp_input(struct mbuf *m, int off)
>
> As far as I can tell we immediately change **mp to *m and *offp to off
> in udp6_input() and we also never use proto in the rest of the function.
>
> Is there any reason to not make udp6_input() look exactly like udp_input() ?
I think the answer to this is here:
http://wiki.freebsd.org/IPv6TODO#Remove_ip6protosw
--
Bjoern A. Zeeb You have to have visions!
It does not matter how good you are. It matters what good you do!
More information about the freebsd-net
mailing list