pub type netif_output_ip6_fn = Option<unsafe extern "C" fn(_: *mut netif, _: *mut pbuf, _: *const ip6_addr) -> i8>;
Expand description

Function prototype for netif->output_ip6 functions. Called by lwIP when a packet shall be sent. For ethernet netif, set this to ‘ethip6_output’ and set ‘linkoutput’.

@param netif The netif which shall send a packet @param p The packet to send (p->payload points to IP header) @param ipaddr The IPv6 address to which the packet shall be sent

Aliased Type§

enum netif_output_ip6_fn {
    None,
    Some(unsafe extern "C" fn(_: *mut netif, _: *mut pbuf, _: *const ip6_addr) -> i8),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut netif, _: *mut pbuf, _: *const ip6_addr) -> i8)

Some value of type T.