• 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
protocol plumbing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

protocol plumbing


  • Subject: protocol plumbing
  • From: "Doug John" <email@hidden>
  • Date: Mon, 14 Jul 2008 14:33:21 -0700

I need to perform some filtering for an ethernet layer protocol. Similar to the ether_attach_inet in ether_inet_pr_module.c, I've setup my code for attaching my protocol to the interface in the proto_plumb_handler.

However, when I call my plumber registration with:

proto_register_plumber(PF_INET, APPLE_IF_FAM_ETHERNET, proto_attach, proto_detach), it's responding with an EEXISTS error.

Am I doing something wrong here? How can I attach my protocol to a specific interface, ie. en0 or en1?
Should I actually be using an "interface filter" instead of the "protocol plumber"?

Thanks in advance,
Doug
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: protocol plumbing
      • From: Josh Graessley <email@hidden>
  • Prev by Date: Re: POST NSURLRequest, send Response to Web Browser
  • Next by Date: Re: protocol plumbing
  • Previous by thread: Re: What causes a kCFStreamEventEndEncountered
  • Next by thread: Re: protocol plumbing
  • Index(es):
    • Date
    • Thread