[RTnet-users] encapsuling packets (ethernet over ethercat)
Brought to you by:
bet-frogger,
kiszka
From: Stéphane A. <san...@fr...> - 2014-09-17 12:30:15
|
Hi, I am thinking about an implementation I need, and I am not sure which way will be the best . 1/ I need to catch tcp/ip packets routed from non realtime nic eth0 . 2/ I encapsulate the tcp/ip frames in the final protocol and send the frame request to rteth0 (realtime) 3/ I will receive reply on realtime rteth0 s. I will then remove encapsulation from this frame and send it back to non realtime net through eth0. In this scenario, I will need routing in rtnet stack ? I don't want to manage ARP messages. Do I need tun/tap interface ? ETH0 ===> Encapsulating packet with an application ===> RTETH0 reply : RTETH0 => removing encapsulation => ETH0 Regards, Steph |