Skip to content

Commit

Permalink
android: Skip currently unsupported linux/if_link.h tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dragan-cecavac-nordsec committed Jun 27, 2023
1 parent 3ff5b1a commit 7d4be71
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions libc-test/build.rs
Expand Up @@ -1802,6 +1802,27 @@ fn test_android(target: &str) {
// kernel 5.6 minimum required
"IPPROTO_MPTCP" => true,

// FIXME: NDK r22 minimum required
| "IFLA_ALT_IFNAME"
| "IFLA_PERM_ADDRESS"
| "IFLA_PROP_LIST"
| "IFLA_PROTO_DOWN_REASON" => true,

// FIXME: NDK r23 minimum required
| "IFLA_PARENT_DEV_BUS_NAME"
| "IFLA_PARENT_DEV_NAME" => true,

// FIXME: NDK r25 minimum required
| "IFLA_GRO_MAX_SIZE" => true,

// FIXME: NDK above r25 required
| "IFLA_ALLMULTI"
| "IFLA_DEVLINK_PORT"
| "IFLA_GRO_IPV4_MAX_SIZE"
| "IFLA_GSO_IPV4_MAX_SIZE"
| "IFLA_TSO_MAX_SEGS"
| "IFLA_TSO_MAX_SIZE" => true,

_ => false,
}
});
Expand Down

0 comments on commit 7d4be71

Please sign in to comment.