I am using a dual eMac controller. More specifically TI's AM437x. I am trying to receive and send ethercat raw packets from one port and send tcp packets on the other.<div><span style="font-size:15px"><br></span></div><div><span style="font-size:15px">Thanks<br></span><br>On Friday, February 10, 2017, Sebastien Blanchet <<a href="javascript:_e(%7B%7D,'cvml','blanchet@iram.fr');" target="_blank">blanchet@iram.fr</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sriram,<br>
<br>
Are you trying to write an EtherCAT slave for a device with a dual ethernet controller ?<br>
<br>
Regards,<br>
---<br>
Sebastien<br>
<br>
<br>
On 02/10/2017 01:29 PM, Sriram V wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Mike,<br>
<br>
I have 2 ethernet ports. I am broadcasting ethercat packets on the<br>
network. This is received by both the ports.<br>
I want to allow ethercat packets ONLY to received by my raw socket<br>
which is bound to one port.<br>
On the other port - I want to allow ethernet packets with IP header<br>
only (non ethercat packets).<br>
<br>
Is this possible.<br>
<br>
Thanks,<br>
Sriram<br>
<br>
On Fri, Feb 10, 2017 at 12:31 PM, Mike O'Connor <<a>mike@oeg.com.au</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On 10/02/2017 4:59 PM, Sriram V wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I wanted to check if i can allow only ethercat packets to be passed to<br>
app layer?<br>
<br>
Basically, I want to process only ethercat packets. Therefore, i want<br>
to kernel to filter out basic IP packets.<br>
<br>
Regards,<br>
Sriram<br>
______________________________<wbr>_________________<br>
etherlab-users mailing list<br>
<a>etherlab-users@etherlab.org</a><br>
<a href="http://lists.etherlab.org/mailman/listinfo/etherlab-users" target="_blank">http://lists.etherlab.org/mail<wbr>man/listinfo/etherlab-users</a><br>
</blockquote>
<br>
The Ethercat packets are actually raw Ethernet frames, so I think you<br>
need to explain what your issue is and from there the list might be able<br>
to help.<br>
<br>
Mike<br>
</blockquote></blockquote>
</blockquote>
</div>