Jan Kiszka wrote:
> Marco Pantaleoni wrote:
>> One last thing: as the interface index (for sll_ifindex) I've to use 2
>> for rteth0, 3 for rteth1, ... which seems off by 1. Is there any
>> explanation?
> 
> rtlo likely uses index 1 on your box (when being loaded first). There is
> no fixed relation between device and name index (just like under Linux).
> But we may introduce the SIOCGIFINDEX for resolving this in software
> easily, should be a trivial patch. I'm just lacking my third and forth
> hands right now. ;)

Support for SIOCGIFINDEX has been added to SVN head. See also
examples/xenomai/native/rtnet_ifs.c for the usage.

Jan

Attachment: 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

Reply via email to