Source-Changes-HG archive

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

[src/trunk]: src/sys/netinet6 make ip6_getpmtu back to static



details:   https://anonhg.NetBSD.org/src/rev/c15ce2e7cc39
branches:  trunk
changeset: 574435:c15ce2e7cc39
user:      itojun <itojun%NetBSD.org@localhost>
date:      Mon Feb 28 09:27:07 2005 +0000

description:
make ip6_getpmtu back to static

diffstat:

 sys/netinet6/ip6_output.c |  8 +++++---
 sys/netinet6/nd6.h        |  4 +---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 1a8e119f3065 -r c15ce2e7cc39 sys/netinet6/ip6_output.c
--- a/sys/netinet6/ip6_output.c Mon Feb 28 09:26:36 2005 +0000
+++ b/sys/netinet6/ip6_output.c Mon Feb 28 09:27:07 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip6_output.c,v 1.87 2004/12/21 11:37:47 drochner Exp $ */
+/*     $NetBSD: ip6_output.c,v 1.88 2005/02/28 09:27:07 itojun Exp $   */
 /*     $KAME: ip6_output.c,v 1.172 2001/03/25 09:55:56 itojun Exp $    */
 
 /*
@@ -62,7 +62,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip6_output.c,v 1.87 2004/12/21 11:37:47 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_output.c,v 1.88 2005/02/28 09:27:07 itojun Exp $");
 
 #include "opt_inet.h"
 #include "opt_ipsec.h"
@@ -121,6 +121,8 @@
        struct ip6_frag **));
 static int ip6_insert_jumboopt __P((struct ip6_exthdrs *, u_int32_t));
 static int ip6_splithdr __P((struct mbuf *, struct ip6_exthdrs *));
+static int ip6_getpmtu __P((struct route_in6 *, struct route_in6 *,
+       struct ifnet *, struct in6_addr *, u_long *, int *));
 
 /*
  * IP6 output. The packet in mbuf chain m contains a skeletal IP6
@@ -1232,7 +1234,7 @@
        return (0);
 }
 
-int
+static int
 ip6_getpmtu(ro_pmtu, ro, ifp, dst, mtup, alwaysfragp)
        struct route_in6 *ro_pmtu, *ro;
        struct ifnet *ifp;
diff -r 1a8e119f3065 -r c15ce2e7cc39 sys/netinet6/nd6.h
--- a/sys/netinet6/nd6.h        Mon Feb 28 09:26:36 2005 +0000
+++ b/sys/netinet6/nd6.h        Mon Feb 28 09:27:07 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nd6.h,v 1.38 2004/03/23 18:21:38 martti Exp $  */
+/*     $NetBSD: nd6.h,v 1.39 2005/02/28 09:27:07 itojun Exp $  */
 /*     $KAME: nd6.h,v 1.95 2002/06/08 11:31:06 itojun Exp $    */
 
 /*
@@ -380,8 +380,6 @@
        struct sockaddr *, u_char *));
 int nd6_sysctl __P((int, void *, size_t *, void *, size_t));
 int nd6_need_cache __P((struct ifnet *));
-int ip6_getpmtu __P((struct route_in6 *, struct route_in6 *, struct ifnet *,
-       struct in6_addr *, u_long *, int *));
 
 /* nd6_nbr.c */
 void nd6_na_input __P((struct mbuf *, int, int));



Home | Main Index | Thread Index | Old Index