diff options
author | obrien <obrien@FreeBSD.org> | 2005-08-10 06:41:04 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2005-08-10 06:41:04 +0000 |
commit | a76eb9e4d13cf47aeb9ea9514ccac386f01b76fc (patch) | |
tree | 14bb7e4641d48c450b2649170bc78597ca5fa64e | |
parent | d07b8d496ec6e877f4cb3aa65d9f347b873eab6e (diff) | |
download | FreeBSD-src-a76eb9e4d13cf47aeb9ea9514ccac386f01b76fc.zip FreeBSD-src-a76eb9e4d13cf47aeb9ea9514ccac386f01b76fc.tar.gz |
Match IPv6 and use a static struct pr_usrreqs nousrreqs.
-rw-r--r-- | sys/netinet/in_proto.c | 2 | ||||
-rw-r--r-- | sys/sys/protosw.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c index fd01479..95e05b2 100644 --- a/sys/netinet/in_proto.c +++ b/sys/netinet/in_proto.c @@ -69,6 +69,8 @@ * TCP/IP protocol family: IP, ICMP, UDP, TCP. */ +static struct pr_usrreqs nousrreqs; + #ifdef IPSEC #include <netinet6/ipsec.h> #include <netinet6/ah.h> diff --git a/sys/sys/protosw.h b/sys/sys/protosw.h index d93e452..e227ea3 100644 --- a/sys/sys/protosw.h +++ b/sys/sys/protosw.h @@ -242,10 +242,8 @@ struct pr_usrreqs { }; /* - * The dummy protocol specific user requests function pointer array is - * initialized to the functions below. All functions return EOPNOTSUPP. + * below. All functions return EOPNOTSUPP. */ -extern struct pr_usrreqs nousrreqs; int pru_abort_notsupp(struct socket *so); int pru_accept_notsupp(struct socket *so, struct sockaddr **nam); |