ip6_var.h (195699) | ip6_var.h (195727) |
---|---|
1/*- 2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 44 unchanged lines hidden (view full) --- 53 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 54 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 55 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 56 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 57 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 58 * SUCH DAMAGE. 59 * 60 * @(#)ip_var.h 8.1 (Berkeley) 6/10/93 | 1/*- 2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 44 unchanged lines hidden (view full) --- 53 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 54 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 55 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 56 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 57 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 58 * SUCH DAMAGE. 59 * 60 * @(#)ip_var.h 8.1 (Berkeley) 6/10/93 |
61 * $FreeBSD: head/sys/netinet6/ip6_var.h 195699 2009-07-14 22:48:30Z rwatson $ | 61 * $FreeBSD: head/sys/netinet6/ip6_var.h 195727 2009-07-16 21:13:04Z rwatson $ |
62 */ 63 64#ifndef _NETINET6_IP6_VAR_H_ 65#define _NETINET6_IP6_VAR_H_ 66 67/* 68 * IP6 reassembly queue structure. Each fragment 69 * being reassembled is attached to one of these structures. --- 255 unchanged lines hidden (view full) --- 325 326#ifdef IPSTEALTH 327VNET_DECLARE(int, ip6stealth); 328#endif 329 330VNET_DECLARE(int, ip6_use_defzone); /* Whether to use the default scope 331 * zone when unspecified */ 332 | 62 */ 63 64#ifndef _NETINET6_IP6_VAR_H_ 65#define _NETINET6_IP6_VAR_H_ 66 67/* 68 * IP6 reassembly queue structure. Each fragment 69 * being reassembled is attached to one of these structures. --- 255 unchanged lines hidden (view full) --- 325 326#ifdef IPSTEALTH 327VNET_DECLARE(int, ip6stealth); 328#endif 329 330VNET_DECLARE(int, ip6_use_defzone); /* Whether to use the default scope 331 * zone when unspecified */ 332 |
333#define V_ip6stat VNET_GET(ip6stat) 334#define V_ip6_defhlim VNET_GET(ip6_defhlim) 335#define V_ip6_defmcasthlim VNET_GET(ip6_defmcasthlim) 336#define V_ip6_forwarding VNET_GET(ip6_forwarding) 337#define V_ip6_gif_hlim VNET_GET(ip6_gif_hlim) 338#define V_ip6_use_deprecated VNET_GET(ip6_use_deprecated) 339#define V_ip6_rr_prune VNET_GET(ip6_rr_prune) 340#define V_ip6_mcast_pmtu VNET_GET(ip6_mcast_pmtu) 341#define V_ip6_v6only VNET_GET(ip6_v6only) 342#define V_ip6_mrouter VNET_GET(ip6_mrouter) 343#define V_ip6_sendredirects VNET_GET(ip6_sendredirects) 344#define V_ip6_maxfragpackets VNET_GET(ip6_maxfragpackets) 345#define V_ip6_maxfrags VNET_GET(ip6_maxfrags) 346#define V_ip6_accept_rtadv VNET_GET(ip6_accept_rtadv) 347#define V_ip6_keepfaith VNET_GET(ip6_keepfaith) 348#define V_ip6_log_interval VNET_GET(ip6_log_interval) 349#define V_ip6_log_time VNET_GET(ip6_log_time) 350#define V_ip6_hdrnestlimit VNET_GET(ip6_hdrnestlimit) 351#define V_ip6_dad_count VNET_GET(ip6_dad_count) 352#define V_ip6_auto_flowlabel VNET_GET(ip6_auto_flowlabel) 353#define V_ip6_auto_linklocal VNET_GET(ip6_auto_linklocal) 354#define V_ip6_use_tempaddr VNET_GET(ip6_use_tempaddr) 355#define V_ip6_prefer_tempaddr VNET_GET(ip6_prefer_tempaddr) | 333#define V_ip6stat VNET(ip6stat) 334#define V_ip6_defhlim VNET(ip6_defhlim) 335#define V_ip6_defmcasthlim VNET(ip6_defmcasthlim) 336#define V_ip6_forwarding VNET(ip6_forwarding) 337#define V_ip6_gif_hlim VNET(ip6_gif_hlim) 338#define V_ip6_use_deprecated VNET(ip6_use_deprecated) 339#define V_ip6_rr_prune VNET(ip6_rr_prune) 340#define V_ip6_mcast_pmtu VNET(ip6_mcast_pmtu) 341#define V_ip6_v6only VNET(ip6_v6only) 342#define V_ip6_mrouter VNET(ip6_mrouter) 343#define V_ip6_sendredirects VNET(ip6_sendredirects) 344#define V_ip6_maxfragpackets VNET(ip6_maxfragpackets) 345#define V_ip6_maxfrags VNET(ip6_maxfrags) 346#define V_ip6_accept_rtadv VNET(ip6_accept_rtadv) 347#define V_ip6_keepfaith VNET(ip6_keepfaith) 348#define V_ip6_log_interval VNET(ip6_log_interval) 349#define V_ip6_log_time VNET(ip6_log_time) 350#define V_ip6_hdrnestlimit VNET(ip6_hdrnestlimit) 351#define V_ip6_dad_count VNET(ip6_dad_count) 352#define V_ip6_auto_flowlabel VNET(ip6_auto_flowlabel) 353#define V_ip6_auto_linklocal VNET(ip6_auto_linklocal) 354#define V_ip6_use_tempaddr VNET(ip6_use_tempaddr) 355#define V_ip6_prefer_tempaddr VNET(ip6_prefer_tempaddr) |
356#ifdef IPSTEALTH | 356#ifdef IPSTEALTH |
357#define V_ip6stealth VNET_GET(ip6stealth) | 357#define V_ip6stealth VNET(ip6stealth) |
358#endif | 358#endif |
359#define V_ip6_use_defzone VNET_GET(ip6_use_defzone) | 359#define V_ip6_use_defzone VNET(ip6_use_defzone) |
360 361extern struct pfil_head inet6_pfil_hook; /* packet filter hooks */ 362 363extern struct pr_usrreqs rip6_usrreqs; 364struct sockopt; 365 366struct inpcb; 367 --- 78 unchanged lines hidden --- | 360 361extern struct pfil_head inet6_pfil_hook; /* packet filter hooks */ 362 363extern struct pr_usrreqs rip6_usrreqs; 364struct sockopt; 365 366struct inpcb; 367 --- 78 unchanged lines hidden --- |