M. Koehrer wrote: > Hi everybody, > > I want to send out ARP requests directly out of my user space rtnet > application (Xenomai). > I.e. I have create a socket by rt_dev_socket and have this bound to one of my > real time > ethernet adapters (I have two or three of them) using rt_dev_bind. > Now I want to send ARP requests from this ethernet adapter to some of the > connected embedded > devices. This has to be done to set the rtnet routing table correctly. > Currently I do this by calling rtroute solicit as separate program out of my > application. > However, this is not really nice... > Is there way that allows me to send the ARP requests directly from my real > time application (e.g. by > using a rt_dev_ioctl call on the bound socket)?
You could talk to /dev/rtnet directly, take a look at how rtroute works. Just note that this API (/dev/rtnet) is not to stay forever. I hope we can convert it into ioctls for RTnet sockets one day (like the CAN stack of Xenomai works). Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users