Hi Brett,<br><br>I have not looked into this in much detail, but since RTEMS' network stack is ported from FreeBSD, you may be able to use the Berkley Packet Filter (bpf) API for this.<br><br><br><br>-- dc<br><br><br><div class="gmail_quote">

On Thu, Apr 14, 2011 at 2:23 PM, Brett Swimley <span dir="ltr"><<a href="mailto:brett.swimley@aedbozeman.com">brett.swimley@aedbozeman.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<span style="border-collapse:collapse;color:rgb(136, 136, 136);font-family:arial, sans-serif;font-size:13px">Hi All,<div><br></div><div>I'm attempting to add Ethernet Layer communications to an interface, but I am unsure if there is an API exposed for doing this in the current networking stack.  I'm considering porting libpcap to RTEMS to accommodate this, unless there's an easier way.</div>




<div><br></div><div>So I'm wondering:</div><div><br></div><div>Is there a way to both send and receive Ethernet layer packets with the existing API and if not...</div><div><br></div><div>Has anyone ported libpcap to RTEMS?  I'm considering doing this, as the licensing is BSD with no advertising clause, but if someone has already done this, would they be willing to provide code for doing this?</div>




<div><br></div><div><br></div><div>Thanks in advance,</div><div><br></div><font color="#888888"><div>Brett Swimley</div><div><br></div></font></span><font color="#888888"></font>
<br>_______________________________________________<br>
rtems-users mailing list<br>
<a href="mailto:rtems-users@rtems.org">rtems-users@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-users" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-users</a><br>
<br></blockquote></div><br>