X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fnetwork%2Fproto.c;h=46ecca892bd2c553e2d2fb7ee42e323f1e92a8f2;hb=41421d6beb3f17aa8838f7cdaad9cd16b4c451f6;hp=8c25c53a55302ac9a1a4f1783520b2cae7c62b15;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/network/proto.c b/src/network/proto.c index 8c25c53a..46ecca89 100644 --- a/src/network/proto.c +++ b/src/network/proto.c @@ -1,11 +1,10 @@ #include -#include #include /* do we really need all these?? */ static int idx; -static const unsigned char protos[][6] = { +static const unsigned char protos[][8] = { "\000ip", "\001icmp", "\002igmp", @@ -14,7 +13,15 @@ static const unsigned char protos[][6] = { "\014pup", "\021udp", "\026idp", - "\377raw" + "\051ipv6", + "\057gre", + "\062esp", + "\063ah", + "\072icmpv6", + "\131ospf", + "\136ipip", + "\147pim", + "\377raw", "\0\0" };