From 95124478aefed6b12e0ad0b14da2cd59d0464be8 Mon Sep 17 00:00:00 2001 From: grog Date: Mon, 23 Apr 2001 05:13:18 +0000 Subject: Add address families AF_SLOW and AF_SCLUSTER. These are used by the Sitara QoSworks box. Obtained from: Sitara Networks Inc. --- sys/sys/mount.h | 2 +- sys/sys/socket.h | 9 +++++++-- 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 -#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 }, \ } /* -- cgit v1.1