summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/sys/mount.h2
-rw-r--r--sys/sys/socket.h9
2 files changed, 8 insertions, 3 deletions
diff --git a/sys/sys/mount.h b/sys/sys/mount.h
index fdd5d44..c522c18 100644
--- a/sys/sys/mount.h
+++ b/sys/sys/mount.h
@@ -380,7 +380,7 @@ struct vfsops {
#include <net/radix.h>
-#define AF_MAX 33 /* XXX */
+#define AF_MAX 35 /* XXX */
/*
* Network address lookup element
diff --git a/sys/sys/socket.h b/sys/sys/socket.h
index b29497a..dfa90fa 100644
--- a/sys/sys/socket.h
+++ b/sys/sys/socket.h
@@ -152,8 +152,9 @@ struct accept_filter_arg {
* in interface output routine
*/
#define AF_NETGRAPH 32 /* Netgraph sockets */
-
-#define AF_MAX 33
+#define AF_SLOW 33 /* 802.3ad slow protocol */
+#define AF_SCLUSTER 34 /* Sitara cluster protocol */
+#define AF_MAX 35
/*
* Structure used by kernel to store most
@@ -229,6 +230,8 @@ struct sockaddr_storage {
#define PF_NATM AF_NATM
#define PF_ATM AF_ATM
#define PF_NETGRAPH AF_NETGRAPH
+#define PF_SLOW AF_SLOW
+#define PF_SCLUSTER AF_SCLUSTER
#define PF_MAX AF_MAX
@@ -276,6 +279,8 @@ struct sockaddr_storage {
{ "atm", CTLTYPE_NODE }, \
{ "hdrcomplete", CTLTYPE_NODE }, \
{ "netgraph", CTLTYPE_NODE }, \
+ { "snp", CTLTYPE_NODE }, \
+ { "scp", CTLTYPE_NODE }, \
}
/*
OpenPOWER on IntegriCloud