pub type attr_callback_t = *mut fn(attr: *const Attribute, data: *mut u8) -> i32;Expand description
Function pointer type for attribute callback handlers
Callbacks receive a pointer to the current attribute and user-provided data, and return an integer status code.
§Parameters
attr- Pointer to the current netlink attribute being processeddata- User-provided data pointer that’s passed to the callback
§Returns
Integer status code indicating whether processing should continue