Re: protocol plumbing
Re: protocol plumbing
- Subject: Re: protocol plumbing
- From: "Doug John" <email@hidden>
- Date: Thu, 17 Jul 2008 12:58:03 -0700
So, is an "interface filter" the way to go for custom ethernet protocols on existing ethernet connections?I need to search through every incoming packet to find my specific ethernet type?
On Mon, Jul 14, 2008 at 3:08 PM, Josh Graessley <
email@hidden> wrote:
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
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)
This email sent to email@hidden
_______________________________________________
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