diff options
author | David Carlier <devnexen@gmail.com> | 2023-01-29 16:11:14 +0000 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2023-02-10 17:42:46 +0000 |
commit | eba949dd2888386351c0b383871467729c3dc4f4 (patch) | |
tree | 8243ef474c9437836764fb2ce3ab42975d61a65a /libc-test/build.rs | |
parent | 17adcf2811720173562d25b4aa5a7d4e4aa1bf46 (diff) | |
download | rust-libc-eba949dd2888386351c0b383871467729c3dc4f4.tar.gz |
linux starting adding sctp support
Diffstat (limited to 'libc-test/build.rs')
-rw-r--r-- | libc-test/build.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs index 79c5fbc7fd..d73879d045 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -3235,8 +3235,8 @@ fn test_linux(target: &str) { "linux/reboot.h", "linux/rtnetlink.h", "linux/sched.h", + "linux/sctp.h", "linux/seccomp.h", - "linux/sched.h", "linux/sock_diag.h", "linux/sockios.h", "linux/uinput.h", @@ -3398,6 +3398,8 @@ fn test_linux(target: &str) { // FIXME: Unignore once we update Ubuntu to 22.04 "mallinfo2" if sparc64 => true, "ptrace_rseq_configuration" if sparc64 => true, + "sctp_initmsg" | "sctp_sndrcvinfo" | "sctp_sndinfo" | "sctp_rcvinfo" + | "sctp_nxtinfo" | "sctp_prinfo" | "sctp_authinfo" => true, _ => false, } @@ -3657,6 +3659,7 @@ fn test_linux(target: &str) { | "IFLA_TSO_MAX_SEGS" // linux v5.18+ | "IFLA_ALLMULTI" // linux v6.0+ => true, + "SCTP_FUTURE_ASSOC" | "SCTP_CURRENT_ASSOC" | "SCTP_ALL_ASSOC" | "SCTP_PEER_ADDR_THLDS_V2" => true, // linux 5.5+ _ => false, } |