add AF_MPLS (PF_MPLS) address family to socket.h
authorSzabolcs Nagy <nsz@port70.net>
Fri, 26 Jun 2015 20:32:24 +0000 (20:32 +0000)
committerRich Felker <dalias@aerifal.cx>
Mon, 25 Jan 2016 00:18:21 +0000 (19:18 -0500)
new in linux 4.0 commit 0189197f441602acdca3f97750d392a895b778fd.

include/sys/socket.h

index 8a015a86378256530dd11ac2b838aeb4d1fbb191..a4db94026336fbd0c95b4ca4afc3cbad5b4ce9fe 100644 (file)
@@ -96,6 +96,7 @@ struct linger
 #define PF_WANPIPE      25
 #define PF_LLC          26
 #define PF_IB           27
+#define PF_MPLS         28
 #define PF_CAN          29
 #define PF_TIPC         30
 #define PF_BLUETOOTH    31
@@ -141,6 +142,7 @@ struct linger
 #define AF_WANPIPE      PF_WANPIPE
 #define AF_LLC          PF_LLC
 #define AF_IB           PF_IB
+#define AF_MPLS         PF_MPLS
 #define AF_CAN          PF_CAN
 #define AF_TIPC         PF_TIPC
 #define AF_BLUETOOTH    PF_BLUETOOTH