Page MenuHomeFreeBSD

Add support for SO_DOMAIN in getsockopt()
ClosedPublic

Authored by tuexen on Aug 18 2018, 3:23 PM.
Tags
None
Referenced Files
F132386161: D16791.diff
Thu, Oct 16, 11:21 AM
Unknown Object (File)
Wed, Oct 15, 4:02 PM
Unknown Object (File)
Tue, Sep 30, 1:59 AM
Unknown Object (File)
Sat, Sep 27, 5:33 PM
Unknown Object (File)
Fri, Sep 19, 12:33 AM
Unknown Object (File)
Thu, Sep 18, 7:23 AM
Unknown Object (File)
Sep 16 2025, 3:40 PM
Unknown Object (File)
Sep 15 2025, 4:16 AM
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