aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/in_cksum.c
diff options
context:
space:
mode:
authorBill Paul <wpaul@FreeBSD.org>1996-06-25 20:26:38 +0000
committerBill Paul <wpaul@FreeBSD.org>1996-06-25 20:26:38 +0000
commitca09eb424cb0b1b019b46a928a5f9398dc578268 (patch)
tree87865d6ae1ec75af0841f8206b5618b5646e8171 /sys/netinet/in_cksum.c
parentc11bd94104157d5cb286da5951455e297e29654e (diff)
downloadsrc-ca09eb424cb0b1b019b46a928a5f9398dc578268.tar.gz
src-ca09eb424cb0b1b019b46a928a5f9398dc578268.zip
(This import had better work correctly or so help me I'll move to
the Himalayas and become a hermit.) Import new mknetid program. This replaces the crufty, soon to be defunct mknetid script packaged with ypserv. This program parses the group, passwd, hosts and netid databases into the netid.byname map. Duplicate checking is performed using hash tables. Testing on my 486DX2/66 with FreeBSD 2.1.0 showed that this program can process a 30,000-entry passwd database into a netid map (along with assorted group and hosts information) in about 22 seconds. On my SPARC IPX with SunOS 4.1.3, it takes about 15 seconds. This compares favorably with the SunOS mknetid program, which parses the same database(s) in 13 seconds. (With smaller databases, my program is actually slightly faster. Go figure.)
Notes
Notes: svn path=/cvs2svn/branches/WPAUL/dist/; revision=16728
Diffstat (limited to 'sys/netinet/in_cksum.c')
0 files changed, 0 insertions, 0 deletions