Match IPv6 and use a static struct pr_usrreqs nousrreqs.
This commit is contained in:
parent
6ca6f60b07
commit
31793d594b
@ -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>
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user