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)
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)
Sun, Jul 5, 7:52 AM
Unknown Object (File)
Thu, Jul 2, 5:27 PM
Unknown Object (File)
Jun 16 2026, 11:34 PM
Unknown Object (File)
May 23 2026, 3:47 PM
Unknown Object (File)
May 23 2026, 3:46 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 18934