Skip to content

linux: Add new netlink flags #4288

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions libc-test/semver/android.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1793,8 +1793,11 @@ NLMSG_MIN_TYPE
NLMSG_NOOP
NLMSG_OVERRUN
NLM_F_ACK
NLM_F_ACK_TLVS
NLM_F_APPEND
NLM_F_ATOMIC
NLM_F_BULK
NLM_F_CAPPED
NLM_F_CREATE
NLM_F_DUMP
NLM_F_DUMP_FILTERED
Expand All @@ -1803,6 +1806,7 @@ NLM_F_ECHO
NLM_F_EXCL
NLM_F_MATCH
NLM_F_MULTI
NLM_F_NONREC
NLM_F_REPLACE
NLM_F_REQUEST
NLM_F_ROOT
Expand Down
4 changes: 4 additions & 0 deletions libc-test/semver/linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1996,8 +1996,11 @@ NLMSG_MIN_TYPE
NLMSG_NOOP
NLMSG_OVERRUN
NLM_F_ACK
NLM_F_ACK_TLVS
NLM_F_APPEND
NLM_F_ATOMIC
NLM_F_BULK
NLM_F_CAPPED
NLM_F_CREATE
NLM_F_DUMP
NLM_F_DUMP_FILTERED
Expand All @@ -2006,6 +2009,7 @@ NLM_F_ECHO
NLM_F_EXCL
NLM_F_MATCH
NLM_F_MULTI
NLM_F_NONREC
NLM_F_REPLACE
NLM_F_REQUEST
NLM_F_ROOT
Expand Down
6 changes: 6 additions & 0 deletions src/unix/linux_like/android/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1943,6 +1943,12 @@ pub const NLM_F_EXCL: c_int = 0x200;
pub const NLM_F_CREATE: c_int = 0x400;
pub const NLM_F_APPEND: c_int = 0x800;

pub const NLM_F_NONREC: c_int = 0x100;
pub const NLM_F_BULK: c_int = 0x200;

pub const NLM_F_CAPPED: c_int = 0x100;
pub const NLM_F_ACK_TLVS: c_int = 0x200;

pub const NLMSG_NOOP: c_int = 0x1;
pub const NLMSG_ERROR: c_int = 0x2;
pub const NLMSG_DONE: c_int = 0x3;
Expand Down
6 changes: 6 additions & 0 deletions src/unix/linux_like/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4379,6 +4379,12 @@ pub const NLM_F_EXCL: c_int = 0x200;
pub const NLM_F_CREATE: c_int = 0x400;
pub const NLM_F_APPEND: c_int = 0x800;

pub const NLM_F_NONREC: c_int = 0x100;
pub const NLM_F_BULK: c_int = 0x200;

pub const NLM_F_CAPPED: c_int = 0x100;
pub const NLM_F_ACK_TLVS: c_int = 0x200;

pub const NETLINK_ADD_MEMBERSHIP: c_int = 1;
pub const NETLINK_DROP_MEMBERSHIP: c_int = 2;
pub const NETLINK_PKTINFO: c_int = 3;
Expand Down
Loading