summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/ip6_var.h
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-05-24 15:20:48 +0000
committerbz <bz@FreeBSD.org>2008-05-24 15:20:48 +0000
commitf3ab94f7b4b8a27fb80347158315e4588b95047b (patch)
treedc7480503f403e2e1d1ab9b9601f47bc330744f3 /sys/netinet6/ip6_var.h
parent0bf5a314d88ca0c5df2f71ef6beb6bc4067223f5 (diff)
downloadFreeBSD-src-f3ab94f7b4b8a27fb80347158315e4588b95047b.zip
FreeBSD-src-f3ab94f7b4b8a27fb80347158315e4588b95047b.tar.gz
Factor out the v4-only vs. the v6-only inp_flags processing in
ip6_savecontrol in preparation for udp_append() to no longer need an WLOCK as we will no longer be modifying socket options. Requested by: rwatson Reviewed by: gnn MFC after: 10 days
Diffstat (limited to 'sys/netinet6/ip6_var.h')
-rw-r--r--sys/netinet6/ip6_var.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet6/ip6_var.h b/sys/netinet6/ip6_var.h
index 65707d6..dd6a384 100644
--- a/sys/netinet6/ip6_var.h
+++ b/sys/netinet6/ip6_var.h
@@ -350,6 +350,7 @@ extern int (*ip6_mforward)(struct ip6_hdr *, struct ifnet *,
int ip6_process_hopopts __P((struct mbuf *, u_int8_t *, int, u_int32_t *,
u_int32_t *));
+int ip6_savecontrol_v4(struct inpcb *, struct mbuf *, struct mbuf **);
void ip6_savecontrol __P((struct inpcb *, struct mbuf *, struct mbuf **));
void ip6_notify_pmtu __P((struct inpcb *, struct sockaddr_in6 *,
u_int32_t *));
OpenPOWER on IntegriCloud