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)
Sun, Aug 9, 4:20 PM
Unknown Object (File)
Sat, Aug 1, 8:39 PM
Unknown Object (File)
Thu, Jul 30, 7:27 AM
Unknown Object (File)
Sat, Jul 25, 5:20 AM
Unknown Object (File)
Thu, Jul 23, 2:00 AM
Unknown Object (File)
Tue, Jul 21, 12:36 AM
Unknown Object (File)
Jul 5 2026, 7:52 AM
Unknown Object (File)
Jul 2 2026, 5:27 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