Add flag
to the current set flags of F_GETFD
.
Get the flags using cmd
.
Remove flag
to the current set flags of F_GETFD
.
Caller must ensure T
is the correct type for opt
and val
.
Returns the offset of the sun_path
member of the passed unix socket address.
Get the value for the IP6T_SO_ORIGINAL_DST
option on this socket.
Wrapper around setsockopt
to deal with platform specific timeouts.
Caller must ensure T
is the correct type for opt
and val
.
Wrapper around getsockopt
to deal with platform specific timeouts.