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 intstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final StructLayoutstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final intstatic final intFields inherited from class ForeignFunctions
CAPTURE_CALL_STATE, CAPTURED_STATE_LAYOUT, ERRNO_HANDLE, LIBRARY_ARENA, LINKER, NATIVE_LONG_SIZE, NATIVE_POINTER_SIZE, NATIVE_SIZE_T_SIZE, 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 intGetIfEntry2(MemorySegment pIfRow) 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
-
MIB_IF_ROW2_SIZE
public static final int MIB_IF_ROW2_SIZE- See Also:
-
OFFSET_INTERFACE_INDEX
public static final long OFFSET_INTERFACE_INDEX- See Also:
-
OFFSET_ALIAS
public static final long OFFSET_ALIAS- See Also:
-
OFFSET_TYPE
public static final long OFFSET_TYPE- See Also:
-
OFFSET_PHYSICAL_MEDIUM_TYPE
public static final long OFFSET_PHYSICAL_MEDIUM_TYPE- See Also:
-
OFFSET_FLAGS
public static final long OFFSET_FLAGS- See Also:
-
OFFSET_OPER_STATUS
public static final long OFFSET_OPER_STATUS- See Also:
-
OFFSET_RECEIVE_LINK_SPEED
public static final long OFFSET_RECEIVE_LINK_SPEED- See Also:
-
OFFSET_IN_OCTETS
public static final long OFFSET_IN_OCTETS- See Also:
-
OFFSET_IN_UCAST_PKTS
public static final long OFFSET_IN_UCAST_PKTS- See Also:
-
OFFSET_IN_DISCARDS
public static final long OFFSET_IN_DISCARDS- See Also:
-
OFFSET_IN_ERRORS
public static final long OFFSET_IN_ERRORS- See Also:
-
OFFSET_OUT_OCTETS
public static final long OFFSET_OUT_OCTETS- See Also:
-
OFFSET_OUT_UCAST_PKTS
public static final long OFFSET_OUT_UCAST_PKTS- See Also:
-
OFFSET_OUT_DISCARDS
public static final long OFFSET_OUT_DISCARDS- See Also:
-
OFFSET_OUT_ERRORS
public static final long OFFSET_OUT_ERRORS- See Also:
-
-
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
-
GetIfEntry2
- Throws:
Throwable
-