• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Socket Filter NKE for both TCP and UDP
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Socket Filter NKE for both TCP and UDP


  • Subject: Re: Socket Filter NKE for both TCP and UDP
  • From: Peter Lovell <email@hidden>
  • Date: Mon, 26 Jun 2006 08:00:15 -0400


On Jun 21, 2006, at 7:17 PM, Russ Seehafer wrote:


Be sure you have a pointer

struct and a separate signature for each, though. So it's one kext

with a bunch of entry points, two structs and two signatures.


Are you speaking of the sflt_filter structure? Is it necessary to have

a different structure with different function pointers for each

registration?


Exactly. You need a handle for each registration, so you need a separate structure to hold each one.

The entries in each can all point to the same routines for attach, detach etc of course. Or you can have a  few of them point to specific versions for each registration. In my case, I use this to differentiate between TCP/UDP and between IPv4 and v6.

Cheers.....Peter
 _______________________________________________
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

References: 
 >Socket Filter NKE for both TCP and UDP (From: "Russell Seehafer (RIT Student)" <email@hidden>)
 >Re: Socket Filter NKE for both TCP and UDP (From: Peter Lovell <email@hidden>)
 >Re: Socket Filter NKE for both TCP and UDP (From: "Russ Seehafer" <email@hidden>)

  • Prev by Date: Re: not registry member at registerService()
  • Next by Date: kextunload problem
  • Previous by thread: Re: Socket Filter NKE for both TCP and UDP
  • Next by thread: Re: Socket Filter NKE for both TCP and UDP
  • Index(es):
    • Date
    • Thread