summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_options.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/ip_options.h')
-rw-r--r--sys/netinet/ip_options.h3
1 files changed, 2 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud