site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Thread-index: AcUqAULwTND+D+BgSmOTT5EI+Sg08ANyu7LQ Thread-topic: dlil_attah_interface_filter In my NKE I have attached some filtering using 'dlil_attach_interface_filter' and pointed my call back functions via this call. The filtering works find and in my call back function, My_if_input(caddr_t cookie, struct ifnet **ifnet_ptr, struct mbuf **mbuf_ptr), I want to get/look at the filter ID of the calling filter. This is the value that was obtained in the previous calling to 'dlil_attach_interface_filter'. Is there some way to obtain this 'filter ID' from within the callback function My_if_input? I was thinking that the information might be contained in the 'cookie' parameter. I need this 'filter ID' to use in my call to dlil_inject_if_input. Thanks Carl _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com