Reading raw ethernet

Julian Elischer julian at elischer.org
Tue Aug 23 03:31:40 GMT 2005


Paul Khavkine wrote:
> On Mon, 22 Aug 2005, Julian Elischer wrote:
> 
> 
>>Paul Khavkine wrote:
>>
>>>Julian.
>>>
>>>
>>>
>>>>>>You should probably look at the ng_etf node too BTW.
>>>>>
>>>>>
>>>>>How does ng_etf deal with that ?
>>>>
>>>>no, but as an example of something that is designed to be attached directly
>>>>to the ng_ether nodes.
>>>
>>>
>>>in ng_etf, do you check ethertype for only Ethernet II frames ? or also
>>>802.3 frames ?
>>
>>only ethertype, but it would probably only take you about 3 hours to add in
>>the other..
> 
> 
> 30 min, haven't tested it yet though, still trying to figure out the
> netgraph library.

I was including testing and learning :-)

The library shouldn't be needed unless you want to control it from a C program.
you should be able to do anything that needs to be done from ngctl.


> 
> Will send you the code when i have a chance to test it if you want.
> 
> 
> C


More information about the freebsd-net mailing list