Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/netinet make ip_fragment static and add prototype.



details:   https://anonhg.NetBSD.org/src/rev/a79a01ac25f2
branches:  trunk
changeset: 550727:a79a01ac25f2
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Aug 19 00:54:41 2003 +0000

description:
make ip_fragment static and add prototype.

diffstat:

 sys/netinet/ip_output.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (35 lines):

diff -r ff2e846000cb -r a79a01ac25f2 sys/netinet/ip_output.c
--- a/sys/netinet/ip_output.c   Tue Aug 19 00:17:38 2003 +0000
+++ b/sys/netinet/ip_output.c   Tue Aug 19 00:54:41 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_output.c,v 1.111 2003/08/19 00:17:38 itojun Exp $   */
+/*     $NetBSD: ip_output.c,v 1.112 2003/08/19 00:54:41 christos Exp $ */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -98,7 +98,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.111 2003/08/19 00:17:38 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.112 2003/08/19 00:54:41 christos Exp $");
 
 #include "opt_pfil_hooks.h"
 #include "opt_ipsec.h"
@@ -147,6 +147,7 @@
 static struct ifnet *ip_multicast_if __P((struct in_addr *, int *));
 static void ip_mloopback
        __P((struct ifnet *, struct mbuf *, struct sockaddr_in *));
+static int ip_fragment __P((struct mbuf *, struct ifnet *, u_long));
 
 #ifdef PFIL_HOOKS
 extern struct pfil_head inet_pfil_hook;                        /* XXX */
@@ -852,7 +853,7 @@
        goto done;
 }
 
-int
+static int
 ip_fragment(struct mbuf *m, struct ifnet *ifp, u_long mtu)
 {
        struct ip *ip, *mhip;



Home | Main Index | Thread Index | Old Index