Home | History | Annotate | Download | only in linux
      1 /****************************************************************************
      2  ****************************************************************************
      3  ***
      4  ***   This header was automatically generated from a Linux kernel header
      5  ***   of the same name, to make information necessary for userspace to
      6  ***   call into the kernel available to libc.  It contains only constants,
      7  ***   structures, and macros generated from the original header, and thus,
      8  ***   contains no copyrightable information.
      9  ***
     10  ***   To edit the content of this header, modify the corresponding
     11  ***   source file (e.g. under external/kernel-headers/original/) then
     12  ***   run bionic/libc/kernel/tools/update_all.py
     13  ***
     14  ***   Any manual change here will be lost the next time this script will
     15  ***   be run. You've been warned!
     16  ***
     17  ****************************************************************************
     18  ****************************************************************************/
     19 #ifndef __LINUX_NEIGHBOUR_H
     20 #define __LINUX_NEIGHBOUR_H
     21 #include <linux/types.h>
     22 #include <linux/netlink.h>
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 struct ndmsg {
     25   __u8 ndm_family;
     26   __u8 ndm_pad1;
     27   __u16 ndm_pad2;
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29   __s32 ndm_ifindex;
     30   __u16 ndm_state;
     31   __u8 ndm_flags;
     32   __u8 ndm_type;
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 };
     35 enum {
     36   NDA_UNSPEC,
     37   NDA_DST,
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39   NDA_LLADDR,
     40   NDA_CACHEINFO,
     41   NDA_PROBES,
     42   NDA_VLAN,
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44   NDA_PORT,
     45   NDA_VNI,
     46   NDA_IFINDEX,
     47   NDA_MASTER,
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49   NDA_LINK_NETNSID,
     50   __NDA_MAX
     51 };
     52 #define NDA_MAX (__NDA_MAX - 1)
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54 #define NTF_USE 0x01
     55 #define NTF_SELF 0x02
     56 #define NTF_MASTER 0x04
     57 #define NTF_PROXY 0x08
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59 #define NTF_EXT_LEARNED 0x10
     60 #define NTF_ROUTER 0x80
     61 #define NUD_INCOMPLETE 0x01
     62 #define NUD_REACHABLE 0x02
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64 #define NUD_STALE 0x04
     65 #define NUD_DELAY 0x08
     66 #define NUD_PROBE 0x10
     67 #define NUD_FAILED 0x20
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69 #define NUD_NOARP 0x40
     70 #define NUD_PERMANENT 0x80
     71 #define NUD_NONE 0x00
     72 struct nda_cacheinfo {
     73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     74   __u32 ndm_confirmed;
     75   __u32 ndm_used;
     76   __u32 ndm_updated;
     77   __u32 ndm_refcnt;
     78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     79 };
     80 struct ndt_stats {
     81   __u64 ndts_allocs;
     82   __u64 ndts_destroys;
     83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     84   __u64 ndts_hash_grows;
     85   __u64 ndts_res_failed;
     86   __u64 ndts_lookups;
     87   __u64 ndts_hits;
     88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     89   __u64 ndts_rcv_probes_mcast;
     90   __u64 ndts_rcv_probes_ucast;
     91   __u64 ndts_periodic_gc_runs;
     92   __u64 ndts_forced_gc_runs;
     93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     94   __u64 ndts_table_fulls;
     95 };
     96 enum {
     97   NDTPA_UNSPEC,
     98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     99   NDTPA_IFINDEX,
    100   NDTPA_REFCNT,
    101   NDTPA_REACHABLE_TIME,
    102   NDTPA_BASE_REACHABLE_TIME,
    103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    104   NDTPA_RETRANS_TIME,
    105   NDTPA_GC_STALETIME,
    106   NDTPA_DELAY_PROBE_TIME,
    107   NDTPA_QUEUE_LEN,
    108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    109   NDTPA_APP_PROBES,
    110   NDTPA_UCAST_PROBES,
    111   NDTPA_MCAST_PROBES,
    112   NDTPA_ANYCAST_DELAY,
    113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    114   NDTPA_PROXY_DELAY,
    115   NDTPA_PROXY_QLEN,
    116   NDTPA_LOCKTIME,
    117   NDTPA_QUEUE_LENBYTES,
    118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    119   NDTPA_MCAST_REPROBES,
    120   NDTPA_PAD,
    121   __NDTPA_MAX
    122 };
    123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    124 #define NDTPA_MAX (__NDTPA_MAX - 1)
    125 struct ndtmsg {
    126   __u8 ndtm_family;
    127   __u8 ndtm_pad1;
    128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    129   __u16 ndtm_pad2;
    130 };
    131 struct ndt_config {
    132   __u16 ndtc_key_len;
    133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    134   __u16 ndtc_entry_size;
    135   __u32 ndtc_entries;
    136   __u32 ndtc_last_flush;
    137   __u32 ndtc_last_rand;
    138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    139   __u32 ndtc_hash_rnd;
    140   __u32 ndtc_hash_mask;
    141   __u32 ndtc_hash_chain_gc;
    142   __u32 ndtc_proxy_qlen;
    143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    144 };
    145 enum {
    146   NDTA_UNSPEC,
    147   NDTA_NAME,
    148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    149   NDTA_THRESH1,
    150   NDTA_THRESH2,
    151   NDTA_THRESH3,
    152   NDTA_CONFIG,
    153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    154   NDTA_PARMS,
    155   NDTA_STATS,
    156   NDTA_GC_INTERVAL,
    157   NDTA_PAD,
    158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    159   __NDTA_MAX
    160 };
    161 #define NDTA_MAX (__NDTA_MAX - 1)
    162 #endif
    163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    164