Class IPHlpAPIFFM
java.lang.Object
oshi.ffm.ForeignFunctions
oshi.ffm.windows.WindowsForeignFunctions
oshi.ffm.windows.IPHlpAPIFFM
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final intstatic final intFields inherited from class ForeignFunctions
CAPTURE_CALL_STATE, CAPTURED_STATE_LAYOUT, ERRNO_HANDLE, LIBRARY_ARENA, LINKER, SYMBOL_LOOKUP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intGetExtendedTcpTable(MemorySegment tcpTable, MemorySegment tableSize, int bOrder, int ulAf, int tableClass, int reserved) static intGetExtendedUdpTable(MemorySegment udpTable, MemorySegment tableSize, int bOrder, int ulAf, int tableClass, int reserved) static intGetNetworkParams(MemorySegment fixedInfo, MemorySegment bufferSize) static intGetTcpStatisticsEx(MemorySegment stats, int family) static intGetUdpStatisticsEx(MemorySegment stats, int family) Methods inherited from class WindowsForeignFunctions
checkSuccess, isSuccess, readAnsiString, readWideString, setupTokenPrivileges, toWideStringMethods inherited from class ForeignFunctions
downcall, getByteArrayFromNativePointer, getErrno, getStringFromNativePointer, getStructFromNativePointer, lib, libraryLookup
-
Field Details
-
AF_INET
public static final int AF_INET- See Also:
-
AF_INET6
public static final int AF_INET6- See Also:
-
TCP_TABLE_OWNER_PID_ALL
public static final int TCP_TABLE_OWNER_PID_ALL- See Also:
-
UDP_TABLE_OWNER_PID
public static final int UDP_TABLE_OWNER_PID- See Also:
-
MIB_TCPROW_OWNER_PID_LAYOUT
-
MIB_TCP6ROW_OWNER_PID_LAYOUT
-
MIB_UDPROW_OWNER_PID_LAYOUT
-
MIB_UDP6ROW_OWNER_PID_LAYOUT
-
IP_ADDRESS_STRING_LAYOUT
-
IP_ADDR_STRING_LAYOUT
-
FIXED_INFO_LAYOUT
-
MIB_TCPSTATS_LAYOUT
-
MIB_UDPSTATS_LAYOUT
-
-
Constructor Details
-
IPHlpAPIFFM
public IPHlpAPIFFM()
-
-
Method Details
-
GetExtendedTcpTable
public static int GetExtendedTcpTable(MemorySegment tcpTable, MemorySegment tableSize, int bOrder, int ulAf, int tableClass, int reserved) throws Throwable - Throws:
Throwable
-
GetExtendedUdpTable
public static int GetExtendedUdpTable(MemorySegment udpTable, MemorySegment tableSize, int bOrder, int ulAf, int tableClass, int reserved) throws Throwable - Throws:
Throwable
-
GetNetworkParams
public static int GetNetworkParams(MemorySegment fixedInfo, MemorySegment bufferSize) throws Throwable - Throws:
Throwable
-
GetTcpStatisticsEx
- Throws:
Throwable
-
GetUdpStatisticsEx
- Throws:
Throwable
-