pub type nexthop_t = Option<unsafe extern "C" fn(iface: *mut csp_iface_t, via: u16, packet: *mut csp_packet_t, from_me: c_int) -> c_int>;Expand description
Interface Tx function.
@return #CSP_ERR_NONE on success, otherwise an error code.
Aliased Type§
pub enum nexthop_t {
None,
Some(unsafe extern "C" fn(*mut csp_iface_s, u16, *mut csp_packet_s, i32) -> i32),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*mut csp_iface_s, u16, *mut csp_packet_s, i32) -> i32)
Some value of type T.