| 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, setFlagsprotected 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 MsgHdrpublic CmsgHdr[] allocateControls(int[] dataLengths)
allocateControls in interface MsgHdrpublic CmsgHdr[] getControls()
getControls in interface MsgHdrpublic void setIov(ByteBuffer[] buffers)
public ByteBuffer[] getIov()
Copyright © 2018. All rights reserved.