Page MenuHomeFreeBSD

ctld: Factor our code to setup a listening socket into a separate function
ClosedPublic

Authored by jhb on Jan 22 2025, 7:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 20, 10:19 PM
Unknown Object (File)
Fri, Jul 17, 4:26 PM
Unknown Object (File)
Sun, Jul 5, 7:28 AM
Unknown Object (File)
Sun, Jul 5, 7:20 AM
Unknown Object (File)
May 14 2026, 7:30 AM
Unknown Object (File)
May 14 2026, 1:32 AM
Unknown Object (File)
May 13 2026, 9:08 PM
Unknown Object (File)
May 11 2026, 2:12 PM
Subscribers

Details

Summary

While here:

  • Reuse the address family from the addrinfo structure instead of calling getsockname(2) on the socket.
  • Remove a bogus comment about the PCP option.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable