Ethernet Layer communications

Daron Chabot daron.chabot at
Thu Apr 14 20:30:49 UTC 2011

Hi Brett,

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.

-- dc

On Thu, Apr 14, 2011 at 2:23 PM, Brett Swimley <brett.swimley at
> wrote:

> Hi All,
> 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.
> So I'm wondering:
> Is there a way to both send and receive Ethernet layer packets with the
> existing API and if not...
> 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?
> Thanks in advance,
> Brett Swimley
> _______________________________________________
> rtems-users mailing list
> rtems-users at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the users mailing list