]> git.ipfire.org Git - thirdparty/lldpd.git/blobdiff - include/linux/neighbour.h
include: update headers to 4.19
[thirdparty/lldpd.git] / include / linux / neighbour.h
index 275e5d65dcb235dae4fcd15fb3a47971d277d19a..904db614847667eb4f75584113738d232e069dd6 100644 (file)
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 #ifndef __LINUX_NEIGHBOUR_H
 #define __LINUX_NEIGHBOUR_H
 
@@ -20,6 +21,13 @@ enum {
        NDA_LLADDR,
        NDA_CACHEINFO,
        NDA_PROBES,
+       NDA_VLAN,
+       NDA_PORT,
+       NDA_VNI,
+       NDA_IFINDEX,
+       NDA_MASTER,
+       NDA_LINK_NETNSID,
+       NDA_SRC_VNI,
        __NDA_MAX
 };
 
@@ -30,11 +38,12 @@ enum {
  */
 
 #define NTF_USE                0x01
-#define NTF_PROXY      0x08    /* == ATF_PUBL */
-#define NTF_ROUTER     0x80
-
 #define NTF_SELF       0x02
 #define NTF_MASTER     0x04
+#define NTF_PROXY      0x08    /* == ATF_PUBL */
+#define NTF_EXT_LEARNED        0x10
+#define NTF_OFFLOADED   0x20
+#define NTF_ROUTER     0x80
 
 /*
  *     Neighbor Cache Entry States.
@@ -54,7 +63,7 @@ enum {
 
 /* NUD_NOARP & NUD_PERMANENT are pseudostates, they never change
    and make no address resolution or NUD.
-   NUD_PERMANENT is also cannot be deleted by garbage collectors.
+   NUD_PERMANENT also cannot be deleted by garbage collectors.
  */
 
 struct nda_cacheinfo {
@@ -100,6 +109,7 @@ struct ndt_stats {
        __u64           ndts_rcv_probes_ucast;
        __u64           ndts_periodic_gc_runs;
        __u64           ndts_forced_gc_runs;
+       __u64           ndts_table_fulls;
 };
 
 enum {
@@ -120,6 +130,8 @@ enum {
        NDTPA_PROXY_QLEN,               /* u32 */
        NDTPA_LOCKTIME,                 /* u64, msecs */
        NDTPA_QUEUE_LENBYTES,           /* u32 */
+       NDTPA_MCAST_REPROBES,           /* u32 */
+       NDTPA_PAD,
        __NDTPA_MAX
 };
 #define NDTPA_MAX (__NDTPA_MAX - 1)
@@ -152,6 +164,7 @@ enum {
        NDTA_PARMS,                     /* nested TLV NDTPA_* */
        NDTA_STATS,                     /* struct ndt_stats, read-only */
        NDTA_GC_INTERVAL,               /* u64, msecs */
+       NDTA_PAD,
        __NDTA_MAX
 };
 #define NDTA_MAX (__NDTA_MAX - 1)