Function riot_sys::sock_tl_ep_equal

source ·
pub unsafe extern "C" fn sock_tl_ep_equal(
    a: *const _sock_tl_ep,
    b: *const _sock_tl_ep
) -> bool
Expand description

@brief Compare the two given common IP-based transport layer endpoints

The given endpoint identifiers are compared by checking their address family, their addresses, and their port value.

@param[in] a Endpoint A @param[in] b Endpoint B

@return true if given endpoint identifiers point to the same destination @return false if given endpoint identifiers do not point to the same destination, or if the address family is unknown