Make pr_domain and pr_usrreqs pointers to const. The general stack is not
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Thu, 3 Jun 2004 16:21:22 +0000 (16:21 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Thu, 3 Jun 2004 16:21:22 +0000 (16:21 +0000)
commit68925b20eb431f4ee7803c7b8cba127efd06195b
treee3e22cd2d5cbb4bbaaaf63fe3a22c0e7b8335f89
parentb310dfc421f82adcc78c24f4696569db02cbfcc0
Make pr_domain and pr_usrreqs pointers to const. The general stack is not
supposed to change this and it allows us to make all this structures
const like they should be. If a network protocol wants to modify them,
they can still either modify the private version directly or create a copy
and change that.
sys/netinet/ipprotosw.h
sys/netinet6/ip6protosw.h
sys/netinet6/udp6_usrreq.c
sys/sys/protosw.h