Package org.opennms.jicmp.jna
Class bsd_sockaddr_in6
- java.lang.Object
-
- com.sun.jna.Structure
-
- org.opennms.jicmp.jna.bsd_sockaddr_in6
-
public class bsd_sockaddr_in6 extends com.sun.jna.Structure
-
-
Field Summary
Fields Modifier and Type Field Description byte[]
sin6_addr
byte
sin6_family
byte[]
sin6_flowinfo
byte
sin6_len
byte[]
sin6_port
byte[]
sin6_scope_id
-
Constructor Summary
Constructors Constructor Description bsd_sockaddr_in6()
bsd_sockaddr_in6(int port)
bsd_sockaddr_in6(int family, byte[] addr, byte[] port)
bsd_sockaddr_in6(InetAddress address, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InetAddress
getAddress()
protected List<String>
getFieldOrder()
int
getPort()
void
setAddress(InetAddress address)
void
setPort(int port)
-
Methods inherited from class com.sun.jna.Structure
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, calculateSize, clear, createFieldsOrder, createFieldsOrder, createFieldsOrder, createFieldsOrder, dataEquals, dataEquals, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
-
-
-
-
Constructor Detail
-
bsd_sockaddr_in6
public bsd_sockaddr_in6(int family, byte[] addr, byte[] port)
-
bsd_sockaddr_in6
public bsd_sockaddr_in6()
-
bsd_sockaddr_in6
public bsd_sockaddr_in6(InetAddress address, int port)
-
bsd_sockaddr_in6
public bsd_sockaddr_in6(int port)
-
-
Method Detail
-
getFieldOrder
protected List<String> getFieldOrder()
- Specified by:
getFieldOrder
in classcom.sun.jna.Structure
-
getAddress
public InetAddress getAddress()
-
setAddress
public void setAddress(InetAddress address)
-
getPort
public int getPort()
-
setPort
public void setPort(int port)
-
-