RTM resolve support
RTM resolve support
- Subject: RTM resolve support
- From: Andrew White <email@hidden>
- Date: Thu, 10 Feb 2011 14:12:46 +1100
I have a routing socket. I can do RTM_GET operations fine. However, when
I try to do an RTM_RESOLVE, things don't work.
Run as standard user, I get:
"write failed: Operation not permitted"
OK, so we'll run as root:
"write failed: Operation not supported on socket"
2 questions:
* If I want to do ARP resolution of addresses, is a routing socket the
correct tool? Note that RTM_GET only works if the address is already in
the ARP table. How do I ask the kernel to perform link layer address
resolution if the address isn't currently known (ie force an arp)?
* If RTM_RESOLVE is the correct tool, why is it giving "operation not
supported"?
--
Andrew White
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden