package hanson.xyz.vpnhotspotmod.net;

@kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u00004\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000e\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u000f\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0004\b\u0086\b\u0018\u0000 \u001e2\u00020\u0001:\u0002\u001e\u001fB%\u0012\u0006\u0010\u0002\u001a\u00020\u0003\u0012\u0006\u0010\u0004\u001a\u00020\u0005\u0012\u0006\u0010\u0006\u001a\u00020\u0007\u0012\u0006\u0010\b\u001a\u00020\t\u00a2\u0006\u0002\u0010\nJ\t\u0010\u0013\u001a\u00020\u0003H\u00c6\u0003J\t\u0010\u0014\u001a\u00020\u0005H\u00c6\u0003J\t\u0010\u0015\u001a\u00020\u0007H\u00c6\u0003J\t\u0010\u0016\u001a\u00020\tH\u00c6\u0003J1\u0010\u0017\u001a\u00020\u00002\b\b\u0002\u0010\u0002\u001a\u00020\u00032\b\b\u0002\u0010\u0004\u001a\u00020\u00052\b\b\u0002\u0010\u0006\u001a\u00020\u00072\b\b\u0002\u0010\b\u001a\u00020\tH\u00c6\u0001J\u0013\u0010\u0018\u001a\u00020\u00192\b\u0010\u001a\u001a\u0004\u0018\u00010\u0001H\u00d6\u0003J\t\u0010\u001b\u001a\u00020\u001cH\u00d6\u0001J\t\u0010\u001d\u001a\u00020\u0005H\u00d6\u0001R\u0011\u0010\u0004\u001a\u00020\u0005\u00a2\u0006\b\n\u0000\u001a\u0004\b\u000b\u0010\fR\u0011\u0010\u0002\u001a\u00020\u0003\u00a2\u0006\b\n\u0000\u001a\u0004\b\r\u0010\u000eR\u0011\u0010\u0006\u001a\u00020\u0007\u00a2\u0006\b\n\u0000\u001a\u0004\b\u000f\u0010\u0010R\u0011\u0010\b\u001a\u00020\t\u00a2\u0006\b\n\u0000\u001a\u0004\b\u0011\u0010\u0012\u00a8\u0006 "}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/IpNeighbour;", "", "ip", "Ljava/net/InetAddress;", "dev", "", "lladdr", "Landroid/net/MacAddress;", "state", "Lhanson/xyz/vpnhotspotmod/net/IpNeighbour$State;", "(Ljava/net/InetAddress;Ljava/lang/String;Landroid/net/MacAddress;Lhanson/xyz/vpnhotspotmod/net/IpNeighbour$State;)V", "getDev", "()Ljava/lang/String;", "getIp", "()Ljava/net/InetAddress;", "getLladdr", "()Landroid/net/MacAddress;", "getState", "()Lhanson/xyz/vpnhotspotmod/net/IpNeighbour$State;", "component1", "component2", "component3", "component4", "copy", "equals", "", "other", "hashCode", "", "toString", "Companion", "State", "mobile_freedomDebug"})
public final class IpNeighbour {
    @org.jetbrains.annotations.NotNull
    private final java.net.InetAddress ip = null;
    @org.jetbrains.annotations.NotNull
    private final java.lang.String dev = null;
    @org.jetbrains.annotations.NotNull
    private final android.net.MacAddress lladdr = null;
    @org.jetbrains.annotations.NotNull
    private final hanson.xyz.vpnhotspotmod.net.IpNeighbour.State state = null;
    
    /**
     * Parser based on:
     *  https://android.googlesource.com/platform/external/iproute2/+/ad0a6a2/ip/ipneigh.c#194
     *  https://people.cs.clemson.edu/~westall/853/notes/arpstate.pdf
     * Assumptions: IP addr (key) always present and RTM_GETNEIGH is never used
     */
    @org.jetbrains.annotations.NotNull
    private static final kotlin.text.Regex parser = null;
    
    /**
     * Fallback format will be used if if_indextoname returns null, which some stupid devices do.
     *
     * Source: https://android.googlesource.com/platform/external/iproute2/+/4b9e917/lib/ll_map.c#152
     */
    @org.jetbrains.annotations.NotNull
    private static final kotlin.text.Regex devFallback = null;
    @org.jetbrains.annotations.NotNull
    private static final java.util.regex.Pattern spaces = null;
    @org.jetbrains.annotations.NotNull
    private static final java.util.regex.Pattern mac = null;
    private static final int ARP_IP_ADDRESS = 0;
    private static final int ARP_HW_ADDRESS = 3;
    private static final int ARP_DEVICE = 5;
    private static final long ARP_CACHE_EXPIRE = 1000000000L;
    @org.jetbrains.annotations.NotNull
    private static java.util.List<? extends java.util.List<java.lang.String>> arpCache;
    private static long arpCacheTime = -1000000000L;
    @org.jetbrains.annotations.NotNull
    public static final hanson.xyz.vpnhotspotmod.net.IpNeighbour.Companion Companion = null;
    
    public IpNeighbour(@org.jetbrains.annotations.NotNull
    java.net.InetAddress ip, @org.jetbrains.annotations.NotNull
    java.lang.String dev, @org.jetbrains.annotations.NotNull
    android.net.MacAddress lladdr, @org.jetbrains.annotations.NotNull
    hanson.xyz.vpnhotspotmod.net.IpNeighbour.State state) {
        super();
    }
    
    @org.jetbrains.annotations.NotNull
    public final java.net.InetAddress getIp() {
        return null;
    }
    
    @org.jetbrains.annotations.NotNull
    public final java.lang.String getDev() {
        return null;
    }
    
    @org.jetbrains.annotations.NotNull
    public final android.net.MacAddress getLladdr() {
        return null;
    }
    
    @org.jetbrains.annotations.NotNull
    public final hanson.xyz.vpnhotspotmod.net.IpNeighbour.State getState() {
        return null;
    }
    
    @org.jetbrains.annotations.NotNull
    public final java.net.InetAddress component1() {
        return null;
    }
    
    @org.jetbrains.annotations.NotNull
    public final java.lang.String component2() {
        return null;
    }
    
    @org.jetbrains.annotations.NotNull
    public final android.net.MacAddress component3() {
        return null;
    }
    
    @org.jetbrains.annotations.NotNull
    public final hanson.xyz.vpnhotspotmod.net.IpNeighbour.State component4() {
        return null;
    }
    
    @org.jetbrains.annotations.NotNull
    public final hanson.xyz.vpnhotspotmod.net.IpNeighbour copy(@org.jetbrains.annotations.NotNull
    java.net.InetAddress ip, @org.jetbrains.annotations.NotNull
    java.lang.String dev, @org.jetbrains.annotations.NotNull
    android.net.MacAddress lladdr, @org.jetbrains.annotations.NotNull
    hanson.xyz.vpnhotspotmod.net.IpNeighbour.State state) {
        return null;
    }
    
    @java.lang.Override
    public boolean equals(@org.jetbrains.annotations.Nullable
    java.lang.Object other) {
        return false;
    }
    
    @java.lang.Override
    public int hashCode() {
        return 0;
    }
    
    @java.lang.Override
    @org.jetbrains.annotations.NotNull
    public java.lang.String toString() {
        return null;
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000R\n\u0002\u0018\u0002\n\u0002\u0010\u0000\n\u0002\b\u0002\n\u0002\u0010\t\n\u0000\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010 \n\u0002\u0010\u000e\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0005\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\u000b\n\u0002\b\u0002\n\u0002\u0010\"\n\u0002\b\u0002\n\u0002\u0018\u0002\n\u0000\b\u0086\u0003\u0018\u00002\u00020\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002J\u001d\u0010\u0013\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u000b0\n0\nH\u0082@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u0014J\'\u0010\u0015\u001a\b\u0012\u0004\u0012\u00020\u00160\n2\u0006\u0010\u0017\u001a\u00020\u000b2\u0006\u0010\u0018\u001a\u00020\u0019H\u0086@\u00f8\u0001\u0000\u00a2\u0006\u0002\u0010\u001aJ\u0016\u0010\u001b\u001a\b\u0012\u0004\u0012\u00020\u000b0\u001c2\u0006\u0010\u001d\u001a\u00020\u000bH\u0002J\u001e\u0010\u001e\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u000b0\n0\n*\b\u0012\u0004\u0012\u00020\u000b0\u001fH\u0002R\u000e\u0010\u0003\u001a\u00020\u0004X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0005\u001a\u00020\u0006X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0007\u001a\u00020\u0006X\u0082T\u00a2\u0006\u0002\n\u0000R\u000e\u0010\b\u001a\u00020\u0006X\u0082T\u00a2\u0006\u0002\n\u0000R\u001a\u0010\t\u001a\u000e\u0012\n\u0012\b\u0012\u0004\u0012\u00020\u000b0\n0\nX\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\f\u001a\u00020\u0004X\u0082\u000e\u00a2\u0006\u0002\n\u0000R\u000e\u0010\r\u001a\u00020\u000eX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u000f\u001a\u00020\u0010X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0011\u001a\u00020\u000eX\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u000e\u0010\u0012\u001a\u00020\u0010X\u0082\u0004\u00a2\u0006\u0002\n\u0000\u0082\u0002\u0004\n\u0002\b\u0019\u00a8\u0006 "}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/IpNeighbour$Companion;", "", "()V", "ARP_CACHE_EXPIRE", "", "ARP_DEVICE", "", "ARP_HW_ADDRESS", "ARP_IP_ADDRESS", "arpCache", "", "", "arpCacheTime", "devFallback", "Lkotlin/text/Regex;", "mac", "Ljava/util/regex/Pattern;", "parser", "spaces", "arp", "(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "parse", "Lhanson/xyz/vpnhotspotmod/net/IpNeighbour;", "line", "fullMode", "", "(Ljava/lang/String;ZLkotlin/coroutines/Continuation;)Ljava/lang/Object;", "substituteDev", "", "dev", "makeArp", "Lkotlin/sequences/Sequence;", "mobile_freedomDebug"})
    public static final class Companion {
        
        private Companion() {
            super();
        }
        
        private final java.util.Set<java.lang.String> substituteDev(java.lang.String dev) {
            return null;
        }
        
        @org.jetbrains.annotations.Nullable
        public final java.lang.Object parse(@org.jetbrains.annotations.NotNull
        java.lang.String line, boolean fullMode, @org.jetbrains.annotations.NotNull
        kotlin.coroutines.Continuation<? super java.util.List<hanson.xyz.vpnhotspotmod.net.IpNeighbour>> $completion) {
            return null;
        }
        
        private final java.util.List<java.util.List<java.lang.String>> makeArp(kotlin.sequences.Sequence<java.lang.String> $this$makeArp) {
            return null;
        }
        
        private final java.lang.Object arp(kotlin.coroutines.Continuation<? super java.util.List<? extends java.util.List<java.lang.String>>> $completion) {
            return null;
        }
    }
    
    @kotlin.Metadata(mv = {1, 9, 0}, k = 1, xi = 48, d1 = {"\u0000\f\n\u0002\u0018\u0002\n\u0002\u0010\u0010\n\u0002\b\u0006\b\u0086\u0081\u0002\u0018\u00002\b\u0012\u0004\u0012\u00020\u00000\u0001B\u0007\b\u0002\u00a2\u0006\u0002\u0010\u0002j\u0002\b\u0003j\u0002\b\u0004j\u0002\b\u0005j\u0002\b\u0006\u00a8\u0006\u0007"}, d2 = {"Lhanson/xyz/vpnhotspotmod/net/IpNeighbour$State;", "", "(Ljava/lang/String;I)V", "INCOMPLETE", "VALID", "FAILED", "DELETING", "mobile_freedomDebug"})
    public static enum State {
        /*public static final*/ INCOMPLETE /* = new INCOMPLETE() */,
        /*public static final*/ VALID /* = new VALID() */,
        /*public static final*/ FAILED /* = new FAILED() */,
        /*public static final*/ DELETING /* = new DELETING() */;
        
        State() {
        }
        
        @org.jetbrains.annotations.NotNull
        public static kotlin.enums.EnumEntries<hanson.xyz.vpnhotspotmod.net.IpNeighbour.State> getEntries() {
            return null;
        }
    }
}