Modifier and Type | Field | Description |
---|---|---|
protected jnr.ffi.Pointer |
memory |
|
protected NativePOSIX |
posix |
Modifier | Constructor | Description |
---|---|---|
protected |
BaseMsgHdr(NativePOSIX posix,
jnr.ffi.StructLayout layout) |
Modifier and Type | Method | Description |
---|---|---|
CmsgHdr |
allocateControl(int dataLength) |
|
CmsgHdr[] |
allocateControls(int[] dataLengths) |
|
CmsgHdr[] |
getControls() |
|
ByteBuffer[] |
getIov() |
|
String |
getName() |
|
void |
setIov(ByteBuffer[] buffers) |
|
void |
setName(String name) |
getControlLen, getFlags, setFlags
protected final NativePOSIX posix
protected final jnr.ffi.Pointer memory
protected BaseMsgHdr(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 © 2018. All rights reserved.