summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Baublitz <john.m.baublitz@gmail.com>2019-04-17 20:25:21 -0400
committerJohn Baublitz <john.m.baublitz@gmail.com>2019-05-17 21:36:01 -0400
commitf7749750697b77eb8387b300b119cf9f22da8137 (patch)
tree3a9ef8dd3deddae050d2924109e1454b356687cf /src
parent2afc89bfe1545ee346493b62f8a0126b1a0247f2 (diff)
downloadrust-libc-f7749750697b77eb8387b300b119cf9f22da8137.tar.gz
Add more neighbour.h constants
Diffstat (limited to 'src')
-rw-r--r--src/unix/notbsd/linux/mod.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/unix/notbsd/linux/mod.rs b/src/unix/notbsd/linux/mod.rs
index 1cc7526edc..266e548cb4 100644
--- a/src/unix/notbsd/linux/mod.rs
+++ b/src/unix/notbsd/linux/mod.rs
@@ -1816,6 +1816,19 @@ pub const NTF_EXT_LEARNED: u8 = 0x10;
pub const NTF_OFFLOADED: u8 = 0x20;
pub const NTF_ROUTER: u8 = 0x80;
+pub const NDA_UNSPEC: ::c_ushort = 0;
+pub const NDA_DST: ::c_ushort = 1;
+pub const NDA_LLADDR: ::c_ushort = 2;
+pub const NDA_CACHEINFO: ::c_ushort = 3;
+pub const NDA_PROBES: ::c_ushort = 4;
+pub const NDA_VLAN: ::c_ushort = 5;
+pub const NDA_PORT: ::c_ushort = 6;
+pub const NDA_VNI: ::c_ushort = 7;
+pub const NDA_IFINDEX: ::c_ushort = 8;
+pub const NDA_MASTER: ::c_ushort = 9;
+pub const NDA_LINK_NETNSID: ::c_ushort = 10;
+pub const NDA_SRC_VNI: ::c_ushort = 11;
+
// linux/rtnetlink.h
pub const RTM_F_NOTIFY: ::c_uint = 0x100;
pub const RTM_F_CLONED: ::c_uint = 0x200;