pub unsafe extern "C" fn gnrc_netif_get_l2addr_opt(
netif: *const gnrc_netif_t,
) -> netopt_t
Expand description
@name Device type based function
These functions’ behavior is based around the gnrc_netif_t::device_type of an interface.
@attention Special care needs to be taken for those functions when porting a new network device type or link-layer protocol: They might need adaptions for your port @{ / /** @brief Get the default link-layer address option for the given gnrc_netif_t::device_type of a network interface
@param[in] netif The network interface to get the default link-layer address option for.
@return Either @ref NETOPT_ADDRESS or @ref NETOPT_ADDRESS_LONG.