Skip to content

Commit f774975

Browse files
committed
Add more neighbour.h constants
1 parent 2afc89b commit f774975

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
@@ -1816,6 +1816,19 @@ pub const NTF_EXT_LEARNED: u8 = 0x10;
18161816
pub const NTF_OFFLOADED: u8 = 0x20;
18171817
pub const NTF_ROUTER: u8 = 0x80;
18181818

1819+
pub const NDA_UNSPEC: ::c_ushort = 0;
1820+
pub const NDA_DST: ::c_ushort = 1;
1821+
pub const NDA_LLADDR: ::c_ushort = 2;
1822+
pub const NDA_CACHEINFO: ::c_ushort = 3;
1823+
pub const NDA_PROBES: ::c_ushort = 4;
1824+
pub const NDA_VLAN: ::c_ushort = 5;
1825+
pub const NDA_PORT: ::c_ushort = 6;
1826+
pub const NDA_VNI: ::c_ushort = 7;
1827+
pub const NDA_IFINDEX: ::c_ushort = 8;
1828+
pub const NDA_MASTER: ::c_ushort = 9;
1829+
pub const NDA_LINK_NETNSID: ::c_ushort = 10;
1830+
pub const NDA_SRC_VNI: ::c_ushort = 11;
1831+
18191832
// linux/rtnetlink.h
18201833
pub const RTM_F_NOTIFY: ::c_uint = 0x100;
18211834
pub const RTM_F_CLONED: ::c_uint = 0x200;

0 commit comments

Comments
 (0)