Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/gen/sysctl.3
Show First 20 Lines • Show All 557 Lines • ▼ Show 20 Lines | |||||
The fifth, sixth, and seventh level names are as follows: | The fifth, sixth, and seventh level names are as follows: | ||||
.Bl -column -offset indent "Fifth Level" "Sixth Level" "Seventh Level" | .Bl -column -offset indent "Fifth Level" "Sixth Level" "Seventh Level" | ||||
.It Sy Fifth level Ta Sy Sixth Level Ta Sy Seventh Level | .It Sy Fifth level Ta Sy Sixth Level Ta Sy Seventh Level | ||||
.It Dv NET_RT_FLAGS Ta rtflags Ta None | .It Dv NET_RT_FLAGS Ta rtflags Ta None | ||||
.It Dv NET_RT_DUMP Ta None Ta None or fib number | .It Dv NET_RT_DUMP Ta None Ta None or fib number | ||||
.It Dv NET_RT_IFLIST Ta 0 or if_index Ta None | .It Dv NET_RT_IFLIST Ta 0 or if_index Ta None | ||||
.It Dv NET_RT_IFMALIST Ta 0 or if_index Ta None | .It Dv NET_RT_IFMALIST Ta 0 or if_index Ta None | ||||
.It Dv NET_RT_IFLISTL Ta 0 or if_index Ta None | .It Dv NET_RT_IFLISTL Ta 0 or if_index Ta None | ||||
.It Dv NET_RT_NHOPS Ta None Ta fib number | |||||
.El | .El | ||||
.Pp | .Pp | ||||
The | The | ||||
.Dv NET_RT_IFMALIST | .Dv NET_RT_IFMALIST | ||||
name returns information about multicast group memberships on all interfaces | name returns information about multicast group memberships on all interfaces | ||||
if 0 is specified, or for the interface specified by | if 0 is specified, or for the interface specified by | ||||
.Va if_index . | .Va if_index . | ||||
.Pp | .Pp | ||||
The | The | ||||
.Dv NET_RT_IFLISTL | .Dv NET_RT_IFLISTL | ||||
is like | is like | ||||
.Dv NET_RT_IFLIST , | .Dv NET_RT_IFLIST , | ||||
just returning message header structs with additional fields allowing the | just returning message header structs with additional fields allowing the | ||||
interface to be extended without breaking binary compatibility. | interface to be extended without breaking binary compatibility. | ||||
The | The | ||||
.Dv NET_RT_IFLISTL | .Dv NET_RT_IFLISTL | ||||
uses 'l' versions of the message header structures: | uses 'l' versions of the message header structures: | ||||
.Va struct if_msghdrl | .Va struct if_msghdrl | ||||
and | and | ||||
.Va struct ifa_msghdrl . | .Va struct ifa_msghdrl . | ||||
.Pp | |||||
.Dv NET_RT_NHOPS | |||||
returns all nexthops for specified address family in given fib. | |||||
.It Li PF_INET | .It Li PF_INET | ||||
Get or set various global information about the IPv4 | Get or set various global information about the IPv4 | ||||
(Internet Protocol version 4). | (Internet Protocol version 4). | ||||
The third level name is the protocol. | The third level name is the protocol. | ||||
The fourth level name is the variable name. | The fourth level name is the variable name. | ||||
The currently defined protocols and names are: | The currently defined protocols and names are: | ||||
.Bl -column ProtocolXX VariableXX TypeXX ChangeableXX | .Bl -column ProtocolXX VariableXX TypeXX ChangeableXX | ||||
.It Sy Protocol Ta Sy Variable Ta Sy Type Ta Sy Changeable | .It Sy Protocol Ta Sy Variable Ta Sy Type Ta Sy Changeable | ||||
▲ Show 20 Lines • Show All 281 Lines • Show Last 20 Lines |