static final class NativeProtocolsDB.LinuxNativeProtocolsDB extends NativeProtocolsDB
NativeProtocolsDB.DefaultNativeProtocolsDB, NativeProtocolsDB.LibProto, NativeProtocolsDB.LinuxLibProto, NativeProtocolsDB.LinuxNativeProtocolsDB, NativeProtocolsDB.UnixProtoent
Modifier and Type | Field and Description |
---|---|
private jnr.ffi.Pointer |
buf |
private static int |
BUFLEN |
private NativeProtocolsDB.LinuxLibProto |
lib |
private jnr.ffi.Runtime |
runtime |
Constructor and Description |
---|
LinuxNativeProtocolsDB(NativeProtocolsDB.LinuxLibProto lib) |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Protocol> |
getAllProtocols() |
Protocol |
getProtocolByName(java.lang.String name) |
Protocol |
getProtocolByNumber(java.lang.Integer number) |
getInstance, protocolFromNative
private static final int BUFLEN
private final jnr.ffi.Runtime runtime
private final jnr.ffi.Pointer buf
private final NativeProtocolsDB.LinuxLibProto lib
LinuxNativeProtocolsDB(NativeProtocolsDB.LinuxLibProto lib)