Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- accept() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
- addressFamily() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
- AF_INET_PROTOCOL_ICMP - Static variable in class org.newsclub.net.unix.darwin.system.IPUtil
-
The ICMP protocol.
- AFSYSTEMDatagramChannel - Class in org.newsclub.net.unix.darwin.system
-
A
DatagramChannel
implementation that works withAF_SYSTEM
sockets. - AFSYSTEMDatagramSocket - Class in org.newsclub.net.unix.darwin.system
-
A
DatagramSocket
implementation that works withAF_SYSTEM
sockets. - AFSYSTEMProtocolFamily - Enum Class in org.newsclub.net.unix.darwin.system
-
Describes the protocol families supported by junixsocket-afsystem.
- AFSYSTEMSelectorProvider - Class in org.newsclub.net.unix.darwin.system
-
Service-provider class for junixsocket selectors and selectable channels.
- AFSYSTEMServerSocket - Class in org.newsclub.net.unix.darwin.system
-
The server part of an
AF_SYSTEM
socket. - AFSYSTEMServerSocketChannel - Class in org.newsclub.net.unix.darwin.system
-
A selectable channel for stream-oriented listening sockets.
- AFSYSTEMSocket - Class in org.newsclub.net.unix.darwin.system
-
Implementation of an
AF_SYSTEM
socket. - AFSYSTEMSocketChannel - Class in org.newsclub.net.unix.darwin.system
-
A selectable channel for stream-oriented connecting sockets.
- AFSYSTEMSocketExtensions - Interface in org.newsclub.net.unix.darwin.system
-
Defines certain methods that all junixsocket AF_SYSTEM socket implementations share and extend beyond the standard socket API.
- AFSYSTEMSocketFactory - Class in org.newsclub.net.unix.darwin.system
-
The base for a SocketFactory that connects to AF_SYSTEM sockets.
- AFSYSTEMSocketFactory() - Constructor for class org.newsclub.net.unix.darwin.system.AFSYSTEMSocketFactory
-
Creates a
AFSYSTEMSocketFactory
. - AFSYSTEMSocketOptions - Class in org.newsclub.net.unix.darwin.system
-
AF_SYSTEM-specific socket options.
- AFSYSTEMSocketPair<T> - Class in org.newsclub.net.unix.darwin.system
-
A pair of sockets.
B
- bindOn(AFSYSTEMSocketAddress) - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
-
Returns a new AF_SYSTEM
ServerSocket
that is bound to the givenAFSYSTEMSocketAddress
. - bindOn(AFSYSTEMSocketAddress, boolean) - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
-
Returns a new AF_SYSTEM
ServerSocket
that is bound to the givenAFSocketAddress
.
C
- checksumICMPheader(ByteBuffer, int, int) - Static method in class org.newsclub.net.unix.darwin.system.IPUtil
-
Computes the checksum for an ICMP header, and overwrites any existing checksum with the correct one.
- checksumIPv4header(ByteBuffer, int, int) - Static method in class org.newsclub.net.unix.darwin.system.IPUtil
-
Computes the checksum for an IPv4 header, and overwrites any existing checksum with the correct one.
- configure(AFSYSTEMSocket) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocketFactory
-
Performs some optional configuration on a newly created socket.
- connectTo(AFSYSTEMSocketAddress) - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocket
-
Creates a new
AFSocket
and connects it to the givenAFSYSTEMSocketAddress
. - connectTo(AFSYSTEMSocketAddress) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocketFactory
- CONTENT_FILTER - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.content-filter
. - createSocket() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocketFactory
D
- DOMAIN_AF_INET - Static variable in class org.newsclub.net.unix.darwin.system.IPUtil
-
The identifier for AF_INET (at least on Darwin).
- DOMAIN_HEADER_LENGTH - Static variable in class org.newsclub.net.unix.darwin.system.IPUtil
-
The length (in bytes) of the "domain" header used in loopback packet systems like UTUN_CONTROL.
F
- FILEUTIL_KEXT_STATEFUL_CTL - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.fileutil.kext.stateful.ctl
. - FILEUTIL_KEXT_STATELESS_CTL - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.fileutil.kext.stateless.ctl
. - FLOW_DIVERT - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.flow-divert
. - forceBindOn(AFSYSTEMSocketAddress) - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
-
Returns a new, unbound AF_SYSTEM
ServerSocket
that will always bind to the given address, regardless of any socket address used in a call tobind
.
G
- getChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
- getChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
- getChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocket
- getControlName() - Method in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
Returns the control name identifier.
- getImplExtensions() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
- getInstance() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
-
Returns the singleton instance.
- getNodeIdentity(String) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
-
Retrieves the kernel control ID given a kernel control name.
- getNodeIdentity(WellKnownKernelControlNames) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
-
Retrieves the kernel control ID given a kernel control name.
- getOption(SocketOption<T>) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
I
- IPSEC_CONTROL - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.net.ipsec_control
. - IPUtil - Class in org.newsclub.net.unix.darwin.system
-
Some IP protocol-related helper methods.
- IPV4_DEFAULT_HEADER_SIZE - Static variable in class org.newsclub.net.unix.darwin.system.IPUtil
-
The length (in bytes) of an IPv4 header without options.
- isSupported() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocket
-
Returns
true
iffAFSYSTEMSocket
s (sockets of type "AF_SYSTEM") are supported by the current Java VM and the kernel.
M
- main(String[]) - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocket
-
Very basic self-test function.
- MCX_KERNCTL_ALR - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.mcx.kernctl.alr
.
N
- NECP_CONTROL - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.net.necp_control
. - NET_NETAGENT - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.net.netagent
. - NET_RVI_CONTROL - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.net.rvi_control
. - NETSRC - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.netsrc
. - NETWORK_ADVISORY - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.network.advisory
. - NETWORK_STATISTICS - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.network.statistics
. - NETWORK_TCP_CCDEBUG - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.network.tcp_ccdebug
. - newChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
- newChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
- newChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocket
- newDatagramSocketInstance() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
- newImpl(FileDescriptor) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
- newInstance() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
-
Returns a new
AFSYSTEMDatagramSocket
instance, using the defaultAFSocketType.SOCK_DGRAM
socket type. - newInstance() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
-
Returns a new, unbound AF_SYSTEM
ServerSocket
. - newInstance() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocket
-
Creates a new, unbound
AFSocket
. - newInstance(AFSocketType) - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
-
Returns a new
AFSYSTEMDatagramSocket
instance for the given socket type. - newSocket() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
- newSocketInstance() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocket
- newSocketPair(P, P) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
-
Constructs a new socket pair from two sockets.
- newStrictInstance() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocket
-
Creates a new, unbound, "strict"
AFSocket
. - NKE_SOCKWALL - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.nke.sockwall
. - NKE_WEBCONTENTFILTER - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.nke.webcontentfilter
.
O
- open() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramChannel
-
Opens a datagram channel.
- open() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMServerSocketChannel
-
Opens a server-socket channel.
- open() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocketChannel
-
Opens a socket channel.
- open() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocketPair
-
Opens a socket pair of interconnected channels.
- open(ProtocolFamily) - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramChannel
-
Opens a datagram channel.
- openDatagram() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSocketPair
-
Opens a socket pair of interconnected datagram channels.
- openDatagramChannel() - Method in enum class org.newsclub.net.unix.darwin.system.AFSYSTEMProtocolFamily
- openDatagramChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
- openDatagramChannel(ProtocolFamily) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
- openDatagramChannel(AFSocketType) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
- openDatagramChannelPair() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
- openDatagramChannelPair(AFSocketType) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
- openServerSocketChannel() - Method in enum class org.newsclub.net.unix.darwin.system.AFSYSTEMProtocolFamily
- openServerSocketChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
- openServerSocketChannel(SocketAddress) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
- openSocketChannel() - Method in enum class org.newsclub.net.unix.darwin.system.AFSYSTEMProtocolFamily
- openSocketChannel() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
- openSocketChannel(SocketAddress) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
- openSocketChannelPair() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
- org.newsclub.net.unix.darwin - module org.newsclub.net.unix.darwin
-
The junixsocket implementation for things specific to Darwin (macOS kernel), such as AF_SYSTEM sockets.
- org.newsclub.net.unix.darwin.system - package org.newsclub.net.unix.darwin.system
-
The junixsocket implementation for Darwin AF_SYSTEM sockets.
P
- PACKET_MANGLER - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.packet-mangler
. - protocolFamily() - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
- provider() - Static method in class org.newsclub.net.unix.darwin.system.AFSYSTEMSelectorProvider
-
Returns the singleton instance.
- putICMPEchoResponse(ByteBuffer, short, short, ByteBuffer) - Static method in class org.newsclub.net.unix.darwin.system.IPUtil
-
Put (write) an ICMP echo response header to the given byte buffer, using the given parameters.
- putIPv4Header(ByteBuffer, int, byte, int, int) - Static method in class org.newsclub.net.unix.darwin.system.IPUtil
-
Put (write) an IPv4 header to the given byte buffer, using the given parameters.
S
- setOption(SocketOption<T>, T) - Method in class org.newsclub.net.unix.darwin.system.AFSYSTEMDatagramSocket
- SPMI_NFC - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.spmi.nfc
. - SYSTEM - Enum constant in enum class org.newsclub.net.unix.darwin.system.AFSYSTEMProtocolFamily
-
SYSTEM.
U
- UART_DEBUG_CONSOLE - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.uart.debug-console
. - UART_SK_DEBUG_CONSOLE - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.uart.sk.debug-console
. - UART_SK_WLAN_DEBUG - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.uart.sk.wlan-debug
. - UART_WLAN_DEBUG - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.uart.wlan-debug
. - USERSPACE_ETHERNET - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.userspace_ethernet
. - UTUN_CONTROL - Enum constant in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
com.apple.net.utun_control
.
V
- valueOf(String) - Static method in enum class org.newsclub.net.unix.darwin.system.AFSYSTEMProtocolFamily
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.newsclub.net.unix.darwin.system.AFSYSTEMProtocolFamily
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class org.newsclub.net.unix.darwin.system.WellKnownKernelControlNames
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WellKnownKernelControlNames - Enum Class in org.newsclub.net.unix.darwin.system
-
Well-known AF_SYSTEM control names.
All Classes and Interfaces|All Packages|Constant Field Values