Socket Filter NKE for both TCP and UDP
Socket Filter NKE for both TCP and UDP
- Subject: Socket Filter NKE for both TCP and UDP
- From: "Russell Seehafer (RIT Student)" <email@hidden>
- Date: Wed, 21 Jun 2006 17:31:18 -0400
- Thread-topic: Socket Filter NKE for both TCP and UDP
Title: Socket Filter NKE for both TCP and UDP
I was wondering if there is a way to register a socket filter nke (such as the tcplognke sample) so that it is attached to both TCP and UDP sockets. Are there special values to specify for the domain, type, and protocol of the sflt_register function? Or, could it be possible to call sflt_register twice - once for udp and datagram sockets and once for stream and tcp sockets - from within the nke's start function? Any input would be greatly appreciated.
Thanks,
Russ
_______________________________________________
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