net: Add IPPROTO_RAW as it was missing

The IPPROTO_RAW is used as a default for SOCK_RAW when protocol
is not set in socket() call.

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
Jukka Rissanen 2019-09-04 13:11:30 +03:00
commit e182f31b9e

View file

@ -62,6 +62,7 @@ enum net_ip_protocol {
IPPROTO_UDP = 17, /**< UDP protocol */
IPPROTO_IPV6 = 41, /**< IPv6 protocol */
IPPROTO_ICMPV6 = 58, /**< ICMPv6 protocol */
IPPROTO_RAW = 255, /**< RAW IP packets */
};
/** Protocol numbers for TLS protocols */