lkml.org 
[lkml]   [1999]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.041 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site