Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2012 21:44:33 -0400
From:      George Neville-Neil <gnn@neville-neil.com>
To:        net@freebsd.org
Cc:        "Bjoern A. Zeeb" <bz@FreeBSD.org>
Subject:   Question about fixing udp6_input...
Message-ID:  <280454D9-E233-4010-8810-588296FA19D1@neville-neil.com>

next in thread | raw e-mail | index | archive | help
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() ?

Best,
George




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?280454D9-E233-4010-8810-588296FA19D1>