summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2015-09-08 19:31:58 +0000
committerRich Felker <dalias@aerifal.cx>2016-01-24 19:19:29 -0500
commit2c9acc51cdf40871625405a7e4a766cccb77ab6f (patch)
tree1142f6187032f8f843e6d358f9abb307c2102e7f /include
parent4da2d96591cfe0e088c366bf2bdf4ef0e47a3220 (diff)
downloadmusl-2c9acc51cdf40871625405a7e4a766cccb77ab6f.tar.gz
musl-2c9acc51cdf40871625405a7e4a766cccb77ab6f.tar.bz2
musl-2c9acc51cdf40871625405a7e4a766cccb77ab6f.tar.xz
musl-2c9acc51cdf40871625405a7e4a766cccb77ab6f.zip
add new IP_BIND_ADDRESS_NO_PORT and IPPROTO_MPLS to netinet/in.h
IP_BIND_ADDRESS_NO_PORT is a SOL_IP socket option to delay src port allocation until connect in case src ip is set with bind(port=0). new in linux v4.2, commit 90c337da1524863838658078ec34241f45d8394d IPPROTO_MPLS protocol number for mpls over ip. new in linux v4.2, commit 730fc4371333636a00fed32c587fc1e85c5367e2
Diffstat (limited to 'include')
-rw-r--r--include/netinet/in.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/netinet/in.h b/include/netinet/in.h
index 1ed3e6fa..622bdfec 100644
--- a/include/netinet/in.h
+++ b/include/netinet/in.h
@@ -103,6 +103,7 @@ uint16_t ntohs(uint16_t);
#define IPPROTO_SCTP 132
#define IPPROTO_MH 135
#define IPPROTO_UDPLITE 136
+#define IPPROTO_MPLS 137
#define IPPROTO_RAW 255
#define IPPROTO_MAX 256
@@ -200,6 +201,7 @@ uint16_t ntohs(uint16_t);
#define IP_MINTTL 21
#define IP_NODEFRAG 22
#define IP_CHECKSUM 23
+#define IP_BIND_ADDRESS_NO_PORT 24
#define IP_MULTICAST_IF 32
#define IP_MULTICAST_TTL 33
#define IP_MULTICAST_LOOP 34