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 public (it is for coming PF int...



details:   https://anonhg.NetBSD.org/src/rev/7303db85ff09
branches:  trunk
changeset: 550729:7303db85ff09
user:      itojun <itojun%NetBSD.org@localhost>
date:      Tue Aug 19 01:20:03 2003 +0000

description:
make ip_fragment public (it is for coming PF integration)

diffstat:

 sys/netinet/ip_output.c |  7 +++----
 sys/netinet/ip_var.h    |  3 ++-
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (52 lines):

diff -r 325d19329deb -r 7303db85ff09 sys/netinet/ip_output.c
--- a/sys/netinet/ip_output.c   Tue Aug 19 01:13:25 2003 +0000
+++ b/sys/netinet/ip_output.c   Tue Aug 19 01:20:03 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_output.c,v 1.112 2003/08/19 00:54:41 christos Exp $ */
+/*     $NetBSD: ip_output.c,v 1.113 2003/08/19 01:20:03 itojun 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.112 2003/08/19 00:54:41 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_output.c,v 1.113 2003/08/19 01:20:03 itojun Exp $");
 
 #include "opt_pfil_hooks.h"
 #include "opt_ipsec.h"
@@ -147,7 +147,6 @@
 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 */
@@ -853,7 +852,7 @@
        goto done;
 }
 
-static int
+int
 ip_fragment(struct mbuf *m, struct ifnet *ifp, u_long mtu)
 {
        struct ip *ip, *mhip;
diff -r 325d19329deb -r 7303db85ff09 sys/netinet/ip_var.h
--- a/sys/netinet/ip_var.h      Tue Aug 19 01:13:25 2003 +0000
+++ b/sys/netinet/ip_var.h      Tue Aug 19 01:20:03 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_var.h,v 1.57 2003/08/07 16:33:14 agc Exp $  */
+/*     $NetBSD: ip_var.h,v 1.58 2003/08/19 01:20:03 itojun Exp $       */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -225,6 +225,7 @@
 int     ip_optcopy __P((struct ip *, struct ip *));
 u_int   ip_optlen __P((struct inpcb *));
 int     ip_output __P((struct mbuf *, ...));
+int     ip_fragment(struct mbuf *, struct ifnet *, u_long);
 int     ip_pcbopts __P((struct mbuf **, struct mbuf *));
 struct mbuf *
         ip_reass __P((struct ipqent *, struct ipq *));



Home | Main Index | Thread Index | Old Index