Skip to content

Commit

Permalink
Auto merge of #3277 - dragan-cecavac-nordsec:android/update-linux-if-…
Browse files Browse the repository at this point in the history
…link, r=JohnTitor

android: Update linux/if_link.h constants

Update Android `libc/kernel/uapi/linux/if_link.h` IFLA entries.
Reference: https://android.googlesource.com/platform/bionic/+/refs/heads/master/libc/kernel/uapi/linux/if_link.h#159
  • Loading branch information
bors committed Jun 25, 2023
2 parents 2fc3ef9 + 3ff5b1a commit 0661785
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions libc-test/semver/android.txt
Expand Up @@ -777,6 +777,19 @@ IFLA_CARRIER_DOWN_COUNT
IFLA_NEW_IFINDEX
IFLA_MIN_MTU
IFLA_MAX_MTU
IFLA_PROP_LIST
IFLA_ALT_IFNAME
IFLA_PERM_ADDRESS
IFLA_PROTO_DOWN_REASON
IFLA_PARENT_DEV_NAME
IFLA_PARENT_DEV_BUS_NAME
IFLA_GRO_MAX_SIZE
IFLA_TSO_MAX_SIZE
IFLA_TSO_MAX_SEGS
IFLA_ALLMULTI
IFLA_DEVLINK_PORT
IFLA_GSO_IPV4_MAX_SIZE
IFLA_GRO_IPV4_MAX_SIZE
IFLA_INFO_UNSPEC
IFLA_INFO_KIND
IFLA_INFO_DATA
Expand Down
13 changes: 13 additions & 0 deletions src/unix/linux_like/android/mod.rs
Expand Up @@ -2918,6 +2918,19 @@ pub const IFLA_CARRIER_DOWN_COUNT: ::c_ushort = 48;
pub const IFLA_NEW_IFINDEX: ::c_ushort = 49;
pub const IFLA_MIN_MTU: ::c_ushort = 50;
pub const IFLA_MAX_MTU: ::c_ushort = 51;
pub const IFLA_PROP_LIST: ::c_ushort = 52;
pub const IFLA_ALT_IFNAME: ::c_ushort = 53;
pub const IFLA_PERM_ADDRESS: ::c_ushort = 54;
pub const IFLA_PROTO_DOWN_REASON: ::c_ushort = 55;
pub const IFLA_PARENT_DEV_NAME: ::c_ushort = 56;
pub const IFLA_PARENT_DEV_BUS_NAME: ::c_ushort = 57;
pub const IFLA_GRO_MAX_SIZE: ::c_ushort = 58;
pub const IFLA_TSO_MAX_SIZE: ::c_ushort = 59;
pub const IFLA_TSO_MAX_SEGS: ::c_ushort = 60;
pub const IFLA_ALLMULTI: ::c_ushort = 61;
pub const IFLA_DEVLINK_PORT: ::c_ushort = 62;
pub const IFLA_GSO_IPV4_MAX_SIZE: ::c_ushort = 63;
pub const IFLA_GRO_IPV4_MAX_SIZE: ::c_ushort = 64;

pub const IFLA_INFO_UNSPEC: ::c_ushort = 0;
pub const IFLA_INFO_KIND: ::c_ushort = 1;
Expand Down

0 comments on commit 0661785

Please sign in to comment.