pub unsafe extern "C" fn ABinderRpc_ConnectionInfo_new(
addr: *const sockaddr,
len: socklen_t,
) -> *mut ABinderRpc_ConnectionInfo
Expand description
Create a new ABinderRpc_ConnectionInfo with sockaddr. This can be supported socket types like sockaddr_vm (vsock) and sockaddr_un (Unix Domain Sockets).
\param addr sockaddr pointer that can come from supported socket types like sockaddr_vm (vsock) and sockaddr_un (Unix Domain Sockets). \param len length of the concrete sockaddr type being used. Like sizeof(sockaddr_vm) when sockaddr_vm is used. \return the connection info based on the given sockaddr