Page MenuHomeFreeBSD

inet.4 icmp.4 udp.4: Add missing sysctls, other fixes
ClosedPublic

Authored by karels on Jul 31 2022, 5:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 12:41 PM
Unknown Object (File)
Sun, Apr 7, 11:14 PM
Unknown Object (File)
Feb 14 2024, 12:37 AM
Unknown Object (File)
Dec 18 2023, 5:48 PM
Unknown Object (File)
Nov 18 2023, 9:12 PM
Unknown Object (File)
Nov 18 2023, 4:26 PM
Unknown Object (File)
Nov 18 2023, 4:14 PM
Unknown Object (File)
Nov 18 2023, 3:54 PM

Details

Summary

Add missing sysctls to inet.4 and icmp.4, using references to ip.4
for variables and groups documented there. Add sysctl.8 to "see also"
and intro to variable section. Rename "MIB Variables" section to
"MIB (sysctl) Variables", as most people will associate with sysctl.
Revise history: the ICMP implementation was in 4.2BSD.

Test Plan

tested with mandoc

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46693
Build 43582: arc lint + arc unit

Event Timeline

pauamma_gundo.com added inline comments.
share/man/man4/icmp.4
163
209

While here

share/man/man4/inet.4
168
182
188
227
235
273
280
share/man/man4/udp.4
120
This revision now requires changes to proceed.Jul 31 2022, 11:08 PM
share/man/man4/icmp.4
163

The reason I used "and" is that the variables can be read or modified with sysctl(3) as well. Is there a better way to reflect that? sysctl(8) is far more common, so I wanted to mention it.

share/man/man4/inet.4
227

"Node" is intentional; it is a node in the tree of variables, with other variables below it.

235

As above

share/man/man4/icmp.4
163

Maybe "which can also be read or modified with sysctl(8)"?

share/man/man4/icmp.4
163

Maybe "which can also be read or modified with sysctl(8)"?

That works.

share/man/man4/inet.4
227

"Node" is intentional; it is a node in the tree of variables, with other variables below it.

Maybe "This is a node" then? Or use "net.inet.ip.mcast.*"?

karels marked 9 inline comments as done.

Address review comments

I believe all comments should be resolved now. About node: I used "the x.y.z node".

This revision is now accepted and ready to land.Aug 1 2022, 2:17 PM