aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer2014-11-14 13:17:14 -0600
committerVishal Mahaveer2014-11-17 17:14:20 -0600
commit1ceac7f720d10bfa4285483027ba75b161e39b13 (patch)
tree176a7e049b7071acc15d83074921e6526d7994da
parent0243046432b7c86843519fda7875db914005bcb6 (diff)
downloadplatform-bionic-d-lollipop-release.tar.gz
platform-bionic-d-lollipop-release.tar.xz
platform-bionic-d-lollipop-release.zip
libc: Add AF_RPMSG and PF_RPMSGd-lollipop-release
Add AF_RPMSG and update AF_MAX accordingly. Also add other missing families. Change-Id: I6744e301abd687cda3f49f3c33785ec867e92489 Signed-off-by: Vishal Mahaveer <vishalm@ti.com>
-rw-r--r--libc/include/sys/socket.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libc/include/sys/socket.h b/libc/include/sys/socket.h
index ae2f2381..7dd87d98 100644
--- a/libc/include/sys/socket.h
+++ b/libc/include/sys/socket.h
@@ -168,7 +168,10 @@ struct ucred {
168#define AF_IEEE802154 36 168#define AF_IEEE802154 36
169#define AF_CAIF 37 169#define AF_CAIF 37
170#define AF_ALG 38 170#define AF_ALG 38
171#define AF_MAX 39 171#define AF_NFC 39
172#define AF_VSOCK 40
173#define AF_RPMSG 41
174#define AF_MAX 42
172 175
173#define PF_UNSPEC AF_UNSPEC 176#define PF_UNSPEC AF_UNSPEC
174#define PF_UNIX AF_UNIX 177#define PF_UNIX AF_UNIX
@@ -209,6 +212,9 @@ struct ucred {
209#define PF_IEEE802154 AF_IEEE802154 212#define PF_IEEE802154 AF_IEEE802154
210#define PF_CAIF AF_CAIF 213#define PF_CAIF AF_CAIF
211#define PF_ALG AF_ALG 214#define PF_ALG AF_ALG
215#define PF_NFC AF_NFC
216#define PF_VSOCK AF_VSOCK
217#define PF_RPMSG AF_RPMSG
212#define PF_MAX AF_MAX 218#define PF_MAX AF_MAX
213 219
214#define SOMAXCONN 128 220#define SOMAXCONN 128