diff --git a/src/unix/notbsd/linux/mod.rs b/src/unix/notbsd/linux/mod.rs index a2d48f32c8243d512243e99316c0bbce29441150..89c79620f76b13d2967d0fb90c0486bc4ee60537 100644 --- a/src/unix/notbsd/linux/mod.rs +++ b/src/unix/notbsd/linux/mod.rs @@ -1812,8 +1812,6 @@ pub const NTF_USE: u8 = 0x01; pub const NTF_SELF: u8 = 0x02; pub const NTF_MASTER: u8 = 0x04; pub const NTF_PROXY: u8 = 0x08; -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; @@ -1825,9 +1823,6 @@ 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; diff --git a/src/unix/notbsd/linux/other/mod.rs b/src/unix/notbsd/linux/other/mod.rs index 91b610d1a0e3b8195e796db879a3cab05c298fdd..1e77ab444a10aea7699079417f5ac71f1c38a946 100644 --- a/src/unix/notbsd/linux/other/mod.rs +++ b/src/unix/notbsd/linux/other/mod.rs @@ -615,6 +615,14 @@ pub const RTA_PAD: ::c_ushort = 24; pub const RTA_UID: ::c_ushort = 25; pub const RTA_TTL_PROPAGATE: ::c_ushort = 26; +// linux/neighbor.h +pub const NTF_EXT_LEARNED: u8 = 0x10; +pub const NTF_OFFLOADED: u8 = 0x20; + +pub const NDA_MASTER: ::c_ushort = 9; +pub const NDA_LINK_NETNSID: ::c_ushort = 10; +pub const NDA_SRC_VNI: ::c_ushort = 11; + // linux/if_addr.h pub const IFA_FLAGS: ::c_ushort = 8;