@@ -2580,6 +2580,88 @@ pub const ETH_P_XDSA: ::c_int = 0x00F8;
25802580/* see rust-lang/libc#924 pub const ETH_P_MAP: ::c_int = 0x00F9;*/
25812581// end android/platform/bionic/libc/kernel/uapi/linux/if_ether.h
25822582
2583+ // start android/platform/bionic/libc/kernel/uapi/linux/neighbour.h
2584+ pub const NDA_UNSPEC : :: c_ushort = 0 ;
2585+ pub const NDA_DST : :: c_ushort = 1 ;
2586+ pub const NDA_LLADDR : :: c_ushort = 2 ;
2587+ pub const NDA_CACHEINFO : :: c_ushort = 3 ;
2588+ pub const NDA_PROBES : :: c_ushort = 4 ;
2589+ pub const NDA_VLAN : :: c_ushort = 5 ;
2590+ pub const NDA_PORT : :: c_ushort = 6 ;
2591+ pub const NDA_VNI : :: c_ushort = 7 ;
2592+ pub const NDA_IFINDEX : :: c_ushort = 8 ;
2593+ pub const NDA_MASTER : :: c_ushort = 9 ;
2594+ pub const NDA_LINK_NETNSID : :: c_ushort = 10 ;
2595+ pub const NDA_SRC_VNI : :: c_ushort = 11 ;
2596+ pub const NDA_PROTOCOL : :: c_ushort = 12 ;
2597+ pub const NDA_NH_ID : :: c_ushort = 13 ;
2598+ pub const NDA_FDB_EXT_ATTRS : :: c_ushort = 14 ;
2599+ pub const NDA_FLAGS_EXT : :: c_ushort = 15 ;
2600+ pub const NDA_NDM_STATE_MASK : :: c_ushort = 16 ;
2601+ pub const NDA_NDM_FLAGS_MASK : :: c_ushort = 17 ;
2602+
2603+ pub const NTF_USE : u8 = 0x01 ;
2604+ pub const NTF_SELF : u8 = 0x02 ;
2605+ pub const NTF_MASTER : u8 = 0x04 ;
2606+ pub const NTF_PROXY : u8 = 0x08 ;
2607+ pub const NTF_EXT_LEARNED : u8 = 0x10 ;
2608+ pub const NTF_OFFLOADED : u8 = 0x20 ;
2609+ pub const NTF_STICKY : u8 = 0x40 ;
2610+ pub const NTF_ROUTER : u8 = 0x80 ;
2611+
2612+ pub const NTF_EXT_MANAGED : u8 = 0x01 ;
2613+ pub const NTF_EXT_LOCKED : u8 = 0x02 ;
2614+
2615+ pub const NUD_NONE : u16 = 0x00 ;
2616+ pub const NUD_INCOMPLETE : u16 = 0x01 ;
2617+ pub const NUD_REACHABLE : u16 = 0x02 ;
2618+ pub const NUD_STALE : u16 = 0x04 ;
2619+ pub const NUD_DELAY : u16 = 0x08 ;
2620+ pub const NUD_PROBE : u16 = 0x10 ;
2621+ pub const NUD_FAILED : u16 = 0x20 ;
2622+ pub const NUD_NOARP : u16 = 0x40 ;
2623+ pub const NUD_PERMANENT : u16 = 0x80 ;
2624+
2625+ pub const NDTPA_UNSPEC : :: c_ushort = 0 ;
2626+ pub const NDTPA_IFINDEX : :: c_ushort = 1 ;
2627+ pub const NDTPA_REFCNT : :: c_ushort = 2 ;
2628+ pub const NDTPA_REACHABLE_TIME : :: c_ushort = 3 ;
2629+ pub const NDTPA_BASE_REACHABLE_TIME : :: c_ushort = 4 ;
2630+ pub const NDTPA_RETRANS_TIME : :: c_ushort = 5 ;
2631+ pub const NDTPA_GC_STALETIME : :: c_ushort = 6 ;
2632+ pub const NDTPA_DELAY_PROBE_TIME : :: c_ushort = 7 ;
2633+ pub const NDTPA_QUEUE_LEN : :: c_ushort = 8 ;
2634+ pub const NDTPA_APP_PROBES : :: c_ushort = 9 ;
2635+ pub const NDTPA_UCAST_PROBES : :: c_ushort = 10 ;
2636+ pub const NDTPA_MCAST_PROBES : :: c_ushort = 11 ;
2637+ pub const NDTPA_ANYCAST_DELAY : :: c_ushort = 12 ;
2638+ pub const NDTPA_PROXY_DELAY : :: c_ushort = 13 ;
2639+ pub const NDTPA_PROXY_QLEN : :: c_ushort = 14 ;
2640+ pub const NDTPA_LOCKTIME : :: c_ushort = 15 ;
2641+ pub const NDTPA_QUEUE_LENBYTES : :: c_ushort = 16 ;
2642+ pub const NDTPA_MCAST_REPROBES : :: c_ushort = 17 ;
2643+ pub const NDTPA_PAD : :: c_ushort = 18 ;
2644+ pub const NDTPA_INTERVAL_PROBE_TIME_MS : :: c_ushort = 19 ;
2645+
2646+ pub const NDTA_UNSPEC : :: c_ushort = 0 ;
2647+ pub const NDTA_NAME : :: c_ushort = 1 ;
2648+ pub const NDTA_THRESH1 : :: c_ushort = 2 ;
2649+ pub const NDTA_THRESH2 : :: c_ushort = 3 ;
2650+ pub const NDTA_THRESH3 : :: c_ushort = 4 ;
2651+ pub const NDTA_CONFIG : :: c_ushort = 5 ;
2652+ pub const NDTA_PARMS : :: c_ushort = 6 ;
2653+ pub const NDTA_STATS : :: c_ushort = 7 ;
2654+ pub const NDTA_GC_INTERVAL : :: c_ushort = 8 ;
2655+ pub const NDTA_PAD : :: c_ushort = 9 ;
2656+
2657+ pub const FDB_NOTIFY_BIT : u16 = 0x01 ;
2658+ pub const FDB_NOTIFY_INACTIVE_BIT : u16 = 0x02 ;
2659+
2660+ pub const NFEA_UNSPEC : :: c_ushort = 0 ;
2661+ pub const NFEA_ACTIVITY_NOTIFY : :: c_ushort = 1 ;
2662+ pub const NFEA_DONT_REFRESH : :: c_ushort = 2 ;
2663+ // end android/platform/bionic/libc/kernel/uapi/linux/neighbour.h
2664+
25832665pub const SIOCADDRT : :: c_ulong = 0x0000890B ;
25842666pub const SIOCDELRT : :: c_ulong = 0x0000890C ;
25852667pub const SIOCGIFNAME : :: c_ulong = 0x00008910 ;
0 commit comments