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)
Wed, Sep 30, 7:38 AM
Unknown Object (File)
Tue, Sep 22, 5:06 AM
Unknown Object (File)
Mon, Sep 21, 9:19 PM
Unknown Object (File)
Mon, Sep 14, 12:40 AM
Unknown Object (File)
Sep 3 2026, 4:13 PM
Unknown Object (File)
Sep 1 2026, 10:03 PM
Unknown Object (File)
Aug 27 2026, 7:04 AM
Unknown Object (File)
Aug 24 2026, 10:51 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