summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2001-04-23 05:13:18 +0000
committergrog <grog@FreeBSD.org>2001-04-23 05:13:18 +0000
commit95124478aefed6b12e0ad0b14da2cd59d0464be8 (patch)
treebfe10fe7e868d51e9f7613de8aadd9105390e7e4
parent3cddd0dd36d8566c7aea90aebd787450109b601f (diff)
downloadFreeBSD-src-95124478aefed6b12e0ad0b14da2cd59d0464be8.zip
FreeBSD-src-95124478aefed6b12e0ad0b14da2cd59d0464be8.tar.gz
Add address families AF_SLOW and AF_SCLUSTER. These are used by the
Sitara QoSworks box. Obtained from: Sitara Networks Inc.
-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