public class android.net.util.IpUtils
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: android.net.util.IpUtils
  super_class: java.lang.Object
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // android.net.util.IpUtils this
         0: .line 32
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // android.net.util.IpUtils this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Landroid/net/util/IpUtils;

  private static int intAbs(short);
    descriptor: (S)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // short v
         0: .line 38
            iload 0 /* v */
            ldc 65535
            iand
            ireturn
        end local 0 // short v
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     v  S
    MethodParameters:
      Name  Flags
      v     

  private static int checksum(java.nio.ByteBuffer, int, int, int);
    descriptor: (Ljava/nio/ByteBuffer;III)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=9, args_size=4
        start local 0 // java.nio.ByteBuffer buf
        start local 1 // int seed
        start local 2 // int start
        start local 3 // int end
         0: .line 47
            iload 1 /* seed */
            istore 4 /* sum */
        start local 4 // int sum
         1: .line 48
            aload 0 /* buf */
            invokevirtual java.nio.ByteBuffer.position:()I
            istore 5 /* bufPosition */
        start local 5 // int bufPosition
         2: .line 52
            aload 0 /* buf */
            iload 2 /* start */
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
         3: .line 53
            aload 0 /* buf */
            invokevirtual java.nio.ByteBuffer.asShortBuffer:()Ljava/nio/ShortBuffer;
            astore 6 /* shortBuf */
        start local 6 // java.nio.ShortBuffer shortBuf
         4: .line 56
            aload 0 /* buf */
            iload 5 /* bufPosition */
            invokevirtual java.nio.ByteBuffer.position:(I)Ljava/nio/Buffer;
            pop
         5: .line 58
            iload 3 /* end */
            iload 2 /* start */
            isub
            iconst_2
            idiv
            istore 7 /* numShorts */
        start local 7 // int numShorts
         6: .line 59
            iconst_0
            istore 8 /* i */
        start local 8 // int i
         7: goto 10
         8: .line 60
      StackMap locals: java.nio.ByteBuffer int int int int int java.nio.ShortBuffer int int
      StackMap stack:
            iload 4 /* sum */
            aload 6 /* shortBuf */
            iload 8 /* i */
            invokevirtual java.nio.ShortBuffer.get:(I)S
            invokestatic android.net.util.IpUtils.intAbs:(S)I
            iadd
            istore 4 /* sum */
         9: .line 59
            iinc 8 /* i */ 1
      StackMap locals:
      StackMap stack:
        10: iload 8 /* i */
            iload 7 /* numShorts */
            if_icmplt 8
        end local 8 // int i
        11: .line 62
            iload 2 /* start */
            iload 7 /* numShorts */
            iconst_2
            imul
            iadd
            istore 2 /* start */
        12: .line 65
            iload 3 /* end */
            iload 2 /* start */
            if_icmpeq 17
        13: .line 66
            aload 0 /* buf */
            iload 2 /* start */
            invokevirtual java.nio.ByteBuffer.get:(I)B
            istore 8 /* b */
        start local 8 // short b
        14: .line 69
            iload 8 /* b */
            ifge 16
        15: .line 70
            iload 8 /* b */
            sipush 256
            iadd
            i2s
            istore 8 /* b */
        16: .line 73
      StackMap locals: java.nio.ByteBuffer int int int int int java.nio.ShortBuffer int int
      StackMap stack:
            iload 4 /* sum */
            iload 8 /* b */
            sipush 256
            imul
            iadd
            istore 4 /* sum */
        end local 8 // short b
        17: .line 76
      StackMap locals:
      StackMap stack:
            iload 4 /* sum */
            bipush 16
            ishr
            ldc 65535
            iand
            iload 4 /* sum */
            ldc 65535
            iand
            iadd
            istore 4 /* sum */
        18: .line 77
            iload 4 /* sum */
            iload 4 /* sum */
            bipush 16
            ishr
            ldc 65535
            iand
            iadd
            ldc 65535
            iand
            istore 4 /* sum */
        19: .line 78
            iload 4 /* sum */
            iconst_m1
            ixor
            istore 8 /* negated */
        start local 8 // int negated
        20: .line 79
            iload 8 /* negated */
            i2s
            invokestatic android.net.util.IpUtils.intAbs:(S)I
            ireturn
        end local 8 // int negated
        end local 7 // int numShorts
        end local 6 // java.nio.ShortBuffer shortBuf
        end local 5 // int bufPosition
        end local 4 // int sum
        end local 3 // int end
        end local 2 // int start
        end local 1 // int seed
        end local 0 // java.nio.ByteBuffer buf
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   21     0          buf  Ljava/nio/ByteBuffer;
            0   21     1         seed  I
            0   21     2        start  I
            0   21     3          end  I
            1   21     4          sum  I
            2   21     5  bufPosition  I
            4   21     6     shortBuf  Ljava/nio/ShortBuffer;
            6   21     7    numShorts  I
            7   11     8            i  I
           14   17     8            b  S
           20   21     8      negated  I
    MethodParameters:
       Name  Flags
      buf    
      seed   
      start  
      end    

  private static int pseudoChecksumIPv4(java.nio.ByteBuffer, int, int, int);
    descriptor: (Ljava/nio/ByteBuffer;III)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=5, args_size=4
        start local 0 // java.nio.ByteBuffer buf
        start local 1 // int headerOffset
        start local 2 // int protocol
        start local 3 // int transportLen
         0: .line 84
            iload 2 /* protocol */
            iload 3 /* transportLen */
            iadd
            istore 4 /* partial */
        start local 4 // int partial
         1: .line 85
            iload 4 /* partial */
            aload 0 /* buf */
            iload 1 /* headerOffset */
            bipush 12
            iadd
            invokevirtual java.nio.ByteBuffer.getShort:(I)S
            invokestatic android.net.util.IpUtils.intAbs:(S)I
            iadd
            istore 4 /* partial */
         2: .line 86
            iload 4 /* partial */
            aload 0 /* buf */
            iload 1 /* headerOffset */
            bipush 14
            iadd
            invokevirtual java.nio.ByteBuffer.getShort:(I)S
            invokestatic android.net.util.IpUtils.intAbs:(S)I
            iadd
            istore 4 /* partial */
         3: .line 87
            iload 4 /* partial */
            aload 0 /* buf */
            iload 1 /* headerOffset */
            bipush 16
            iadd
            invokevirtual java.nio.ByteBuffer.getShort:(I)S
            invokestatic android.net.util.IpUtils.intAbs:(S)I
            iadd
            istore 4 /* partial */
         4: .line 88
            iload 4 /* partial */
            aload 0 /* buf */
            iload 1 /* headerOffset */
            bipush 18
            iadd
            invokevirtual java.nio.ByteBuffer.getShort:(I)S
            invokestatic android.net.util.IpUtils.intAbs:(S)I
            iadd
            istore 4 /* partial */
         5: .line 89
            iload 4 /* partial */
            ireturn
        end local 4 // int partial
        end local 3 // int transportLen
        end local 2 // int protocol
        end local 1 // int headerOffset
        end local 0 // java.nio.ByteBuffer buf
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    6     0           buf  Ljava/nio/ByteBuffer;
            0    6     1  headerOffset  I
            0    6     2      protocol  I
            0    6     3  transportLen  I
            1    6     4       partial  I
    MethodParameters:
              Name  Flags
      buf           
      headerOffset  
      protocol      
      transportLen  

  private static int pseudoChecksumIPv6(java.nio.ByteBuffer, int, int, int);
    descriptor: (Ljava/nio/ByteBuffer;III)I
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=6, args_size=4
        start local 0 // java.nio.ByteBuffer buf
        start local 1 // int headerOffset
        start local 2 // int protocol
        start local 3 // int transportLen
         0: .line 94
            iload 2 /* protocol */
            iload 3 /* transportLen */
            iadd
            istore 4 /* partial */
        start local 4 // int partial
         1: .line 95
            bipush 8
            istore 5 /* offset */
        start local 5 // int offset
         2: goto 5
         3: .line 96
      StackMap locals: int int
      StackMap stack:
            iload 4 /* partial */
            aload 0 /* buf */
            iload 1 /* headerOffset */
            iload 5 /* offset */
            iadd
            invokevirtual java.nio.ByteBuffer.getShort:(I)S
            invokestatic android.net.util.IpUtils.intAbs:(S)I
            iadd
            istore 4 /* partial */
         4: .line 95
            iinc 5 /* offset */ 2
      StackMap locals:
      StackMap stack:
         5: iload 5 /* offset */
            bipush 40
            if_icmplt 3
        end local 5 // int offset
         6: .line 98
            iload 4 /* partial */
            ireturn
        end local 4 // int partial
        end local 3 // int transportLen
        end local 2 // int protocol
        end local 1 // int headerOffset
        end local 0 // java.nio.ByteBuffer buf
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    7     0           buf  Ljava/nio/ByteBuffer;
            0    7     1  headerOffset  I
            0    7     2      protocol  I
            0    7     3  transportLen  I
            1    7     4       partial  I
            2    6     5        offset  I
    MethodParameters:
              Name  Flags
      buf           
      headerOffset  
      protocol      
      transportLen  

  private static byte ipversion(java.nio.ByteBuffer, int);
    descriptor: (Ljava/nio/ByteBuffer;I)B
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // java.nio.ByteBuffer buf
        start local 1 // int headerOffset
         0: .line 102
            aload 0 /* buf */
            iload 1 /* headerOffset */
            invokevirtual java.nio.ByteBuffer.get:(I)B
            bipush -16
            iand
            iconst_4
            ishr
            i2b
            ireturn
        end local 1 // int headerOffset
        end local 0 // java.nio.ByteBuffer buf
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    1     0           buf  Ljava/nio/ByteBuffer;
            0    1     1  headerOffset  I
    MethodParameters:
              Name  Flags
      buf           
      headerOffset  

  public static short ipChecksum(java.nio.ByteBuffer, int);
    descriptor: (Ljava/nio/ByteBuffer;I)S
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=6, locals=3, args_size=2
        start local 0 // java.nio.ByteBuffer buf
        start local 1 // int headerOffset
         0: .line 106
            aload 0 /* buf */
            iload 1 /* headerOffset */
            invokevirtual java.nio.ByteBuffer.get:(I)B
            bipush 15
            iand
            i2b
            istore 2 /* ihl */
        start local 2 // byte ihl
         1: .line 107
            aload 0 /* buf */
            iconst_0
            iload 1 /* headerOffset */
            iload 1 /* headerOffset */
            iload 2 /* ihl */
            iconst_4
            imul
            iadd
            invokestatic android.net.util.IpUtils.checksum:(Ljava/nio/ByteBuffer;III)I
            i2s
            ireturn
        end local 2 // byte ihl
        end local 1 // int headerOffset
        end local 0 // java.nio.ByteBuffer buf
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    2     0           buf  Ljava/nio/ByteBuffer;
            0    2     1  headerOffset  I
            1    2     2           ihl  B
    MethodParameters:
              Name  Flags
      buf           
      headerOffset  

  private static short transportChecksum(java.nio.ByteBuffer, int, int, int, int);
    descriptor: (Ljava/nio/ByteBuffer;IIII)S
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=5, args_size=5
         0: .line 126
            new java.lang.Error
            dup
            ldc "Unresolved compilation problem: \n\tIPPROTO_UDP cannot be resolved to a variable\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    MethodParameters:
                 Name  Flags
      buf              
      protocol         
      ipOffset         
      transportOffset  
      transportLen     

  public static short udpChecksum(java.nio.ByteBuffer, int, int);
    descriptor: (Ljava/nio/ByteBuffer;II)S
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=3, args_size=3
         0: .line 134
            new java.lang.Error
            dup
            ldc "Unresolved compilation problem: \n\tIPPROTO_UDP cannot be resolved to a variable\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    MethodParameters:
                 Name  Flags
      buf              
      ipOffset         
      transportOffset  

  public static short tcpChecksum(java.nio.ByteBuffer, int, int, int);
    descriptor: (Ljava/nio/ByteBuffer;III)S
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=4, args_size=4
         0: .line 139
            new java.lang.Error
            dup
            ldc "Unresolved compilation problem: \n\tIPPROTO_TCP cannot be resolved to a variable\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    MethodParameters:
                 Name  Flags
      buf              
      ipOffset         
      transportOffset  
      transportLen     

  public static java.lang.String addressAndPortToString(java.net.InetAddress, int);
    descriptor: (Ljava/net/InetAddress;I)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // java.net.InetAddress address
        start local 1 // int port
         0: .line 144
            aload 0 /* address */
            instanceof java.net.Inet6Address
            ifeq 1
            ldc "[%s]:%d"
            goto 2
      StackMap locals:
      StackMap stack:
         1: ldc "%s:%d"
      StackMap locals:
      StackMap stack: java.lang.String
         2: iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
         3: .line 145
            aload 0 /* address */
            invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
            aastore
            dup
            iconst_1
            iload 1 /* port */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
         4: .line 143
            invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
            areturn
        end local 1 // int port
        end local 0 // java.net.InetAddress address
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    5     0  address  Ljava/net/InetAddress;
            0    5     1     port  I
    MethodParameters:
         Name  Flags
      address  
      port     

  public static boolean isValidUdpOrTcpPort(int);
    descriptor: (I)Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // int port
         0: .line 149
            iload 0 /* port */
            ifle 1
            iload 0 /* port */
            ldc 65536
            if_icmpge 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // int port
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  port  I
    MethodParameters:
      Name  Flags
      port  
}
SourceFile: "IpUtils.java"