Function esp_idf_svc::sys::netif_add
source ยท pub unsafe extern "C" fn netif_add(
netif: *mut netif,
ipaddr: *const ip4_addr,
netmask: *const ip4_addr,
gw: *const ip4_addr,
state: *mut c_void,
init: Option<unsafe extern "C" fn(_: *mut netif) -> i8>,
input: Option<unsafe extern "C" fn(_: *mut pbuf, _: *mut netif) -> i8>,
) -> *mut netif