add native mode atm protocol info, also ensure AF number remain sync'd

with freebsd.
This commit is contained in:
chuck 1996-07-04 03:15:39 +00:00
parent 0fe65e632b
commit 39623a6c40
1 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: socket.h,v 1.16 1996/05/03 09:23:22 neil Exp $ */
/* $NetBSD: socket.h,v 1.17 1996/07/04 03:15:39 chuck Exp $ */
/*
* Copyright (c) 1982, 1985, 1986, 1988, 1993, 1994
@ -121,8 +121,11 @@ struct linger {
#define AF_IPX 23 /* Novell Internet Protocol */
#define AF_SIP 24 /* Simple Internet Protocol */
#define pseudo_AF_PIP 25 /* Help Identify PIP packets */
#define AF_ISDN 26 /* Integrated Services Digital Network*/
#define AF_E164 AF_ISDN /* CCITT E.164 recommendation */
#define AF_NATM 27 /* native ATM access */
#define AF_MAX 26
#define AF_MAX 28
/*
* Structure used by kernel to store most
@ -174,6 +177,7 @@ struct sockproto {
#define PF_IPX AF_IPX /* same format as AF_NS */
#define PF_RTIP pseudo_AF_FTIP /* same format as AF_INET */
#define PF_PIP pseudo_AF_PIP
#define PF_NATM AF_NATM
#define PF_MAX AF_MAX
@ -214,6 +218,7 @@ struct sockproto {
{ "ipx", CTLTYPE_NODE }, \
{ "sip", CTLTYPE_NODE }, \
{ "pip", CTLTYPE_NODE }, \
{ "natm", CTLTYPE_NODE }, \
}
/*