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

@brief Extract the source 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 source address @return -ENOENT, if no netif header is presented in @p pkt or if no source address field presented in netif header.