Re: [RTnet-developers] Ethernet IP
Brought to you by:
bet-frogger,
kiszka
|
From: Glen W. <gl...@je...> - 2011-01-27 17:27:02
|
Hi All,
Well, I am now into my program.
I have rt_dev_select working and it detects an incoming TCP connection.
However, when I go to rt_dev_accept(), it returns function not implemented.
I can it find it use in any RTNET examples.
Any ideas?
Glen
On 1/26/11 3:34 AM, "Jan Kiszka" <jan...@we...> wrote:
> On 2011-01-19 00:48, Glen Wernersbach wrote:
>> Hi All,
>>
>> Well, I now have script to the point where I an ping non RTNET devices. I am
>> now trying to get my RTNET stack to accept and send TCP and UDP packets
>> from/to non RTNET stack devices.
>>
>> Again, I am only using RTNET for the real time NIC, UDP and TCP drivers.
>>
>> The Ethernet IP spec makes use of Administrative scoping broad cast address.
>> To get my program working on non RTNET stack, I have to issue this routing
>> command:
>> route add -net 224.0.0.0 netmask 240.0.0.0 dev eth3
>>
>> While the actual scope could be less than the command above, do you know how
>> I would do the same command with RTROUTE which has difference syntax.
>>
>
> For sending any IP frame to and RTnet segment, you need to specify both
> the destination device ("rtethX") and the destination MAC which is
> FF:FF:FF:FF:FF:FF in this case. However, you can't specify this for a
> complete range of addresses like in the above case, you need to tell the
> precise 224.x.x.x address(es). Network routes are also possible, but
> they are then targeting a specific gateway via its IP.
>
> More on this in Documentation/README.routing.
>
> Jan
>
--
Glen Wernersbach
President & CTO
Jetsoft Development Co.
629 Old St Rt. 74 Suite 210
Cincinnati, Oh 45244
Custom Programming Web Site: www.jetsoftdev.com
Retail Products Web Site: www.scanhelp.com
Phone: 513-528-6660
Fax: 513-528-3470
----
"Support Dyslexia Research"
|