Top Inners Fields Constructors Methods
jnr.posix

pack-priv Class MacOSCmsgHdr

extends BaseCmsgHdr
Class Inheritance
Imports
jnr.ffi.Pointer, .Runtime, .StructLayout

Author
Bob McWhirter

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final MacOSCmsgHdr.Layout
Inherited from jnr.posix.BaseCmsgHdr:
memoryposix

Constructor Summary

AccessConstructor and Description
public
public
MacOSCmsgHdr(NativePOSIX posix, Pointer memory, int totalLen)

Method Summary

Modifier and TypeMethod and Description
public int
public int
public int
pack-priv void
setLen(int len)

Implements abstract jnr.posix.BaseCmsgHdr.setLen.

public void
setLevel(int level)

Implements jnr.posix.CmsgHdr.setLevel.

public void
setType(int type)

Implements jnr.posix.CmsgHdr.setType.

public String
toString(String indent)

Inherited from jnr.posix.BaseCmsgHdr:
getDatasetData

Field Detail

layoutback to summary
public static final MacOSCmsgHdr.Layout layout

Constructor Detail

MacOSCmsgHdrback to summary
public MacOSCmsgHdr(NativePOSIX posix, Pointer memory)
MacOSCmsgHdrback to summary
public MacOSCmsgHdr(NativePOSIX posix, Pointer memory, int totalLen)

Method Detail

getLenback to summary
public int getLen()

Implements jnr.posix.CmsgHdr.getLen.

getLevelback to summary
public int getLevel()

Implements jnr.posix.CmsgHdr.getLevel.

getTypeback to summary
public int getType()

Implements jnr.posix.CmsgHdr.getType.

setLenback to summary
pack-priv void setLen(int len)

Implements abstract jnr.posix.BaseCmsgHdr.setLen.

setLevelback to summary
public void setLevel(int level)

Implements jnr.posix.CmsgHdr.setLevel.

setTypeback to summary
public void setType(int type)

Implements jnr.posix.CmsgHdr.setType.

toStringback to summary
public String toString(String indent)
jnr.posix back to summary

public Class MacOSCmsgHdr.Layout

extends StructLayout
Class Inheritance

Field Summary

Modifier and TypeField and Description
public final StructLayout.Unsigned32
public final StructLayout.Signed32
public final StructLayout.Signed32

Constructor Summary

AccessConstructor and Description
protected
Layout(Runtime runtime)

Method Summary

Inherited from jnr.ffi.StructLayout:
addFieldaddFieldaddFieldaddFieldalignmentarrayarrayBeginarrayEndatfunctionfunctiongetNativeTypegetRuntimeinneroffsetsizetoString

Field Detail

cmsg_lenback to summary
public final StructLayout.Unsigned32 cmsg_len
cmsg_levelback to summary
public final StructLayout.Signed32 cmsg_level
cmsg_typeback to summary
public final StructLayout.Signed32 cmsg_type

Constructor Detail

Layoutback to summary
protected Layout(Runtime runtime)