diff options
author | Benjamin Saunders <ben.e.saunders@gmail.com> | 2018-12-15 01:18:36 -0800 |
---|---|---|
committer | Benjamin Saunders <ben.e.saunders@gmail.com> | 2018-12-15 01:18:54 -0800 |
commit | 26c34b7e92f4889c3ffe76c2e119094696d4ebe8 (patch) | |
tree | ddd1d2464ffb3f8dbc30ce1eceba3e6b13b9fc07 | |
parent | 948f2ab622cc2807b4be01841437b1061fa4b300 (diff) | |
download | rust-libc-26c34b7e92f4889c3ffe76c2e119094696d4ebe8.tar.gz |
No IP_RECVTOS for DragonFlyBSD
-rw-r--r-- | src/unix/bsd/freebsdlike/freebsd/mod.rs | 1 | ||||
-rw-r--r-- | src/unix/bsd/freebsdlike/mod.rs | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs index 1ead1665b5..03b19eb7c1 100644 --- a/src/unix/bsd/freebsdlike/freebsd/mod.rs +++ b/src/unix/bsd/freebsdlike/freebsd/mod.rs @@ -803,6 +803,7 @@ pub const TCP_PCAP_OUT: ::c_int = 2048; pub const TCP_PCAP_IN: ::c_int = 4096; pub const IP_BINDANY: ::c_int = 24; +pub const IP_RECVTOS: ::c_int = 68; pub const PF_SLOW: ::c_int = AF_SLOW; pub const PF_SCLUSTER: ::c_int = AF_SCLUSTER; diff --git a/src/unix/bsd/freebsdlike/mod.rs b/src/unix/bsd/freebsdlike/mod.rs index 7b7724ac81..1dc559aff3 100644 --- a/src/unix/bsd/freebsdlike/mod.rs +++ b/src/unix/bsd/freebsdlike/mod.rs @@ -664,7 +664,6 @@ pub const IP_RECVDSTADDR: ::c_int = 7; pub const IP_SENDSRCADDR: ::c_int = IP_RECVDSTADDR; pub const IP_ADD_MEMBERSHIP: ::c_int = 12; pub const IP_DROP_MEMBERSHIP: ::c_int = 13; -pub const IP_RECVTOS: ::c_int = 68; pub const IPV6_JOIN_GROUP: ::c_int = 12; pub const IPV6_LEAVE_GROUP: ::c_int = 13; pub const IPV6_RECVPKTINFO: ::c_int = 36; |