From 0f8ad40be0586907f12a72be1985df68e411b093 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sat, 20 Aug 2016 17:04:05 +0200 Subject: [PATCH] add PF_QIPCRTR, AF_QIPCRTR from linux v4.7 to sys/socket.h macros for qualcom ip router protocol, new in linux commit bdabad3e363d825ddf9679dd431cca0b2c30f881 --- include/sys/socket.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/sys/socket.h b/include/sys/socket.h index 59ab1e2f..8664779a 100644 --- a/include/sys/socket.h +++ b/include/sys/socket.h @@ -107,7 +107,8 @@ struct linger { #define PF_NFC 39 #define PF_VSOCK 40 #define PF_KCM 41 -#define PF_MAX 42 +#define PF_QIPCRTR 42 +#define PF_MAX 43 #define AF_UNSPEC PF_UNSPEC #define AF_LOCAL PF_LOCAL @@ -154,6 +155,7 @@ struct linger { #define AF_NFC PF_NFC #define AF_VSOCK PF_VSOCK #define AF_KCM PF_KCM +#define AF_QIPCRTR PF_QIPCRTR #define AF_MAX PF_MAX #ifndef SO_DEBUG -- 2.25.1