Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Matt Thomas <matt@netbsd.org>
List: source-changes
Date: 04/22/2004 01:01:42
Module Name: src
Committed By: matt
Date: Thu Apr 22 01:01:42 UTC 2004
Modified Files:
src/sys/dev: kttcp.c
src/sys/kern: uipc_domain.c uipc_mbuf.c uipc_proto.c uipc_socket.c
src/sys/net: if.c if_stf.c rtsock.c
src/sys/netatalk: at.h at_proto.c
src/sys/netccitt: ccitt_proto.c llc_subr.c pk_input.c
src/sys/netinet: if_arp.c in_gif.c in_proto.c ip_fil_netbsd.c
ip_input.c ip_mroute.c ip_var.h
src/sys/netinet6: in6_gif.c in6_proto.c ip6protosw.h
src/sys/netiso: clnp_input.c cons_pcb.h iso.h iso_proto.c tp_subr2.c
src/sys/netkey: keysock.c
src/sys/netns: ns_proto.c
src/sys/sys: domain.h protosw.h socketvar.h
Log Message:
Constify protosw arrays. This can reduce the kernel .data section by
over 4K (if all the network protocols) are loaded.
To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/sys/dev/kttcp.c
cvs rdiff -r1.46 -r1.47 src/sys/kern/uipc_domain.c
cvs rdiff -r1.80 -r1.81 src/sys/kern/uipc_mbuf.c
cvs rdiff -r1.14 -r1.15 src/sys/kern/uipc_proto.c
cvs rdiff -r1.98 -r1.99 src/sys/kern/uipc_socket.c
cvs rdiff -r1.140 -r1.141 src/sys/net/if.c
cvs rdiff -r1.37 -r1.38 src/sys/net/if_stf.c
cvs rdiff -r1.69 -r1.70 src/sys/net/rtsock.c
cvs rdiff -r1.4 -r1.5 src/sys/netatalk/at.h src/sys/netatalk/at_proto.c
cvs rdiff -r1.14 -r1.15 src/sys/netccitt/ccitt_proto.c
cvs rdiff -r1.18 -r1.19 src/sys/netccitt/llc_subr.c
cvs rdiff -r1.22 -r1.23 src/sys/netccitt/pk_input.c
cvs rdiff -r1.95 -r1.96 src/sys/netinet/if_arp.c
cvs rdiff -r1.34 -r1.35 src/sys/netinet/in_gif.c
cvs rdiff -r1.62 -r1.63 src/sys/netinet/in_proto.c
cvs rdiff -r1.4 -r1.5 src/sys/netinet/ip_fil_netbsd.c
cvs rdiff -r1.198 -r1.199 src/sys/netinet/ip_input.c
cvs rdiff -r1.83 -r1.84 src/sys/netinet/ip_mroute.c
cvs rdiff -r1.67 -r1.68 src/sys/netinet/ip_var.h
cvs rdiff -r1.37 -r1.38 src/sys/netinet6/in6_gif.c
cvs rdiff -r1.56 -r1.57 src/sys/netinet6/in6_proto.c
cvs rdiff -r1.14 -r1.15 src/sys/netinet6/ip6protosw.h
cvs rdiff -r1.28 -r1.29 src/sys/netiso/clnp_input.c
cvs rdiff -r1.8 -r1.9 src/sys/netiso/cons_pcb.h
cvs rdiff -r1.14 -r1.15 src/sys/netiso/iso.h
cvs rdiff -r1.15 -r1.16 src/sys/netiso/iso_proto.c
cvs rdiff -r1.25 -r1.26 src/sys/netiso/tp_subr2.c
cvs rdiff -r1.27 -r1.28 src/sys/netkey/keysock.c
cvs rdiff -r1.12 -r1.13 src/sys/netns/ns_proto.c
cvs rdiff -r1.16 -r1.17 src/sys/sys/domain.h
cvs rdiff -r1.33 -r1.34 src/sys/sys/protosw.h
cvs rdiff -r1.73 -r1.74 src/sys/sys/socketvar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.