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

Re: protocol plumbing


  • Subject: Re: protocol plumbing
  • From: Josh Graessley <email@hidden>
  • Date: Mon, 14 Jul 2008 15:08:52 -0700


That call is attempting to register a plumber for IP over Ethernet. The system already ships with support for ip over Ethernet. The plumber kpi is provided so third parties can support system supplied protocols such as IP over interfaces other than Ethernet such as ATM or Tokenring.

Sent from my iPhone

On Jul 14, 2008, at 14:33, Doug John <email@hidden> wrote:

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: "Doug John" <email@hidden>
References: 
 >protocol plumbing (From: "Doug John" <email@hidden>)

  • Prev by Date: protocol plumbing
  • Next by Date: MoreCRC - target of assignment not really an lvalue; this will be a hard error in the future
  • Previous by thread: protocol plumbing
  • Next by thread: Re: protocol plumbing
  • Index(es):
    • Date
    • Thread