summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/netinet
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-05-24 04:25:19 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-05-24 04:25:19 +0000
commit23bf0865963e6fbe9ab48659db8359a11c64a827 (patch)
tree829566b9c44519cd69296ea5a8193af44e111181 /cpukit/libnetworking/netinet
parentRemove BYTE_PACK. (diff)
downloadrtems-23bf0865963e6fbe9ab48659db8359a11c64a827.tar.bz2
Cosmetics from FreeBSD.
Diffstat (limited to 'cpukit/libnetworking/netinet')
-rw-r--r--cpukit/libnetworking/netinet/ip_divert.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/cpukit/libnetworking/netinet/ip_divert.c b/cpukit/libnetworking/netinet/ip_divert.c
index 2955e811ad..03ee0247ef 100644
--- a/cpukit/libnetworking/netinet/ip_divert.c
+++ b/cpukit/libnetworking/netinet/ip_divert.c
@@ -10,10 +10,6 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@@ -30,6 +26,10 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
+ * $FreeBSD: src/sys/netinet/ip_divert.c,v 1.113 2005/05/13 11:44:37 glebius Exp $
+ *
+
+/*
* $Id$
*/
@@ -80,8 +80,7 @@ u_short ip_divert_port;
*/
u_short ip_divert_ignore;
-/* Internal variables */
-
+/* Internal variables. */
static struct inpcbhead divcb;
static struct inpcbinfo divcbinfo;
@@ -203,10 +202,8 @@ div_input(struct mbuf *m, int hlen)
* back to this socket; otherwise, don't.
*/
static int
-div_output(so, m, addr, control)
- struct socket *so;
- register struct mbuf *m;
- struct mbuf *addr, *control;
+div_output(struct socket *so, struct mbuf *m,
+ struct mbuf *addr, struct mbuf *control)
{
register struct inpcb *const inp = sotoinpcb(so);
register struct ip *const ip = mtod(m, struct ip *);