Modifier and Type | Field and Description |
---|---|
protected jnr.ffi.Pointer |
memory |
protected jnr.posix.NativePOSIX |
posix |
Modifier | Constructor and Description |
---|---|
protected |
BaseMsgHdr(jnr.posix.NativePOSIX posix,
jnr.ffi.StructLayout layout) |
Modifier and Type | Method and Description |
---|---|
CmsgHdr |
allocateControl(int dataLength) |
CmsgHdr[] |
allocateControls(int[] dataLengths) |
CmsgHdr[] |
getControls() |
ByteBuffer[] |
getIov() |
String |
getName() |
void |
setIov(ByteBuffer[] buffers) |
void |
setName(String name) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getControlLen, getFlags, setFlags
protected final jnr.posix.NativePOSIX posix
protected final jnr.ffi.Pointer memory
protected BaseMsgHdr(jnr.posix.NativePOSIX posix, jnr.ffi.StructLayout layout)
public CmsgHdr allocateControl(int dataLength)
allocateControl
in interface MsgHdr
public CmsgHdr[] allocateControls(int[] dataLengths)
allocateControls
in interface MsgHdr
public CmsgHdr[] getControls()
getControls
in interface MsgHdr
public void setIov(ByteBuffer[] buffers)
public ByteBuffer[] getIov()
Copyright © 2015. All Rights Reserved.