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() externally visible
details: https://anonhg.NetBSD.org/src/rev/2a0d72c4b0a0
branches: trunk
changeset: 557980:2a0d72c4b0a0
user: darrenr <darrenr%NetBSD.org@localhost>
date: Sat Jan 24 13:02:41 2004 +0000
description:
make ip6_getpmtu() externally visible
diffstat:
sys/netinet6/ip6_output.c | 8 +++-----
sys/netinet6/nd6.h | 4 +++-
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r ac4b298791b4 -r 2a0d72c4b0a0 sys/netinet6/ip6_output.c
--- a/sys/netinet6/ip6_output.c Sat Jan 24 09:53:54 2004 +0000
+++ b/sys/netinet6/ip6_output.c Sat Jan 24 13:02:41 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip6_output.c,v 1.76 2004/01/19 05:14:58 itojun Exp $ */
+/* $NetBSD: ip6_output.c,v 1.77 2004/01/24 13:02:41 darrenr 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.76 2004/01/19 05:14:58 itojun Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_output.c,v 1.77 2004/01/24 13:02:41 darrenr Exp $");
#include "opt_inet.h"
#include "opt_ipsec.h"
@@ -122,8 +122,6 @@
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 *));
extern struct ifnet loif[NLOOP];
@@ -1167,7 +1165,7 @@
return (0);
}
-static int
+int
ip6_getpmtu(ro_pmtu, ro, ifp, dst, mtup)
struct route_in6 *ro_pmtu, *ro;
struct ifnet *ifp;
diff -r ac4b298791b4 -r 2a0d72c4b0a0 sys/netinet6/nd6.h
--- a/sys/netinet6/nd6.h Sat Jan 24 09:53:54 2004 +0000
+++ b/sys/netinet6/nd6.h Sat Jan 24 13:02:41 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nd6.h,v 1.35 2003/06/27 08:41:08 itojun Exp $ */
+/* $NetBSD: nd6.h,v 1.36 2004/01/24 13:02:41 darrenr Exp $ */
/* $KAME: nd6.h,v 1.95 2002/06/08 11:31:06 itojun Exp $ */
/*
@@ -380,6 +380,8 @@
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 *));
/* nd6_nbr.c */
void nd6_na_input __P((struct mbuf *, int, int));
Home |
Main Index |
Thread Index |
Old Index