Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/sys/socket.h,v retrieving revision 1.89 retrieving revision 1.89.16.1 diff -u -p -r1.89 -r1.89.16.1 --- src/sys/sys/socket.h 2007/09/19 04:33:45 1.89 +++ src/sys/sys/socket.h 2008/02/22 02:53:34 1.89.16.1 @@ -1,4 +1,4 @@ -/* $NetBSD: socket.h,v 1.89 2007/09/19 04:33:45 dyoung Exp $ */ +/* $NetBSD: socket.h,v 1.89.16.1 2008/02/22 02:53:34 keiichi Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -200,8 +200,11 @@ struct linger { in interface output routine */ #endif #define AF_BLUETOOTH 31 /* Bluetooth: HCI, SCO, L2CAP, RFCOMM */ +#if defined(_NETBSD_SOURCE) +#define pseudo_AF_MOBILITY 32 /* IP mobility */ +#endif -#define AF_MAX 32 +#define AF_MAX 33 /* * Structure used by kernel to store most @@ -290,6 +293,7 @@ struct sockaddr_storage { #define PF_KEY pseudo_AF_KEY /* like PF_ROUTE, only for key mgmt */ #endif #define PF_BLUETOOTH AF_BLUETOOTH +#define PF_MOBILITY pseudo_AF_MOBILITY #define PF_MAX AF_MAX