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() globally visible. This is ne...
details: https://anonhg.NetBSD.org/src/rev/af22c25132b4
branches: trunk
changeset: 559769:af22c25132b4
user: martti <martti%NetBSD.org@localhost>
date: Tue Mar 23 18:21:38 2004 +0000
description:
Make ip6_getpmtu() globally visible. This is needed by IPFilter 4.x.
diffstat:
sys/netinet6/ip6_output.c | 8 +++-----
sys/netinet6/nd6.h | 4 +++-
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r cd769a5cf8f7 -r af22c25132b4 sys/netinet6/ip6_output.c
--- a/sys/netinet6/ip6_output.c Tue Mar 23 17:11:35 2004 +0000
+++ b/sys/netinet6/ip6_output.c Tue Mar 23 18:21:38 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip6_output.c,v 1.81 2004/03/02 02:28:28 thorpej Exp $ */
+/* $NetBSD: ip6_output.c,v 1.82 2004/03/23 18:21:38 martti 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.81 2004/03/02 02:28:28 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip6_output.c,v 1.82 2004/03/23 18:21:38 martti Exp $");
#include "opt_inet.h"
#include "opt_ipsec.h"
@@ -123,8 +123,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 *, int *));
extern struct ifnet loif[NLOOP];
@@ -1235,7 +1233,7 @@
return (0);
}
-static int
+int
ip6_getpmtu(ro_pmtu, ro, ifp, dst, mtup, alwaysfragp)
struct route_in6 *ro_pmtu, *ro;
struct ifnet *ifp;
diff -r cd769a5cf8f7 -r af22c25132b4 sys/netinet6/nd6.h
--- a/sys/netinet6/nd6.h Tue Mar 23 17:11:35 2004 +0000
+++ b/sys/netinet6/nd6.h Tue Mar 23 18:21:38 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nd6.h,v 1.37 2004/02/04 10:31:27 tron Exp $ */
+/* $NetBSD: nd6.h,v 1.38 2004/03/23 18:21:38 martti 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 *, int *));
/* nd6_nbr.c */
void nd6_na_input __P((struct mbuf *, int, int));
Home |
Main Index |
Thread Index |
Old Index