riot_sys

Function gnrc_netif_hdr_get_dstaddr

Source
pub unsafe extern "C" fn gnrc_netif_hdr_get_dstaddr(
    pkt: *mut gnrc_pktsnip_t,
    pointer_to_addr: *mut *mut u8,
) -> c_int
Expand description

@brief Extract the destination address out of a gnrc packet

@param[in] pkt gnrc packet from whom to extract @param[out] pointer_to_addr pointer to address will be stored here

@return length of destination address @return -ENOENT, if no netif header is presented in @p pkt or if no destination address field presented in netif header.