Skip to content

Commit

Permalink
Auto merge of #3276 - dragan-cecavac-nordsec:android/add-nlm_f_dump_f…
Browse files Browse the repository at this point in the history
…iltered, r=JohnTitor

android: Add NLM_F_DUMP_FILTERED constant

Add `NLM_F_DUMP_FILTERED` for Android.
Bionic code reference: https://android.googlesource.com/platform/bionic/+/refs/heads/master/libc/kernel/uapi/linux/netlink.h#66
  • Loading branch information
bors committed Jun 25, 2023
2 parents 1e8943d + 7c1d9b1 commit 2fc3ef9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/android.txt
Expand Up @@ -1647,6 +1647,7 @@ NLM_F_APPEND
NLM_F_ATOMIC
NLM_F_CREATE
NLM_F_DUMP
NLM_F_DUMP_FILTERED
NLM_F_DUMP_INTR
NLM_F_ECHO
NLM_F_EXCL
Expand Down
1 change: 1 addition & 0 deletions src/unix/linux_like/android/mod.rs
Expand Up @@ -1831,6 +1831,7 @@ pub const NLM_F_MULTI: ::c_int = 2;
pub const NLM_F_ACK: ::c_int = 4;
pub const NLM_F_ECHO: ::c_int = 8;
pub const NLM_F_DUMP_INTR: ::c_int = 16;
pub const NLM_F_DUMP_FILTERED: ::c_int = 32;

pub const NLM_F_ROOT: ::c_int = 0x100;
pub const NLM_F_MATCH: ::c_int = 0x200;
Expand Down

0 comments on commit 2fc3ef9

Please sign in to comment.