Messages in this thread | | | Date | Tue, 11 May 1999 15:26:11 +0300 (EEST) | From | Dan Forsberg <> | Subject | Re: Suggestion(?): new ioctl: "resolve hw address and update arp cache" |
| |
alan> > There could be a new ioctl which returns the arp entry for an ip address alan> > even if it's not in arp cache? If it's not in cache then kernel could send alan> > a arp message and find it out. Or perhaps it could be better to include it alan> alan> So could your application ...
Yes sure, but if I send a arp request I need to listen all arp responses and the arp cache isn't updated.
Simple solution in the application is to send something to the host but that's a kludge ;). And I don't want to send extra packets.
Is it possible to get the mac address for a received ip packet in user space (negative offset or something)? That could save my day.
Cheers,
-- Dan.Forsberg@iki.fi Student & Admin HUT/CS http://www.iki.fi/Dan.Forsberg finger dforsber@niksula.cs.hut.fi
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |