As network features are not added dynamically, the domain structures
authorbluhm <bluhm@openbsd.org>
Tue, 25 May 2021 22:45:09 +0000 (22:45 +0000)
committerbluhm <bluhm@openbsd.org>
Tue, 25 May 2021 22:45:09 +0000 (22:45 +0000)
commitc90e7dcc542051a01f90b10cd7a2fe56922204d3
tree0161086cff9ddc049f51f11bd80d74954891a3b5
parent8fe98976a8bf451af22e05d035c9e9aed71e14f7
As network features are not added dynamically, the domain structures
are constant.  Having more const makes MP review easier.  More
pointers are mapped read-only in the kernel image.
OK deraadt@ mvs@
15 files changed:
sys/kern/uipc_domain.c
sys/kern/uipc_proto.c
sys/kern/uipc_socket.c
sys/kern/uipc_usrreq.c
sys/net/if.c
sys/net/pfkeyv2.c
sys/net/route.c
sys/net/rtable.c
sys/net/rtsock.c
sys/netinet/in_proto.c
sys/netinet6/in6_proto.c
sys/netmpls/mpls.h
sys/netmpls/mpls_proto.c
sys/sys/domain.h
sys/sys/protosw.h