move src/syscall to src/lib/syscall.

enforce rule: all kernel data structures and constants
	go in syscall module.
move things that should be in syscall out of net.
make net a single package.

R=r
OCL=15985
CL=15994
This commit is contained in:
Russ Cox 2008-09-26 14:11:26 -07:00
parent 2662aad7b7
commit 6201a963f1
34 changed files with 2145 additions and 552 deletions

View file

@ -10,7 +10,7 @@
// This library accepts either size of byte array but always
// returns 16-byte addresses.
package ip
package net
export const (
IPv4len = 4;