protocol plumbing
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