Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multiple Protocol Filters



Does anyone know the process for installing multiple socket based protocol filters from one NKE? For instance, I would like to filter both TCP and UDP from a single extension. I noticed that register_socketfilter()'s definition in kext_net.h says a bit about insert location, but doesn't explain it at all:

/* How to register: filter, insert location, target protosw, flags */
extern int register_sockfilter(struct NFDescriptor *,
struct NFDescriptor *,
struct protosw *, int);


Any advice would be great!

->Ben

--
"If you drink, don't drive. Don't even putt." - Dean Martin
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.