in6_proto.c (196019) | in6_proto.c (197138) |
---|---|
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 --- 47 unchanged lines hidden (view full) --- 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 * @(#)in_proto.c 8.1 (Berkeley) 6/10/93 61 */ 62 63#include <sys/cdefs.h> | 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 --- 47 unchanged lines hidden (view full) --- 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 * @(#)in_proto.c 8.1 (Berkeley) 6/10/93 61 */ 62 63#include <sys/cdefs.h> |
64__FBSDID("$FreeBSD: head/sys/netinet6/in6_proto.c 196019 2009-08-01 19:26:27Z rwatson $"); | 64__FBSDID("$FreeBSD: head/sys/netinet6/in6_proto.c 197138 2009-09-12 22:08:20Z hrs $"); |
65 66#include "opt_inet.h" 67#include "opt_inet6.h" 68#include "opt_ipsec.h" 69#include "opt_ipstealth.h" 70#include "opt_carp.h" 71#include "opt_sctp.h" 72#include "opt_mpath.h" --- 419 unchanged lines hidden (view full) --- 492 &VNET_NAME(ip6_sendredirects), 0, ""); 493SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_DEFHLIM, hlim, CTLFLAG_RW, 494 &VNET_NAME(ip6_defhlim), 0, ""); 495SYSCTL_VNET_STRUCT(_net_inet6_ip6, IPV6CTL_STATS, stats, CTLFLAG_RD, 496 &VNET_NAME(ip6stat), ip6stat, ""); 497SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_MAXFRAGPACKETS, maxfragpackets, 498 CTLFLAG_RW, &VNET_NAME(ip6_maxfragpackets), 0, ""); 499SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_ACCEPT_RTADV, accept_rtadv, | 65 66#include "opt_inet.h" 67#include "opt_inet6.h" 68#include "opt_ipsec.h" 69#include "opt_ipstealth.h" 70#include "opt_carp.h" 71#include "opt_sctp.h" 72#include "opt_mpath.h" --- 419 unchanged lines hidden (view full) --- 492 &VNET_NAME(ip6_sendredirects), 0, ""); 493SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_DEFHLIM, hlim, CTLFLAG_RW, 494 &VNET_NAME(ip6_defhlim), 0, ""); 495SYSCTL_VNET_STRUCT(_net_inet6_ip6, IPV6CTL_STATS, stats, CTLFLAG_RD, 496 &VNET_NAME(ip6stat), ip6stat, ""); 497SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_MAXFRAGPACKETS, maxfragpackets, 498 CTLFLAG_RW, &VNET_NAME(ip6_maxfragpackets), 0, ""); 499SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_ACCEPT_RTADV, accept_rtadv, |
500 CTLFLAG_RW, &VNET_NAME(ip6_accept_rtadv), 0, ""); | 500 CTLFLAG_RW, &VNET_NAME(ip6_accept_rtadv), 0, 501 "Default value of per-interface flag for accepting ICMPv6 Router" 502 "Advertisement messages"); |
501SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_KEEPFAITH, keepfaith, CTLFLAG_RW, 502 &VNET_NAME(ip6_keepfaith), 0, ""); 503SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_LOG_INTERVAL, log_interval, 504 CTLFLAG_RW, &VNET_NAME(ip6_log_interval), 0, ""); 505SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_HDRNESTLIMIT, hdrnestlimit, 506 CTLFLAG_RW, &VNET_NAME(ip6_hdrnestlimit), 0, ""); 507SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_DAD_COUNT, dad_count, CTLFLAG_RW, 508 &VNET_NAME(ip6_dad_count), 0, ""); --- 13 unchanged lines hidden (view full) --- 522 CTLTYPE_INT|CTLFLAG_RW, &VNET_NAME(ip6_temp_preferred_lifetime), 0, 523 sysctl_ip6_temppltime, "I", ""); 524SYSCTL_VNET_PROC(_net_inet6_ip6, IPV6CTL_TEMPVLTIME, tempvltime, 525 CTLTYPE_INT|CTLFLAG_RW, &VNET_NAME(ip6_temp_valid_lifetime), 0, 526 sysctl_ip6_tempvltime, "I", ""); 527SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_V6ONLY, v6only, CTLFLAG_RW, 528 &VNET_NAME(ip6_v6only), 0, ""); 529SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_AUTO_LINKLOCAL, auto_linklocal, | 503SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_KEEPFAITH, keepfaith, CTLFLAG_RW, 504 &VNET_NAME(ip6_keepfaith), 0, ""); 505SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_LOG_INTERVAL, log_interval, 506 CTLFLAG_RW, &VNET_NAME(ip6_log_interval), 0, ""); 507SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_HDRNESTLIMIT, hdrnestlimit, 508 CTLFLAG_RW, &VNET_NAME(ip6_hdrnestlimit), 0, ""); 509SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_DAD_COUNT, dad_count, CTLFLAG_RW, 510 &VNET_NAME(ip6_dad_count), 0, ""); --- 13 unchanged lines hidden (view full) --- 524 CTLTYPE_INT|CTLFLAG_RW, &VNET_NAME(ip6_temp_preferred_lifetime), 0, 525 sysctl_ip6_temppltime, "I", ""); 526SYSCTL_VNET_PROC(_net_inet6_ip6, IPV6CTL_TEMPVLTIME, tempvltime, 527 CTLTYPE_INT|CTLFLAG_RW, &VNET_NAME(ip6_temp_valid_lifetime), 0, 528 sysctl_ip6_tempvltime, "I", ""); 529SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_V6ONLY, v6only, CTLFLAG_RW, 530 &VNET_NAME(ip6_v6only), 0, ""); 531SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_AUTO_LINKLOCAL, auto_linklocal, |
530 CTLFLAG_RW, &VNET_NAME(ip6_auto_linklocal), 0, ""); | 532 CTLFLAG_RW, &VNET_NAME(ip6_auto_linklocal), 0, 533 "Default value of per-interface flag for automatically adding an IPv6" 534 " link-local address to interfaces when attached"); |
531SYSCTL_VNET_STRUCT(_net_inet6_ip6, IPV6CTL_RIP6STATS, rip6stats, CTLFLAG_RD, 532 &VNET_NAME(rip6stat), rip6stat, ""); 533SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_PREFER_TEMPADDR, prefer_tempaddr, 534 CTLFLAG_RW, &VNET_NAME(ip6_prefer_tempaddr), 0, ""); 535SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_USE_DEFAULTZONE, use_defaultzone, 536 CTLFLAG_RW, &VNET_NAME(ip6_use_defzone), 0,""); 537SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_MAXFRAGS, maxfrags, CTLFLAG_RW, 538 &VNET_NAME(ip6_maxfrags), 0, ""); --- 36 unchanged lines hidden --- | 535SYSCTL_VNET_STRUCT(_net_inet6_ip6, IPV6CTL_RIP6STATS, rip6stats, CTLFLAG_RD, 536 &VNET_NAME(rip6stat), rip6stat, ""); 537SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_PREFER_TEMPADDR, prefer_tempaddr, 538 CTLFLAG_RW, &VNET_NAME(ip6_prefer_tempaddr), 0, ""); 539SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_USE_DEFAULTZONE, use_defaultzone, 540 CTLFLAG_RW, &VNET_NAME(ip6_use_defzone), 0,""); 541SYSCTL_VNET_INT(_net_inet6_ip6, IPV6CTL_MAXFRAGS, maxfrags, CTLFLAG_RW, 542 &VNET_NAME(ip6_maxfrags), 0, ""); --- 36 unchanged lines hidden --- |