Make ip6_getpmtu() globally visible. This is needed by IPFilter 4.x.
This commit is contained in:
parent
a8c94ef1d3
commit
c3f78782b9
@ -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 @@ static int ip6_insertfraghdr __P((struct mbuf *, struct mbuf *, int,
|
||||
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 @@ ip6_insertfraghdr(m0, m, hlen, frghdrp)
|
||||
return (0);
|
||||
}
|
||||
|
||||
static int
|
||||
int
|
||||
ip6_getpmtu(ro_pmtu, ro, ifp, dst, mtup, alwaysfragp)
|
||||
struct route_in6 *ro_pmtu, *ro;
|
||||
struct ifnet *ifp;
|
||||
|
@ -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 @@ int nd6_storelladdr __P((struct ifnet *, struct rtentry *, struct mbuf *,
|
||||
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));
|
||||
|
Loading…
Reference in New Issue
Block a user