Page MenuHomeFreeBSD

Add support for SO_DOMAIN in getsockopt()
ClosedPublic

Authored by tuexen on Aug 18 2018, 3:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 13, 7:17 AM
Unknown Object (File)
Oct 16 2025, 8:42 PM
Unknown Object (File)
Oct 16 2025, 8:42 PM
Unknown Object (File)
Oct 16 2025, 8:42 PM
Unknown Object (File)
Oct 16 2025, 11:21 AM
Unknown Object (File)
Oct 15 2025, 4:02 PM
Unknown Object (File)
Sep 30 2025, 1:59 AM
Unknown Object (File)
Sep 27 2025, 5:33 PM
Subscribers

Details

Summary

Linux and Solaris support the SOL_SOCKET level socket option SO_DOMAIN in getsockopt() to get the domain of a socket. This patch add support for it to FreeBSD, which is handy in testing.

Test Plan

Use a packetdrill script to create a socket and verify that it has the domain expected.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable