dlil_attah_interface_filter
dlil_attah_interface_filter
- Subject: dlil_attah_interface_filter
- From: "Carl Smith" <email@hidden>
- Date: Sat, 2 Apr 2005 16:45:01 -0500
- 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden