pub unsafe extern "C" fn gnrc_netif_get_by_type(
    type_: netdev_type_t,
    index: u8
) -> *mut gnrc_netif_t
Expand description

@brief Gets an interface by the netdev type (and index)

@pre The netdev has been registered with @ref netdev_register

@param[in] type driver type of the netdev, can be @ref NETDEV_ANY @param[in] index index of the netdev, can be @ref NETDEV_INDEX_ANY

@return The network interface that has a netdev of matching type and index NULL if no matching interface could be found