Deleted Added
full compact
sysctl.3 (39022) sysctl.3 (39267)
1.\" Copyright (c) 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 465 unchanged lines hidden (view full) ---

474.It NET\_RT\_IFLIST None
475.El
476.It Li PF_INET
477Get or set various global information about the internet protocols.
478The third level name is the protocol.
479The fourth level name is the variable name.
480The currently defined protocols and names are:
481.ne 1i
1.\" Copyright (c) 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 465 unchanged lines hidden (view full) ---

474.It NET\_RT\_IFLIST None
475.El
476.It Li PF_INET
477Get or set various global information about the internet protocols.
478The third level name is the protocol.
479The fourth level name is the variable name.
480The currently defined protocols and names are:
481.ne 1i
482.Bl -column "Protocol nameXXXXXX" "Variable nameXXX" "integerXXX" -offset indent
483.It Pa Protocol name Variable name Type Changeable
482.Bl -column ProtocolXX VariableXX TypeXX ChangeableXX
483.It Pa Protocol Variable Type Changeable
484.It ip forwarding integer yes
485.It ip redirect integer yes
486.It ip ttl integer yes
487.It icmp maskrepl integer yes
484.It ip forwarding integer yes
485.It ip redirect integer yes
486.It ip ttl integer yes
487.It icmp maskrepl integer yes
488.It icmp bmcastecho integer yes
488.It udp checksum integer yes
489.El
490.Pp
491The variables are as follows:
492.Bl -tag -width "123456"
493.It Li ip.forwarding
494Returns 1 when IP forwarding is enabled for the host,
495meaning that the host is acting as a router.
496.It Li ip.redirect
497Returns 1 when ICMP redirects may be sent by the host.
498This option is ignored unless the host is routing IP packets,
499and should normally be enabled on all systems.
500.It Li ip.ttl
501The maximum time-to-live (hop count) value for an IP packet sourced by
502the system.
503This value applies to normal transport protocols, not to ICMP.
504.It Li icmp.maskrepl
505Returns 1 if ICMP network mask requests are to be answered.
489.It udp checksum integer yes
490.El
491.Pp
492The variables are as follows:
493.Bl -tag -width "123456"
494.It Li ip.forwarding
495Returns 1 when IP forwarding is enabled for the host,
496meaning that the host is acting as a router.
497.It Li ip.redirect
498Returns 1 when ICMP redirects may be sent by the host.
499This option is ignored unless the host is routing IP packets,
500and should normally be enabled on all systems.
501.It Li ip.ttl
502The maximum time-to-live (hop count) value for an IP packet sourced by
503the system.
504This value applies to normal transport protocols, not to ICMP.
505.It Li icmp.maskrepl
506Returns 1 if ICMP network mask requests are to be answered.
507.It Li icmp.bmcastecho
508Returns 1 if an ICMP echo request to a broadcast or multicast address is
509to be answered.
506.It Li udp.checksum
507Returns 1 when UDP checksums are being computed and checked.
508Disabling UDP checksums is strongly discouraged.
509.El
510.Sh CTL_USER
511The string and integer information available for the CTL_USER level
512is detailed below.
513The changeable column shows whether a process with appropriate

--- 223 unchanged lines hidden ---
510.It Li udp.checksum
511Returns 1 when UDP checksums are being computed and checked.
512Disabling UDP checksums is strongly discouraged.
513.El
514.Sh CTL_USER
515The string and integer information available for the CTL_USER level
516is detailed below.
517The changeable column shows whether a process with appropriate

--- 223 unchanged lines hidden ---