From c7ca8f3a6332638021b9ae99e1ce15739350ee98 Mon Sep 17 00:00:00 2001 From: Greg Hackmann Date: Thu, 28 Jan 2016 11:07:26 -0800 Subject: [PATCH] socket.h: update AF_* constants Change-Id: I8ca219fa429ca8d8f872ed1db98275cd1a06f00b Signed-off-by: Greg Hackmann --- libc/include/sys/socket.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libc/include/sys/socket.h b/libc/include/sys/socket.h index c0720b836..c7e9acc38 100644 --- a/libc/include/sys/socket.h +++ b/libc/include/sys/socket.h @@ -164,7 +164,9 @@ struct ucred { #define AF_IEEE802154 36 #define AF_CAIF 37 #define AF_ALG 38 -#define AF_MAX 39 +#define AF_NFC 39 +#define AF_VSOCK 40 +#define AF_MAX 41 #define PF_UNSPEC AF_UNSPEC #define PF_UNIX AF_UNIX @@ -205,6 +207,8 @@ struct ucred { #define PF_IEEE802154 AF_IEEE802154 #define PF_CAIF AF_CAIF #define PF_ALG AF_ALG +#define PF_NFC AF_NFC +#define PF_VSOCK AF_VSOCK #define PF_MAX AF_MAX #define SOMAXCONN 128