about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2016-01-05 16:58:40 +0200
committerRich Felker <dalias@aerifal.cx>2016-01-06 14:31:32 -0500
commitd5f8394f6ea9549607567bd92de12a2446c15614 (patch)
treef3f5bff5ff6092b609c15066567b211813d3fad0 /src
parent5e396fb996a80b035d0f6ecf7fed50f68aa3ebb7 (diff)
downloadmusl-d5f8394f6ea9549607567bd92de12a2446c15614.tar.gz
musl-d5f8394f6ea9549607567bd92de12a2446c15614.tar.xz
musl-d5f8394f6ea9549607567bd92de12a2446c15614.zip
add missing protocols to protoent lookup functions
Diffstat (limited to 'src')
-rw-r--r--src/network/proto.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/src/network/proto.c b/src/network/proto.c
index 43aa17a4..a42d1456 100644
--- a/src/network/proto.c
+++ b/src/network/proto.c
@@ -9,21 +9,36 @@ static const unsigned char protos[] = {
 	"\001icmp\0"
 	"\002igmp\0"
 	"\003ggp\0"
+	"\004ipencap\0"
+	"\005st\0"
 	"\006tcp\0"
+	"\008egp\0"
 	"\014pup\0"
 	"\021udp\0"
-	"\026idp\0"
+	"\024hmp\0"
+	"\026xns-idp\0"
+	"\033rdp\0"
+	"\035iso-tp4\0"
+	"\044xtp\0"
+	"\045ddp\0"
+	"\046idpr-cmtp\0"
 	"\051ipv6\0"
 	"\053ipv6-route\0"
 	"\054ipv6-frag\0"
+	"\055idrp\0"
+	"\056rsvp\0"
 	"\057gre\0"
 	"\062esp\0"
 	"\063ah\0"
+	"\071skip\0"
 	"\072ipv6-icmp\0"
 	"\073ipv6-nonxt\0"
 	"\074ipv6-opts\0"
+	"\111rspf\0"
+	"\121vmtp\0"
 	"\131ospf\0"
 	"\136ipip\0"
+	"\142encap\0"
 	"\147pim\0"
 	"\377raw"
 };