]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add SOL_SOCKET level socket option with name SO_DOMAIN to get
authortuexen <tuexen@FreeBSD.org>
Tue, 21 Aug 2018 14:04:30 +0000 (14:04 +0000)
committertuexen <tuexen@FreeBSD.org>
Tue, 21 Aug 2018 14:04:30 +0000 (14:04 +0000)
commit3e0ad7d79480a094c94213f0f8b94253918edc55
treebe0381b665bda49a0d41b2803610c083295f51c5
parentffb8cde70cb3bdba2f6c7382f0ff242700ebf2b7
Add SOL_SOCKET level socket option with name SO_DOMAIN to get
the domain of a socket.

This is helpful when testing and Solaris and Linux have the same
socket option using the same name.

Reviewed by: bcr@, rrs@
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D16791
lib/libc/sys/getsockopt.2
sys/kern/uipc_socket.c
sys/sys/socket.h