rigth crc32 implementation

Christian Weisgerber naddy at mips.inka.de
Tue Apr 26 11:48:22 PDT 2005


Jose M Rodriguez <josemi at freebsd.jazztel.es> wrote:

> Working on usb_adslsubr{.c,.h}
> 
> About how to implement crc32
> 
> My first think was use the libkern based one, but I found:
> sys/linkern/crc32.c

Not sure what's required for usb_adsl, but just about all the
ethernet drivers use ether_crc32_be() or ether_crc32_le() from
sys/net/if_ethersubr.c.

-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de



More information about the freebsd-current mailing list