pub unsafe extern "C" fn netif_register(netif: *mut netif_t) -> c_int
Expand description
@brief Registers a network interface in the global interface list.
@note This functions should be called when initializing an interface.
@param[in] netif Interface to be registered
@return 0 on success @return -EINVAL if @p netif is NULL.