pub(crate) unsafe fn setsockopt<T>( fd: c_int, opt: c_int, val: c_int, payload: T, ) -> Result<()>
Caller must ensure T is the correct type for opt and val.
T
opt
val