diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-05-10 12:47:00 -0700 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2012-05-11 09:58:37 +0800 |
commit | eb96ccd94246c80940c9678e7240efe6e6f27eb6 (patch) | |
tree | b2f5263c55e1c959e1204db9bb7502bb3255eca8 /bits | |
parent | 98ad4511a63b3f3495b1f596e2bfc7cfef133189 (diff) |
Hurd: Add SOL_IP, SOL_IPV6, SOL_ICMPV6
(cherry picked from commit 6178c55bdbb1e434b594e5f8563b6948f8f3edc0)
Conflicts:
ChangeLog
Diffstat (limited to 'bits')
-rw-r--r-- | bits/in.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -21,6 +21,9 @@ # error "Never use <bits/in.h> directly; include <netinet/in.h> instead." #endif +/* To select the IP level. */ +#define SOL_IP 0 + /* Options for use with `getsockopt' and `setsockopt' at the IP level. The first word in the comment at the right is the data type used; "bool" means a boolean value stored in an `int'. */ @@ -47,6 +50,10 @@ struct ip_opts char ip_opts[40]; /* Actually variable in size. */ }; +/* Socket-level values for IPv6. */ +#define SOL_IPV6 41 +#define SOL_ICMPV6 58 + /* IPV6 socket options. */ #define IPV6_ADDRFORM 1 #define IPV6_PKTINFO 2 |