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:
parent
6fd6b7e50a
commit
e182f31b9e
1 changed files with 1 additions and 0 deletions
|
@ -62,6 +62,7 @@ enum net_ip_protocol {
|
||||||
IPPROTO_UDP = 17, /**< UDP protocol */
|
IPPROTO_UDP = 17, /**< UDP protocol */
|
||||||
IPPROTO_IPV6 = 41, /**< IPv6 protocol */
|
IPPROTO_IPV6 = 41, /**< IPv6 protocol */
|
||||||
IPPROTO_ICMPV6 = 58, /**< ICMPv6 protocol */
|
IPPROTO_ICMPV6 = 58, /**< ICMPv6 protocol */
|
||||||
|
IPPROTO_RAW = 255, /**< RAW IP packets */
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Protocol numbers for TLS protocols */
|
/** Protocol numbers for TLS protocols */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue