Page MenuHomeFreeBSD

Add support for SO_DOMAIN in getsockopt()
ClosedPublic

Authored by tuexen on Aug 18 2018, 3:23 PM.
Tags
None
Referenced Files
F88421670: D16791.id47036.diff
Sun, Jul 14, 10:44 PM
Unknown Object (File)
Jun 4 2024, 7:27 PM
Unknown Object (File)
Apr 13 2024, 8:17 PM
Unknown Object (File)
Apr 13 2024, 7:12 PM
Unknown Object (File)
Apr 11 2024, 3:02 AM
Unknown Object (File)
Apr 11 2024, 3:02 AM
Unknown Object (File)
Apr 11 2024, 3:02 AM
Unknown Object (File)
Apr 11 2024, 2:17 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