From 39888f6b5683e6235630591e201a13f93bea00fd Mon Sep 17 00:00:00 2001 From: hrs Date: Thu, 9 Oct 2014 23:45:26 +0000 Subject: MFC r271545, 271610: Make net.inet.ip.sourceroute, net.inet.ip.accept_sourceroute, and net.inet.ip.process_options vnet-aware. --- sys/netinet/ip_options.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/netinet/ip_options.h') diff --git a/sys/netinet/ip_options.h b/sys/netinet/ip_options.h index 7cb447e..4a6ea42 100644 --- a/sys/netinet/ip_options.h +++ b/sys/netinet/ip_options.h @@ -47,7 +47,8 @@ struct ipopt_tag { struct ipoptrt ip_srcrt; }; -extern int ip_doopts; /* process or ignore IP options */ +VNET_DECLARE(int, ip_doopts); /* process or ignore IP options */ +#define V_ip_doopts VNET(ip_doopts) int ip_checkrouteralert(struct mbuf *); int ip_dooptions(struct mbuf *, int); -- cgit v1.1