Nadym Salem schrieb:
> On Wed, July 25, 2007 14:26, Jan Kiszka wrote:
>> [please keep the list cc'ed]
> 
> Just forgot it that time... ;)
> 
>> Nadym Salem schrieb:
>>> On Wed, July 25, 2007 13:59, Jan Kiszka wrote:
>>> Hi,
>>>
>>>> Nadym Salem schrieb:
>>>>> I am trying to use RTnet with rtmac but without IP Layer. I do not
>>>>> find
>>>>> anything in documentation about how to do that. Is there an API for
>>>>> that,
>>>>> or do I have to geht into sources myself ? Sorry if I was just to
>>>>> blind
>>>>> to
>>>>> find it.
>>>> You may (re-)use the excisting rtnet startup script for this. Just
>>>> clear
>>>> all IP-related variables in rtnet.conf. Information about how to define
>>>> your IP-less nodes in tdma.conf can be found in README.rtmac. You may
>>>> also delete the loading of rtipv4.ko from the rtnet script as this
>>>> currently happens unconditionally.
>>> I didn't mean to configure the system but to build an application
>>> relying
>>> on that system.
>>> To be more concrete (I wasn't that far yesterday :) ), trying to send a
>>> message via rt_dev_xxx (while xxx being any send function of rtdm) I am
>>> not able to find the parameter for the destination address.
>>> If I use rt_dev_sendto I have no idea how to get the mac address into
>>> the
>>> sockaddr struct instead of the IP.
>> Ah, ok. My attention is shared ATM, so be careful with what I suggest. :)
>>
>> Did you already study the packet socket API provided by RTnet (just like
>> Linux)?
> 
> Feeling a little bit blind, that's what I am still searching for ... :-/

Without anything to check at hand: try "man 7 packet". Beyond this, 
there are examples included in Rtnet that exploit this API.

Jan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to