[En-Nut-Discussion] FW: Raw Ethernet Question

Coleman Brumley cbrumley at polarsoft.biz
Mon Jun 25 22:19:47 CEST 2007


I'm using an AT91SAM7256-EK board and I need to be able to handle raw
Ethernet packets (802-3).  How would I go about this?  Preferably, I'd like
to not have to re-compile Nut/OS.  I'm in a Windows environment, using SAM
Studio v0.2.   

I see in /arch/arm/dev/at91sam7x_emac.c that NutEtherInput is called upon
receiving Ethernet packets.  However, I believe that the packets I need are
being thrown out by this function since they aren't TCP or ARP types.  Is
there a way to intercept these packets and handle them in my code?  Do I
need to modify /net/ethin.c and call my handler? 

Any ideas?

Thanks in advance,
Coleman Brumley
--
PolarSoftR Inc.
206 Alexander Ave.
Greensburg PA 15601
cbrumley at polarsoft.biz
www.polarsoft.biz
724-219-3387




More information about the En-Nut-Discussion mailing list