|
|
|
|
|
|
| Author |
Message |
Poul-Henning Kamp *nix forums Guru
Joined: 21 Mar 2002
Posts: 436
|
Posted: Wed May 29, 2002 6:15 pm Post subject:
CRC32 derived questions...
|
|
|
I noticed that Marcel put a crc32 function in geom_gpt, and wondered if
we didn't have one some other place already.
Sure enough, we did. In if_wi.c. And in libz. And in if_sbni.c (in
assembler even).
Then I tried to put one copy in libkern but ran into conflicts with zlib.h.
And that made me wonder: Why on earth is sys/zlib.h in net/zlib.h ???
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message |
|
| Back to top |
|
 |
Peter Wemm *nix forums Guru Wannabe
Joined: 11 Apr 2002
Posts: 113
|
Posted: Wed May 29, 2002 10:35 pm Post subject:
Re: CRC32 derived questions...
|
|
|
Poul-Henning Kamp wrote:
| Quote: | Then I tried to put one copy in libkern but ran into conflicts with zlib.h.
And that made me wonder: Why on earth is sys/zlib.h in net/zlib.h ???
|
net/zlib.c and net/zlib.h are hacked versions that are part of the
in-kernel pppd. I would be suprised if the more modern versions of zlib
didn't have the extra API's that pppd needs.
We have a decompress-only kern/inflate.c. We could probably gather a
more modern zlib library and replace net/zlib* and kern/inflate.c
Cheers,
-Peter
--
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Thu Jan 08, 2009 6:20 am | All times are GMT
|
|
Car Loan | Personal Loans | Libros medicina | Bankruptcy | Charity Gifts
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|