• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 {
26  __u8 ndm_family;
27  __u8 ndm_pad1;
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29  __u16 ndm_pad2;
30  __s32 ndm_ifindex;
31  __u16 ndm_state;
32  __u8 ndm_flags;
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34  __u8 ndm_type;
35 };
36 enum
37 {
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39  NDA_UNSPEC,
40  NDA_DST,
41  NDA_LLADDR,
42  NDA_CACHEINFO,
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44  NDA_PROBES,
45  __NDA_MAX
46 };
47 #define NDA_MAX (__NDA_MAX - 1)
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 #define NTF_USE 0x01
50 #define NTF_PROXY 0x08
51 #define NTF_ROUTER 0x80
52 #define NUD_INCOMPLETE 0x01
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 #define NUD_REACHABLE 0x02
55 #define NUD_STALE 0x04
56 #define NUD_DELAY 0x08
57 #define NUD_PROBE 0x10
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 #define NUD_FAILED 0x20
60 #define NUD_NOARP 0x40
61 #define NUD_PERMANENT 0x80
62 #define NUD_NONE 0x00
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64 struct nda_cacheinfo
65 {
66  __u32 ndm_confirmed;
67  __u32 ndm_used;
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69  __u32 ndm_updated;
70  __u32 ndm_refcnt;
71 };
72 struct ndt_stats
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74 {
75  __u64 ndts_allocs;
76  __u64 ndts_destroys;
77  __u64 ndts_hash_grows;
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79  __u64 ndts_res_failed;
80  __u64 ndts_lookups;
81  __u64 ndts_hits;
82  __u64 ndts_rcv_probes_mcast;
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84  __u64 ndts_rcv_probes_ucast;
85  __u64 ndts_periodic_gc_runs;
86  __u64 ndts_forced_gc_runs;
87 };
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89 enum {
90  NDTPA_UNSPEC,
91  NDTPA_IFINDEX,
92  NDTPA_REFCNT,
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94  NDTPA_REACHABLE_TIME,
95  NDTPA_BASE_REACHABLE_TIME,
96  NDTPA_RETRANS_TIME,
97  NDTPA_GC_STALETIME,
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99  NDTPA_DELAY_PROBE_TIME,
100  NDTPA_QUEUE_LEN,
101  NDTPA_APP_PROBES,
102  NDTPA_UCAST_PROBES,
103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104  NDTPA_MCAST_PROBES,
105  NDTPA_ANYCAST_DELAY,
106  NDTPA_PROXY_DELAY,
107  NDTPA_PROXY_QLEN,
108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109  NDTPA_LOCKTIME,
110  __NDTPA_MAX
111 };
112 #define NDTPA_MAX (__NDTPA_MAX - 1)
113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114 struct ndtmsg
115 {
116  __u8 ndtm_family;
117  __u8 ndtm_pad1;
118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119  __u16 ndtm_pad2;
120 };
121 struct ndt_config
122 {
123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124  __u16 ndtc_key_len;
125  __u16 ndtc_entry_size;
126  __u32 ndtc_entries;
127  __u32 ndtc_last_flush;
128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
129  __u32 ndtc_last_rand;
130  __u32 ndtc_hash_rnd;
131  __u32 ndtc_hash_mask;
132  __u32 ndtc_hash_chain_gc;
133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134  __u32 ndtc_proxy_qlen;
135 };
136 enum {
137  NDTA_UNSPEC,
138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
139  NDTA_NAME,
140  NDTA_THRESH1,
141  NDTA_THRESH2,
142  NDTA_THRESH3,
143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
144  NDTA_CONFIG,
145  NDTA_PARMS,
146  NDTA_STATS,
147  NDTA_GC_INTERVAL,
148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
149  __NDTA_MAX
150 };
151 #define NDTA_MAX (__NDTA_MAX - 1)
152 #endif
153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
154