Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ fn test_apple(target: &str) {
"netinet/ip.h",
"netinet/tcp.h",
"netinet/udp.h",
"netinet/icmp6.h",
"netinet/ip6.h",
"netinet6/in6_var.h",
"os/clock.h",
"os/lock.h",
Expand Down Expand Up @@ -449,6 +451,8 @@ fn test_openbsd(target: &str) {
"netinet/ip.h",
"netinet/tcp.h",
"netinet/udp.h",
"netinet/icmp6.h",
"netinet/ip6.h",
"net/bpf.h",
"regex.h",
"resolv.h",
Expand Down Expand Up @@ -867,6 +871,8 @@ fn test_redox(target: &str) {
"netinet/in.h",
"netinet/ip.h",
"netinet/tcp.h",
"netinet/icmp6.h",
"netinet/ip6.h",
"poll.h",
"pwd.h",
"semaphore.h",
Expand Down Expand Up @@ -945,6 +951,8 @@ fn test_solarish(target: &str) {
"netinet/ip.h",
"netinet/tcp.h",
"netinet/udp.h",
"netinet/icmp6.h",
"netinet/ip6.h",
"poll.h",
"port.h",
"pthread.h",
Expand Down Expand Up @@ -1229,6 +1237,8 @@ fn test_netbsd(target: &str) {
"netinet/ip.h",
"netinet/tcp.h",
"netinet/udp.h",
"netinet/icmp6.h",
"netinet/ip6.h",
"poll.h",
"pthread.h",
"pwd.h",
Expand Down Expand Up @@ -1518,6 +1528,8 @@ fn test_dragonflybsd(target: &str) {
"netinet/ip.h",
"netinet/tcp.h",
"netinet/udp.h",
"netinet/icmp6.h",
"netinet/ip6.h",
"poll.h",
"pthread.h",
"pthread_np.h",
Expand Down Expand Up @@ -1833,6 +1845,8 @@ fn test_android(target: &str) {
"netinet/ip.h",
"netinet/tcp.h",
"netinet/udp.h",
"netinet/icmp6.h",
"netinet/ip6.h",
"netpacket/packet.h",
"poll.h",
"pthread.h",
Expand Down Expand Up @@ -2373,6 +2387,8 @@ fn test_freebsd(target: &str) {
"netinet/sctp.h",
"netinet/tcp.h",
"netinet/udp.h",
"netinet/icmp6.h",
"netinet/ip6.h",
"poll.h",
"pthread.h",
"pthread_np.h",
Expand Down Expand Up @@ -3000,6 +3016,8 @@ fn test_emscripten(target: &str) {
"netinet/ip.h",
"netinet/tcp.h",
"netinet/udp.h",
"netinet/icmp6.h",
"netinet/ip6.h",
"netpacket/packet.h",
"poll.h",
"pthread.h",
Expand Down Expand Up @@ -3268,6 +3286,8 @@ fn test_neutrino(target: &str) {
"netinet/tcp.h",
"netinet/udp.h",
"netinet/ip_var.h",
"netinet/icmp6.h",
"netinet/ip6.h",
"sys/poll.h",
"pthread.h",
"pwd.h",
Expand Down Expand Up @@ -3762,8 +3782,10 @@ fn test_linux(target: &str) {
"netdb.h",
"netinet/in.h",
"netinet/ip.h",
"netinet/ip6.h",
"netinet/tcp.h",
"netinet/udp.h",
"netinet/icmp6.h",
(l4re, "netpacket/packet.h"),
"poll.h",
"pthread.h",
Expand Down Expand Up @@ -5022,6 +5044,7 @@ fn test_haiku(target: &str) {
"netinet/ip_var.h",
"netinet/tcp.h",
"netinet/udp.h",
"netinet/icmp6.h",
"netinet6/in6.h",
"nl_types.h",
"null.h",
Expand Down
1 change: 1 addition & 0 deletions src/unix/bsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ pub const IPV6_UNICAST_HOPS: c_int = 4;
pub const IPV6_MULTICAST_IF: c_int = 9;
pub const IPV6_MULTICAST_HOPS: c_int = 10;
pub const IPV6_MULTICAST_LOOP: c_int = 11;
pub const ICMP6_FILTER: c_int = 18;
pub const IPV6_V6ONLY: c_int = 27;
pub const IPV6_DONTFRAG: c_int = 62;

Expand Down
2 changes: 2 additions & 0 deletions src/unix/linux_like/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,8 @@ pub const IPV6_PMTUDISC_PROBE: c_int = 3;
pub const IPV6_PMTUDISC_INTERFACE: c_int = 4;
pub const IPV6_PMTUDISC_OMIT: c_int = 5;

pub const ICMP6_FILTER: c_int = 1;

pub const TCP_NODELAY: c_int = 1;
pub const TCP_MAXSEG: c_int = 2;
pub const TCP_CORK: c_int = 3;
Expand Down
Loading