Add FEATURE() definitions for IPv4 and IPv6 so that we can use
feature_present(3) to dynamically decide whether to use one or the other family. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 10 days
This commit is contained in:
parent
81e2a01a77
commit
8d5a3ca77b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=222272
@ -106,6 +106,8 @@ static struct pr_usrreqs nousrreqs;
|
||||
#include <net/if_pfsync.h>
|
||||
#endif
|
||||
|
||||
FEATURE(inet, "Internet Protocol version 4");
|
||||
|
||||
extern struct domain inetdomain;
|
||||
|
||||
/* Spacer for loadable protocols. */
|
||||
|
@ -133,6 +133,7 @@ __FBSDID("$FreeBSD$");
|
||||
/*
|
||||
* TCP/IP protocol family: IP6, ICMP6, UDP, TCP.
|
||||
*/
|
||||
FEATURE(inet6, "Internet Protocol version 6");
|
||||
|
||||
extern struct domain inet6domain;
|
||||
static struct pr_usrreqs nousrreqs;
|
||||
|
Loading…
Reference in New Issue
Block a user