Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/gen document PF_INET6 items (net.inet6.*).



details:   https://anonhg.NetBSD.org/src/rev/e30f926f1954
branches:  trunk
changeset: 480069:e30f926f1954
user:      itojun <itojun%NetBSD.org@localhost>
date:      Sat Jan 01 18:00:56 2000 +0000

description:
document PF_INET6 items (net.inet6.*).

diffstat:

 lib/libc/gen/sysctl.3 |  175 ++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 170 insertions(+), 5 deletions(-)

diffs (226 lines):

diff -r 42c108644cc1 -r e30f926f1954 lib/libc/gen/sysctl.3
--- a/lib/libc/gen/sysctl.3     Sat Jan 01 10:15:17 2000 +0000
+++ b/lib/libc/gen/sysctl.3     Sat Jan 01 18:00:56 2000 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: sysctl.3,v 1.40 1999/10/14 09:33:51 jdolecek Exp $
+.\"    $NetBSD: sysctl.3,v 1.41 2000/01/01 18:00:56 itojun Exp $
 .\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -528,7 +528,8 @@
 .Bl -column "Second level nameXXXXXX" "routing messagesXXX" -offset indent
 .It Sy Pa Second level name    Type    Changeable
 .It PF\_ROUTE  routing messages        no
-.It PF\_INET   internet values yes
+.It PF\_INET   IPv4 values     yes
+.It PF\_INET6  IPv6 values     yes
 .El
 .Pp
 .Bl -tag -width "123456"
@@ -550,7 +551,8 @@
 .It NET\_RT\_IFLIST    None
 .El
 .It Li PF_INET
-Get or set various global information about the internet protocols.
+Get or set various global information about the IPv4
+.Pq Internet Protocol version 4 .
 The third level name is the protocol.
 The fourth level name is the variable name.
 The currently defined protocols and names are:
@@ -567,6 +569,7 @@
 .It ip anonportmin     integer yes
 .It ip anonportmax     integer yes
 .It ip mtudisctimeout  integer yes
+.It ip gifttl  integer yes
 .It icmp       maskrepl        integer yes
 .It tcp        rfc1323 integer yes
 .It tcp        sendspace       integer yes
@@ -632,6 +635,10 @@
 Returns the number of seconds in which a route added by the Path MTU
 Discovery engine will time out.  When the route times out, the Path
 MTU Discovery engine will attempt to probe a larger path MTU.
+.It Li ip.gifttl
+The maximum time-to-live (hop count) value for an IPv4 packet generated by
+.Xr gif 4
+tunnel interface.
 .It Li icmp.maskrepl
 Returns 1 if ICMP network mask requests are to be answered.
 .It Li tcp.rfc1323
@@ -724,6 +731,162 @@
 .Pp
 For variables net.*.ipsec, please refer to
 .Xr ipsec 4 .
+.It Li PF_INET6
+Get or set various global information about the IPv6
+.Pq Internet Protocol version 6 .
+The third level name is the protocol.
+The fourth level name is the variable name.
+The currently defined protocols and names are:
+.Bl -column "Protocol name" "Variable nameXX" "integer" "yes" -offset indent
+.It Pa Protocol name   Variable name   Type    Changeable
+.It ip6        forwarding      integer yes
+.It ip6        redirect        integer yes
+.It ip6        hlim    integer yes
+.It ip6        maxfragpackets  integer yes
+.It ip6        accept_rtadv    integer yes
+.It ip6        keepfaith       integer yes
+.It ip6        log_interval    integer yes
+.It ip6        hdrnestlimit    integer yes
+.It ip6        dad_count       integer yes
+.It ip6        auto_flowlabel  integer yes
+.It ip6        defmcasthlim    integer yes
+.It ip6        gif_hlim        integer yes
+.It ip6        kame_version    string  no
+.It icmp6      rediraccept     integer yes
+.It icmp6      redirtimeout    integer yes
+.It icmp6      errratelimit    integer yes
+.It icmp6      nd6_prune       integer yes
+.It icmp6      nd6_delay       integer yes
+.It icmp6      nd6_umaxtries   integer yes
+.It icmp6      nd6_mmaxtries   integer yes
+.It icmp6      nd6_useloopback integer yes
+.It icmp6      nd6_proxyall    integer yes
+.It tcp6       mssdflt integer yes
+.It tcp6       do_rfc1323      integer yes
+.It tcp6       keepidle        integer yes
+.It tcp6       keepinterval    integer yes
+.It tcp6       keepcount       integer yes
+.It tcp6       maxpersistidle  integer yes
+.It tcp6       sendspace       integer yes
+.It tcp6       recvspace       integer yes
+.It tcp6       conntimeo       integer yes
+.It tcp6       pmtu    integer yes
+.It tcp6       pmtu_expire     integer yes
+.It tcp6       pmtu_probe      integer yes
+.It tcp6       43maxseg        integer yes
+.It tcp6       syn_cache_limit integer yes
+.It tcp6       syn_bucket_limit        integer yes
+.It tcp6       syn_cache_interval      integer yes
+.It udp6       sendmax integer yes
+.It udp6       recvspace       integer yes
+.El
+.Pp
+The variables are as follows:
+.Bl -tag -width "123456"
+.It Li ip6.forwarding
+Returns 1 when IPv6 forwarding is enabled for the node,
+meaning that the node is acting as a router.
+.It Li ip6.redirect
+Returns 1 when ICMPv6 redirects may be sent by the node.
+This option is ignored unless the node is routing IP packets,
+and should normally be enabled on all systems.
+.It Li ip6.hlim
+The default hop limit value for an IPv6 unicast packet sourced by the node.
+This value applies to all the transport protocols on top of IPv6.
+There are APIs to override the value, as documented in
+.Xr ip6 4 .
+.It Li ip6.maxfragpackets
+The maximum number of fragmented packets the node will accept.
+0 means that the node will not accept any fragmented packets.
+-1 means that the node will accept as many fragmented packets as it receives.
+The flag is provided basically for avoiding possible DoS attacks.
+.It Li ip6.accept_rtadv
+If set to non-zero, the node will accept ICMPv6 router advertisement packets
+and autoconfigures address prefixes and default routers.
+The node must be a host
+.Pq not a router
+for the option to be meaningful.
+.It Li ip6.keepfaith
+If set to non-zero, it enables
+.Dq FAITH
+TCP relay IPv6-to-IPv4 translator code in the kernel.
+Refer
+.Xr faith 4
+and
+.Xr faithd 8
+for detail.
+.It Li ip6.log_interval
+The variable controls amount of logs generated by IPv6 packet
+forwarding engine, by seting interval between log output
+.Pq in seconds .
+.It Li ip6.hdrnestlimit
+The number of IPv6 extension headers permitted on incoming IPv6 packets.
+If set to 0, the node will accept as many extension headers as possible.
+.It Li ip6.dad_count
+The variable cofigures number of IPv6 DAD
+.Pq duplicated address detection
+probe packets.
+The packets will be generated when IPv6 interface addresses are configured.
+.It Li ip6.auto_flowlabel
+On connected transport protocol packets,
+fill IPv6 flowlabel field to help intermediate routers to identify packet flows.
+.It Li ip6.defmcasthlim
+The default hop limit value for an IPv6 multicast packet sourced by the node.
+This value applies to all the transport protocols on top of IPv6.
+There are APIs to override the value, as documented in
+.Xr ip6 4 .
+.It Li ip6.gif_hlim
+The maximum hop limit value for an IPv6 packet generated by
+.Xr gif 4
+tunnel interface.
+.It Li ip6.kame_version
+The string identifies the version of KAME IPv6 stack implemented in the kernel.
+.It Li icmp6.rediraccept
+If set to non-zero, the host will accept ICMPv6 redirect packets.
+Note that IPv6 routers will never accept ICMPv6 redirect packets,
+and the variable is meaningful on IPv6 hosts
+.Pq non-router
+only.
+.It Li icmp6.redirtimeout
+The variable specifies lifetime of routing entries generated by incoming
+ICMPv6 redirect.
+.It Li icmp6.errratelimit
+The variable specifies interval between ICMPv6 error messages,
+in microseconds.
+.It Li icmp6.nd6_prune
+The variable specifies interval between IPv6 neighbor cache babysitting,
+in seconds.
+.It Li icmp6.nd6_delay
+The variable specifies
+.Dv DELAY_FIRST_PROBE_TIME
+timing constant in IPv6 neighbor discovery specification
+.Pq RFC2461 ,
+in seconds.
+.It Li icmp6.nd6_umaxtries
+The variable specifies
+.Dv MAX_UNICAST_SOLICIT
+constant in IPv6 neighbor discovery specification
+.Pq RFC2461 .
+.It Li icmp6.nd6_mmaxtries
+The variable specifies
+.Dv MAX_MULTICAST_SOLICIT
+constant in IPv6 neighbor discovery specification
+.Pq RFC2461 .
+.It Li icmp6.nd6_useloopback
+If set to non-zero, kernel IPv6 stack will use loopback interface for
+local traffic.
+.It Li icmp6.nd6_proxyall
+The variable enables proxy neighbor advertisements.
+.El
+.Pp
+Variables net.*.tcp6 and net.*.udp6 are identical to
+net.*.tcp and net.*.udp.
+Please refer to
+.Li PF_INET
+section above.
+.Xr ipsec 4 .
+For variables net.*.ipsec6, please refer to
+.Xr ipsec 4 .
 .El
 .Sh CTL_PROC
 The string and integer information available for the CTL_PROC
@@ -1010,10 +1173,12 @@
 .It Pa <vm/vm_param.h>
 definitions for second level virtual memory identifiers
 .It Pa <netinet/in.h>
-definitions for third level Internet identifiers and
-fourth level IP identifiers
+definitions for third level IPv4/v6 identifiers and
+fourth level IPv4/v6 identifiers
 .It Pa <netinet/icmp_var.h>
 definitions for fourth level ICMP identifiers
+.It Pa <netinet/icmp6.h>
+definitions for fourth level ICMPv6 identifiers
 .It Pa <netinet/tcp_var.h>
 definitions for fourth level TCP identifiers
 .It Pa <netinet/udp_var.h>



Home | Main Index | Thread Index | Old Index