Skip to content

Commit e99dc5f

Browse files
authored
Merge pull request #4288 from jbaublitz/netlink-flags-delete-ack
linux: Add new netlink flags
2 parents 094464b + 70527d1 commit e99dc5f

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

libc-test/semver/android.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1793,8 +1793,11 @@ NLMSG_MIN_TYPE
17931793
NLMSG_NOOP
17941794
NLMSG_OVERRUN
17951795
NLM_F_ACK
1796+
NLM_F_ACK_TLVS
17961797
NLM_F_APPEND
17971798
NLM_F_ATOMIC
1799+
NLM_F_BULK
1800+
NLM_F_CAPPED
17981801
NLM_F_CREATE
17991802
NLM_F_DUMP
18001803
NLM_F_DUMP_FILTERED
@@ -1803,6 +1806,7 @@ NLM_F_ECHO
18031806
NLM_F_EXCL
18041807
NLM_F_MATCH
18051808
NLM_F_MULTI
1809+
NLM_F_NONREC
18061810
NLM_F_REPLACE
18071811
NLM_F_REQUEST
18081812
NLM_F_ROOT

libc-test/semver/linux.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1996,8 +1996,11 @@ NLMSG_MIN_TYPE
19961996
NLMSG_NOOP
19971997
NLMSG_OVERRUN
19981998
NLM_F_ACK
1999+
NLM_F_ACK_TLVS
19992000
NLM_F_APPEND
20002001
NLM_F_ATOMIC
2002+
NLM_F_BULK
2003+
NLM_F_CAPPED
20012004
NLM_F_CREATE
20022005
NLM_F_DUMP
20032006
NLM_F_DUMP_FILTERED
@@ -2006,6 +2009,7 @@ NLM_F_ECHO
20062009
NLM_F_EXCL
20072010
NLM_F_MATCH
20082011
NLM_F_MULTI
2012+
NLM_F_NONREC
20092013
NLM_F_REPLACE
20102014
NLM_F_REQUEST
20112015
NLM_F_ROOT

src/unix/linux_like/android/mod.rs

+6
Original file line numberDiff line numberDiff line change
@@ -1943,6 +1943,12 @@ pub const NLM_F_EXCL: c_int = 0x200;
19431943
pub const NLM_F_CREATE: c_int = 0x400;
19441944
pub const NLM_F_APPEND: c_int = 0x800;
19451945

1946+
pub const NLM_F_NONREC: c_int = 0x100;
1947+
pub const NLM_F_BULK: c_int = 0x200;
1948+
1949+
pub const NLM_F_CAPPED: c_int = 0x100;
1950+
pub const NLM_F_ACK_TLVS: c_int = 0x200;
1951+
19461952
pub const NLMSG_NOOP: c_int = 0x1;
19471953
pub const NLMSG_ERROR: c_int = 0x2;
19481954
pub const NLMSG_DONE: c_int = 0x3;

src/unix/linux_like/linux/mod.rs

+6
Original file line numberDiff line numberDiff line change
@@ -4379,6 +4379,12 @@ pub const NLM_F_EXCL: c_int = 0x200;
43794379
pub const NLM_F_CREATE: c_int = 0x400;
43804380
pub const NLM_F_APPEND: c_int = 0x800;
43814381

4382+
pub const NLM_F_NONREC: c_int = 0x100;
4383+
pub const NLM_F_BULK: c_int = 0x200;
4384+
4385+
pub const NLM_F_CAPPED: c_int = 0x100;
4386+
pub const NLM_F_ACK_TLVS: c_int = 0x200;
4387+
43824388
pub const NETLINK_ADD_MEMBERSHIP: c_int = 1;
43834389
pub const NETLINK_DROP_MEMBERSHIP: c_int = 2;
43844390
pub const NETLINK_PKTINFO: c_int = 3;

0 commit comments

Comments
 (0)