Match IPv6 and use a static struct pr_usrreqs nousrreqs.

This commit is contained in:
David E. O'Brien 2005-08-10 06:41:04 +00:00
parent 6ca6f60b07
commit 31793d594b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=148918
2 changed files with 3 additions and 3 deletions

View File

@ -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>

View File

@ -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);