ifnet_event_func
Declaration
typedef void (*ifnet_event_func)(ifnet_t interface, const struct kev_msg *msg);Parameters
- interface:
The interface the event occurred on.
- event_ptr:
Pointer to a kern_event structure describing the event.
Discussion
ifnet_event_func is called when an event occurs on a specific interface.
See Also
ifnet
ifnet_add_proto_funcifnet_attach_proto_paramifnet_attach_proto_param_v2ifnet_check_multiifnet_del_proto_funcifnet_demux_descifnet_demux_funcifnet_detached_funcifnet_family_tifnet_framer_funcifnet_init_paramsifnet_ioctl_funcifnet_offload_tifnet_output_funcifnet_set_bpf_tapifnet_stat_increment_paramifnet_stats_paramifnet_t