public class sun.nio.ch.SctpNet
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.nio.ch.SctpNet
super_class: java.lang.Object
{
static final java.lang.String osName;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
private static boolean revealLocalAddress;
descriptor: Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static volatile boolean propRevealLocalAddr;
descriptor: Z
flags: (0x004a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new sun.security.action.GetPropertyAction
dup
ldc "os.name"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
1: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
putstatic sun.nio.ch.SctpNet.osName:Ljava/lang/String;
2: invokestatic sun.nio.ch.SctpNet.init:()V
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/nio/ch/SctpNet;
private static boolean IPv4MappedAddresses();
descriptor: ()Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc "SunOS"
getstatic sun.nio.ch.SctpNet.osName:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
LocalVariableTable:
Start End Slot Name Signature
static boolean throwAlreadyBoundException();
descriptor: ()Z
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.nio.channels.AlreadyBoundException
dup
invokespecial java.nio.channels.AlreadyBoundException.<init>:()V
athrow
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.io.IOException
static void listen(int, int);
descriptor: (II)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
invokestatic sun.nio.ch.SctpNet.listen0:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fd I
0 2 1 backlog I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
backlog
static int connect(int, java.net.InetAddress, int);
descriptor: (ILjava/net/InetAddress;I)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 0
aload 1
iload 2
invokestatic sun.nio.ch.SctpNet.connect0:(ILjava/net/InetAddress;I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fd I
0 1 1 remote Ljava/net/InetAddress;
0 1 2 remotePort I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
remote
remotePort
static void close(int);
descriptor: (I)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic sun.nio.ch.SctpNet.close0:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fd I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
static void preClose(int);
descriptor: (I)V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iload 0
invokestatic sun.nio.ch.SctpNet.preClose0:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fd I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
static java.io.FileDescriptor socket(boolean);
descriptor: (Z)Ljava/io/FileDescriptor;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: iload 0
invokestatic sun.nio.ch.SctpNet.socket0:(Z)I
istore 1
start local 1 1: iload 1
invokestatic sun.nio.ch.IOUtil.newFD:(I)Ljava/io/FileDescriptor;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 oneToOne Z
1 2 1 nativefd I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oneToOne
static void bindx(int, java.net.InetAddress[], int, boolean);
descriptor: (I[Ljava/net/InetAddress;IZ)V
flags: (0x0008) ACC_STATIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 0
aload 1
iload 2
aload 1
arraylength
iload 3
1: invokestatic sun.nio.ch.SctpNet.IPv4MappedAddresses:()Z
2: invokestatic sun.nio.ch.SctpNet.bindx:(I[Ljava/net/InetAddress;IIZZ)V
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 fd I
0 4 1 addrs [Ljava/net/InetAddress;
0 4 2 port I
0 4 3 add Z
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
addrs
port
add
static java.util.Set<java.net.SocketAddress> getLocalAddresses(int);
descriptor: (I)Ljava/util/Set;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: iload 0
invokestatic sun.nio.ch.SctpNet.getLocalAddresses0:(I)[Ljava/net/SocketAddress;
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 2
invokestatic sun.nio.ch.SctpNet.getRevealedLocalAddressSet:([Ljava/net/SocketAddress;)Ljava/util/Set;
astore 1
4: StackMap locals: java.util.Set java.net.SocketAddress[]
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 fd I
1 5 1 set Ljava/util/Set<Ljava/net/SocketAddress;>;
2 5 2 saa [Ljava/net/SocketAddress;
Exceptions:
throws java.io.IOException
Signature: (I)Ljava/util/Set<Ljava/net/SocketAddress;>;
MethodParameters:
Name Flags
fd
private static java.util.Set<java.net.SocketAddress> getRevealedLocalAddressSet(java.net.SocketAddress[]);
descriptor: ([Ljava/net/SocketAddress;)Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: new java.util.HashSet
dup
aload 0
arraylength
invokespecial java.util.HashSet.<init>:(I)V
astore 2
start local 2 2: aload 0
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 6
StackMap locals: java.net.SocketAddress[] java.lang.SecurityManager java.util.Set top int int java.net.SocketAddress[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 2
aload 3
aload 1
invokestatic sun.nio.ch.SctpNet.getRevealedLocalAddress:(Ljava/net/SocketAddress;Ljava/lang/SecurityManager;)Ljava/net/SocketAddress;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 3 5: iinc 4 1
StackMap locals:
StackMap stack:
6: iload 4
iload 5
if_icmplt 3
7: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 saa [Ljava/net/SocketAddress;
1 8 1 sm Ljava/lang/SecurityManager;
2 8 2 set Ljava/util/Set<Ljava/net/SocketAddress;>;
4 5 3 sa Ljava/net/SocketAddress;
Signature: ([Ljava/net/SocketAddress;)Ljava/util/Set<Ljava/net/SocketAddress;>;
MethodParameters:
Name Flags
saa
private static java.net.SocketAddress getRevealedLocalAddress(java.net.SocketAddress, java.lang.SecurityManager);
descriptor: (Ljava/net/SocketAddress;Ljava/lang/SecurityManager;)Ljava/net/SocketAddress;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 0
ifnonnull 2
1: StackMap locals:
StackMap stack:
aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
checkcast java.net.InetSocketAddress
astore 2
start local 2 3: getstatic sun.nio.ch.SctpNet.propRevealLocalAddr:Z
ifne 10
4: new sun.nio.ch.SctpNet$1
dup
invokespecial sun.nio.ch.SctpNet$1.<init>:()V
5: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
checkcast java.lang.String
6: invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putstatic sun.nio.ch.SctpNet.revealLocalAddress:Z
7: goto 9
StackMap locals: java.net.SocketAddress java.lang.SecurityManager java.net.InetSocketAddress
StackMap stack: java.lang.Exception
8: pop
9: StackMap locals:
StackMap stack:
iconst_1
putstatic sun.nio.ch.SctpNet.propRevealLocalAddr:Z
10: StackMap locals:
StackMap stack:
getstatic sun.nio.ch.SctpNet.revealLocalAddress:Z
ifne 17
11: aload 1
aload 2
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
invokevirtual java.net.InetAddress.getHostAddress:()Ljava/lang/String;
iconst_m1
invokevirtual java.lang.SecurityManager.checkConnect:(Ljava/lang/String;I)V
12: goto 17
StackMap locals:
StackMap stack: java.lang.SecurityException
13: pop
14: new java.net.InetSocketAddress
dup
15: invokestatic java.net.InetAddress.getLoopbackAddress:()Ljava/net/InetAddress;
aload 2
invokevirtual java.net.InetSocketAddress.getPort:()I
16: invokespecial java.net.InetSocketAddress.<init>:(Ljava/net/InetAddress;I)V
areturn
17: StackMap locals:
StackMap stack:
aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 sa Ljava/net/SocketAddress;
0 18 1 sm Ljava/lang/SecurityManager;
3 18 2 ia Ljava/net/InetSocketAddress;
Exception table:
from to target type
4 7 8 Class java.lang.Exception
11 12 13 Class java.lang.SecurityException
MethodParameters:
Name Flags
sa
sm
static java.util.Set<java.net.SocketAddress> getRemoteAddresses(int, int);
descriptor: (II)Ljava/util/Set;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: iload 0
iload 1
invokestatic sun.nio.ch.SctpNet.getRemoteAddresses0:(II)[Ljava/net/SocketAddress;
astore 3
start local 3 2: aload 3
ifnull 9
3: new java.util.HashSet
dup
aload 3
arraylength
invokespecial java.util.HashSet.<init>:(I)V
astore 2
4: aload 3
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 8
StackMap locals: int int java.util.HashSet java.net.SocketAddress[] top int int java.net.SocketAddress[]
StackMap stack:
5: aload 7
iload 5
aaload
astore 4
start local 4 6: aload 2
aload 4
invokevirtual java.util.HashSet.add:(Ljava/lang/Object;)Z
pop
end local 4 7: iinc 5 1
StackMap locals:
StackMap stack:
8: iload 5
iload 6
if_icmplt 5
9: StackMap locals: int int java.util.HashSet java.net.SocketAddress[]
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 fd I
0 10 1 assocId I
1 10 2 set Ljava/util/HashSet<Ljava/net/SocketAddress;>;
2 10 3 saa [Ljava/net/SocketAddress;
6 7 4 sa Ljava/net/SocketAddress;
Exceptions:
throws java.io.IOException
Signature: (II)Ljava/util/Set<Ljava/net/SocketAddress;>;
MethodParameters:
Name Flags
fd
assocId
static <T> void setSocketOption(int, com.sun.nio.sctp.SctpSocketOption<T>, T, );
descriptor: (ILcom/sun/nio/sctp/SctpSocketOption;Ljava/lang/Object;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Invalid option value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SCTP_INIT_MAXSTREAMS:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 8
3: aload 2
checkcast com.sun.nio.sctp.SctpStandardSocketOptions$InitMaxStreams
astore 4
start local 4 4: iload 0
5: aload 4
invokevirtual com.sun.nio.sctp.SctpStandardSocketOptions$InitMaxStreams.maxInStreams:()I
aload 4
invokevirtual com.sun.nio.sctp.SctpStandardSocketOptions$InitMaxStreams.maxOutStreams:()I
6: invokestatic sun.nio.ch.SctpNet.setInitMsgOption0:(III)V
end local 4 7: goto 39
StackMap locals:
StackMap stack:
8: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SCTP_PRIMARY_ADDR:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 10
9: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SCTP_SET_PEER_PRIMARY_ADDR:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 29
10: StackMap locals:
StackMap stack:
aload 2
checkcast java.net.SocketAddress
astore 4
start local 4 11: aload 4
ifnonnull 13
12: new java.lang.IllegalArgumentException
dup
ldc "Invalid option value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals: java.net.SocketAddress
StackMap stack:
aload 4
invokestatic sun.nio.ch.Net.checkAddress:(Ljava/net/SocketAddress;)Ljava/net/InetSocketAddress;
pop
14: aload 4
checkcast java.net.InetSocketAddress
astore 5
start local 5 15: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SCTP_PRIMARY_ADDR:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 22
16: iload 0
17: iload 3
18: aload 5
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
19: aload 5
invokevirtual java.net.InetSocketAddress.getPort:()I
20: invokestatic sun.nio.ch.SctpNet.setPrimAddrOption0:(IILjava/net/InetAddress;I)V
21: goto 39
22: StackMap locals: java.net.InetSocketAddress
StackMap stack:
iload 0
23: iload 3
24: aload 5
invokevirtual java.net.InetSocketAddress.getAddress:()Ljava/net/InetAddress;
25: aload 5
invokevirtual java.net.InetSocketAddress.getPort:()I
26: invokestatic sun.nio.ch.SctpNet.IPv4MappedAddresses:()Z
27: invokestatic sun.nio.ch.SctpNet.setPeerPrimAddrOption0:(IILjava/net/InetAddress;IZ)V
end local 5 end local 4 28: goto 39
StackMap locals:
StackMap stack:
29: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SCTP_DISABLE_FRAGMENTS:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 36
30: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SCTP_EXPLICIT_COMPLETE:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 36
31: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SCTP_FRAGMENT_INTERLEAVE:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 36
32: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SCTP_NODELAY:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 36
33: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SO_SNDBUF:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 36
34: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SO_RCVBUF:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 36
35: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SO_LINGER:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 38
36: StackMap locals:
StackMap stack:
iload 0
aload 1
aload 2
invokestatic sun.nio.ch.SctpNet.setIntOption:(ILcom/sun/nio/sctp/SctpSocketOption;Ljava/lang/Object;)V
37: goto 39
38: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
ldc "Unknown socket option"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
39: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 fd I
0 40 1 name Lcom/sun/nio/sctp/SctpSocketOption<TT;>;
0 40 2 value TT;
0 40 3 assocId I
4 7 4 maxStreamValue Lcom/sun/nio/sctp/SctpStandardSocketOptions$InitMaxStreams;
11 28 4 addr Ljava/net/SocketAddress;
15 28 5 netAddr Ljava/net/InetSocketAddress;
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(ILcom/sun/nio/sctp/SctpSocketOption<TT;>;TT;I)V
MethodParameters:
Name Flags
fd
name
value
assocId
static getSocketOption(int, com.sun.nio.sctp.SctpSocketOption<?>, int);
descriptor: (ILcom/sun/nio/sctp/SctpSocketOption;I)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SCTP_SET_PEER_PRIMARY_ADDR:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "SCTP_SET_PEER_PRIMARY_ADDR cannot be retrieved"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SCTP_INIT_MAXSTREAMS:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 8
5: iconst_2
newarray 10
astore 3
start local 3 6: iload 0
aload 3
invokestatic sun.nio.ch.SctpNet.getInitMsgOption0:(I[I)V
7: aload 3
iconst_0
iaload
aload 3
iconst_1
iaload
invokestatic com.sun.nio.sctp.SctpStandardSocketOptions$InitMaxStreams.create:(II)Lcom/sun/nio/sctp/SctpStandardSocketOptions$InitMaxStreams;
areturn
end local 3 8: StackMap locals:
StackMap stack:
aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SCTP_PRIMARY_ADDR:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 10
9: iload 0
iload 2
invokestatic sun.nio.ch.SctpNet.getPrimAddrOption0:(II)Ljava/net/SocketAddress;
areturn
10: StackMap locals:
StackMap stack:
aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SCTP_DISABLE_FRAGMENTS:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 17
11: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SCTP_EXPLICIT_COMPLETE:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 17
12: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SCTP_FRAGMENT_INTERLEAVE:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 17
13: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SCTP_NODELAY:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 17
14: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SO_SNDBUF:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 17
15: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SO_RCVBUF:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifne 17
16: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SO_LINGER:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 18
17: StackMap locals:
StackMap stack:
iload 0
aload 1
invokestatic sun.nio.ch.SctpNet.getIntOption:(ILcom/sun/nio/sctp/SctpSocketOption;)Ljava/lang/Object;
areturn
18: StackMap locals:
StackMap stack:
new java.lang.AssertionError
dup
ldc "Unknown socket option"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 fd I
0 19 1 name Lcom/sun/nio/sctp/SctpSocketOption<*>;
0 19 2 assocId I
6 8 3 values [I
Exceptions:
throws java.io.IOException
Signature: (ILcom/sun/nio/sctp/SctpSocketOption<*>;I)Ljava/lang/Object;
MethodParameters:
Name Flags
fd
name
assocId
static void setIntOption(int, com.sun.nio.sctp.SctpSocketOption<?>, );
descriptor: (ILcom/sun/nio/sctp/SctpSocketOption;Ljava/lang/Object;)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Invalid option value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.sun.nio.sctp.SctpSocketOption.type:()Ljava/lang/Class;
astore 3
start local 3 3: aload 3
ldc Ljava/lang/Integer;
if_acmpeq 5
aload 3
ldc Ljava/lang/Boolean;
if_acmpeq 5
4: new java.lang.AssertionError
dup
ldc "Should not reach here"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals: java.lang.Class
StackMap stack:
aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SO_RCVBUF:Lcom/sun/nio/sctp/SctpSocketOption;
if_acmpeq 7
6: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SO_SNDBUF:Lcom/sun/nio/sctp/SctpSocketOption;
if_acmpne 12
7: StackMap locals:
StackMap stack:
aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 4
start local 4 8: iload 4
ifge 25
9: new java.lang.IllegalArgumentException
dup
10: ldc "Invalid send/receive buffer size"
11: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 12: StackMap locals:
StackMap stack:
aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SO_LINGER:Lcom/sun/nio/sctp/SctpSocketOption;
if_acmpne 19
13: aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 4
start local 4 14: iload 4
ifge 16
15: iconst_m1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 2
16: StackMap locals: int
StackMap stack:
iload 4
ldc 65535
if_icmple 25
17: ldc 65535
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 2
end local 4 18: goto 25
StackMap locals:
StackMap stack:
19: aload 1
getstatic com.sun.nio.sctp.SctpStandardSocketOptions.SCTP_FRAGMENT_INTERLEAVE:Lcom/sun/nio/sctp/SctpSocketOption;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 25
20: aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 4
start local 4 21: iload 4
iflt 22
iload 4
iconst_2
if_icmple 25
22: StackMap locals: int
StackMap stack:
new java.lang.IllegalArgumentException
dup
23: ldc "Invalid value for SCTP_FRAGMENT_INTERLEAVE"
24: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 4 25: StackMap locals:
StackMap stack:
aload 3
ldc Ljava/lang/Integer;
if_acmpne 28
26: aload 2
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 4
start local 4 27: goto 32
end local 4 28: StackMap locals:
StackMap stack:
aload 2
checkcast java.lang.Boolean
invokevirtual java.lang.Boolean.booleanValue:()Z
istore 5
start local 5 29: iload 5
ifeq 30
iconst_1
goto 31
StackMap locals: int com.sun.nio.sctp.SctpSocketOption java.lang.Object java.lang.Class top int
StackMap stack:
30: iconst_0
StackMap locals:
StackMap stack: int
31: istore 4
end local 5 start local 4 32: StackMap locals: int com.sun.nio.sctp.SctpSocketOption java.lang.Object java.lang.Class int
StackMap stack:
iload 0
aload 1
checkcast sun.nio.ch.SctpStdSocketOption
invokevirtual sun.nio.ch.SctpStdSocketOption.constValue:()I
iload 4
invokestatic sun.nio.ch.SctpNet.setIntOption0:(III)V
33: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 fd I
0 34 1 name Lcom/sun/nio/sctp/SctpSocketOption<*>;
0 34 2 value Ljava/lang/Object;
3 34 3 type Ljava/lang/Class<*>;
8 12 4 i I
14 18 4 i I
21 25 4 i I
27 28 4 arg I
32 34 4 arg I
29 32 5 b Z
Exceptions:
throws java.io.IOException
Signature: (ILcom/sun/nio/sctp/SctpSocketOption<*>;Ljava/lang/Object;)V
MethodParameters:
Name Flags
fd
name
value
static getIntOption(int, com.sun.nio.sctp.SctpSocketOption<?>);
descriptor: (ILcom/sun/nio/sctp/SctpSocketOption;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.sun.nio.sctp.SctpSocketOption.type:()Ljava/lang/Class;
astore 2
start local 2 1: aload 2
ldc Ljava/lang/Integer;
if_acmpeq 3
aload 2
ldc Ljava/lang/Boolean;
if_acmpeq 3
2: new java.lang.AssertionError
dup
ldc "Should not reach here"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals: java.lang.Class
StackMap stack:
aload 1
instanceof sun.nio.ch.SctpStdSocketOption
ifne 5
4: new java.lang.AssertionError
dup
ldc "Should not reach here"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
5: StackMap locals:
StackMap stack:
iload 0
6: aload 1
checkcast sun.nio.ch.SctpStdSocketOption
invokevirtual sun.nio.ch.SctpStdSocketOption.constValue:()I
7: invokestatic sun.nio.ch.SctpNet.getIntOption0:(II)I
istore 3
start local 3 8: aload 2
ldc Ljava/lang/Integer;
if_acmpne 10
9: iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
areturn
10: StackMap locals: int
StackMap stack:
iload 3
ifne 11
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
goto 12
StackMap locals:
StackMap stack:
11: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
StackMap locals:
StackMap stack: java.lang.Boolean
12: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 fd I
0 13 1 name Lcom/sun/nio/sctp/SctpSocketOption<*>;
1 13 2 type Ljava/lang/Class<*>;
8 13 3 value I
Exceptions:
throws java.io.IOException
Signature: (ILcom/sun/nio/sctp/SctpSocketOption<*>;)Ljava/lang/Object;
MethodParameters:
Name Flags
fd
name
static void shutdown(int, int);
descriptor: (II)V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
invokestatic sun.nio.ch.SctpNet.shutdown0:(II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fd I
0 2 1 assocId I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
assocId
static java.io.FileDescriptor branch(int, int);
descriptor: (II)Ljava/io/FileDescriptor;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iload 0
iload 1
invokestatic sun.nio.ch.SctpNet.branch0:(II)I
istore 2
start local 2 1: iload 2
invokestatic sun.nio.ch.IOUtil.newFD:(I)Ljava/io/FileDescriptor;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 fd I
0 2 1 assocId I
1 2 2 nativefd I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
assocId
static native int socket0(boolean);
descriptor: (Z)I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
oneToOne
static native void listen0(int, int);
descriptor: (II)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
backlog
static native int connect0(int, java.net.InetAddress, int);
descriptor: (ILjava/net/InetAddress;I)I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
remote
remotePort
static native void close0(int);
descriptor: (I)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
static native void preClose0(int);
descriptor: (I)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
static native void bindx(int, java.net.InetAddress[], int, int, boolean, boolean);
descriptor: (I[Ljava/net/InetAddress;IIZZ)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
addrs
port
length
add
preferIPv6
static native int getIntOption0(int, int);
descriptor: (II)I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
opt
static native void setIntOption0(int, int, int);
descriptor: (III)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
opt
arg
static native java.net.SocketAddress[] getLocalAddresses0(int);
descriptor: (I)[Ljava/net/SocketAddress;
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
static native java.net.SocketAddress[] getRemoteAddresses0(int, int);
descriptor: (II)[Ljava/net/SocketAddress;
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
assocId
static native int branch0(int, int);
descriptor: (II)I
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
assocId
static native void setPrimAddrOption0(int, int, java.net.InetAddress, int);
descriptor: (IILjava/net/InetAddress;I)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
assocId
ia
port
static native void setPeerPrimAddrOption0(int, int, java.net.InetAddress, int, boolean);
descriptor: (IILjava/net/InetAddress;IZ)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
assocId
ia
port
preferIPv6
static native java.net.SocketAddress getPrimAddrOption0(int, int);
descriptor: (II)Ljava/net/SocketAddress;
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
assocId
static native void getInitMsgOption0(int, int[]);
descriptor: (I[I)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
retVals
static native void setInitMsgOption0(int, int, int);
descriptor: (III)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
fd
arg1
arg2
static native void shutdown0(int, int);
descriptor: (II)V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
MethodParameters:
Name Flags
fd
assocId
static native void init();
descriptor: ()V
flags: (0x0108) ACC_STATIC, ACC_NATIVE
}
SourceFile: "SctpNet.java"
NestMembers:
sun.nio.ch.SctpNet$1
InnerClasses:
public InitMaxStreams = com.sun.nio.sctp.SctpStandardSocketOptions$InitMaxStreams of com.sun.nio.sctp.SctpStandardSocketOptions
sun.nio.ch.SctpNet$1