ifnet_detached_func
Declaration
typedef void (*ifnet_detached_func)(ifnet_t interface);Parameters
- interface:
The interface that has been detached. event.
Discussion
ifnet_detached_func is called an interface is detached from the list of interfaces. When ifnet_detach is called, it may not detach the interface immediately if protocols are attached. ifnet_detached_func is used to notify the interface that it has been detached from the networking stack. This is the last function that will be called on an interface. Until this function returns, you must not unload a kext supplying function pointers to this interface, even if ifnet_detacah has been called. Your detach function may be called during your call to ifnet_detach.
See Also
ifnet
ifnet_add_proto_funcifnet_attach_proto_paramifnet_attach_proto_param_v2ifnet_check_multiifnet_del_proto_funcifnet_demux_descifnet_demux_funcifnet_event_funcifnet_family_tifnet_framer_funcifnet_init_paramsifnet_ioctl_funcifnet_offload_tifnet_output_funcifnet_set_bpf_tapifnet_stat_increment_paramifnet_stats_paramifnet_t