diff options
author | bms <bms@FreeBSD.org> | 2007-02-24 11:38:47 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2007-02-24 11:38:47 +0000 |
commit | 3e83ac665326a6a015b2179fc28157d9fb7433e2 (patch) | |
tree | 6230b66dd7bf83f11724dee78961a7c0020c9d31 /sys/netinet6/ip6_var.h | |
parent | c553ec0508d385c07a87aed036312de1e3a64b03 (diff) | |
download | FreeBSD-src-3e83ac665326a6a015b2179fc28157d9fb7433e2.zip FreeBSD-src-3e83ac665326a6a015b2179fc28157d9fb7433e2.tar.gz |
Make IPv6 multicast forwarding dynamically loadable from a GENERIC kernel.
It is built in the same module as IPv4 multicast forwarding, i.e. ip_mroute.ko,
if and only if IPv6 support is enabled for loadable modules.
Export IPv6 forwarding structs to userland netstat(1) via sysctl(9).
Diffstat (limited to 'sys/netinet6/ip6_var.h')
-rw-r--r-- | sys/netinet6/ip6_var.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet6/ip6_var.h b/sys/netinet6/ip6_var.h index a0dfec3..91b444b 100644 --- a/sys/netinet6/ip6_var.h +++ b/sys/netinet6/ip6_var.h @@ -353,7 +353,9 @@ struct ip6aux *ip6_addaux __P((struct mbuf *)); struct ip6aux *ip6_findaux __P((struct mbuf *)); void ip6_delaux __P((struct mbuf *)); -int ip6_mforward __P((struct ip6_hdr *, struct ifnet *, struct mbuf *)); +extern int (*ip6_mforward)(struct ip6_hdr *, struct ifnet *, + struct mbuf *); + int ip6_process_hopopts __P((struct mbuf *, u_int8_t *, int, u_int32_t *, u_int32_t *)); void ip6_savecontrol __P((struct inpcb *, struct mbuf *, struct mbuf **)); |