Skip to content

Commit ecccbf2

Browse files
committed
Add more neighbour.h constants
1 parent 2f40a87 commit ecccbf2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/unix/notbsd/linux/mod.rs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1710,6 +1710,19 @@ pub const NTF_EXT_LEARNED: u8 = 0x10;
17101710
pub const NTF_OFFLOADED: u8 = 0x20;
17111711
pub const NTF_ROUTER: u8 = 0x80;
17121712

1713+
pub const NDA_UNSPEC: ::c_ushort = 0;
1714+
pub const NDA_DST: ::c_ushort = 1;
1715+
pub const NDA_LLADDR: ::c_ushort = 2;
1716+
pub const NDA_CACHEINFO: ::c_ushort = 3;
1717+
pub const NDA_PROBES: ::c_ushort = 4;
1718+
pub const NDA_VLAN: ::c_ushort = 5;
1719+
pub const NDA_PORT: ::c_ushort = 6;
1720+
pub const NDA_VNI: ::c_ushort = 7;
1721+
pub const NDA_IFINDEX: ::c_ushort = 8;
1722+
pub const NDA_MASTER: ::c_ushort = 9;
1723+
pub const NDA_LINK_NETNSID: ::c_ushort = 10;
1724+
pub const NDA_SRC_VNI: ::c_ushort = 11;
1725+
17131726
// linux/rtnetlink.h
17141727
pub const RTM_F_NOTIFY: ::c_uint = 0x100;
17151728
pub const RTM_F_CLONED: ::c_uint = 0x200;

0 commit comments

Comments
 (0)