summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_var.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-11-08 23:09:42 +0000
committersam <sam@FreeBSD.org>2003-11-08 23:09:42 +0000
commit555f1c248bd42d7b11054c8b369e37c31edbed4e (patch)
tree1e4d42947a232924db32b3768567ea2d4914bf90 /sys/netinet/ip_var.h
parent854b820d7c80d857dea648c6ae35e8cfeb1f4a78 (diff)
downloadFreeBSD-src-555f1c248bd42d7b11054c8b369e37c31edbed4e.zip
FreeBSD-src-555f1c248bd42d7b11054c8b369e37c31edbed4e.tar.gz
divert socket fixups:
o pickup Giant in divert_packet to protect sbappendaddr since it can be entered through MPSAFE callouts or through ip_input when mpsafenet is 1 o add missing locking on output o add locking to abort and shutdown o add a ctlinput handler to invalidate held routing table references on an ICMP redirect (may not be needed) Supported by: FreeBSD Foundation
Diffstat (limited to 'sys/netinet/ip_var.h')
-rw-r--r--sys/netinet/ip_var.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h
index 17aba66..881d40c 100644
--- a/sys/netinet/ip_var.h
+++ b/sys/netinet/ip_var.h
@@ -203,6 +203,7 @@ extern void (*rsvp_input_p)(struct mbuf *m, int off);
#ifdef IPDIVERT
void div_init(void);
void div_input(struct mbuf *, int);
+void div_ctlinput(int, struct sockaddr *, void *);
void divert_packet(struct mbuf *m, int incoming, int port, int rule);
extern struct pr_usrreqs div_usrreqs;
#endif
OpenPOWER on IntegriCloud