Skip to main content

callback_t

Type Alias callback_t 

Source
pub type callback_t = *mut fn(nlh: *const Header, data: *mut u8) -> i32;
Expand description

Callback function type for netlink message processing

Function pointer type for callbacks that process netlink messages.

§Parameters

  • nlh - Pointer to the netlink message header
  • data - Pointer to user-provided data passed to the callback

§Returns

Integer status code indicating processing result