Add address families AF_SLOW and AF_SCLUSTER. These are used by the

Sitara QoSworks box.

Obtained from:	Sitara Networks Inc.
This commit is contained in:
Greg Lehey 2001-04-23 05:13:18 +00:00
parent cb541d8f97
commit 4c68f41dda
2 changed files with 8 additions and 3 deletions

View File

@ -380,7 +380,7 @@ struct vfsops {
#include <net/radix.h>
#define AF_MAX 33 /* XXX */
#define AF_MAX 35 /* XXX */
/*
* Network address lookup element

View File

@ -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 }, \
}
/*