Top Inners Fields Constructors Methods
jnr.posix

pack-priv Class FreeBSDCmsgHdr

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 FreeBSDCmsgHdr.Layout
Inherited from jnr.posix.BaseCmsgHdr:
memoryposix

Constructor Summary

AccessConstructor and Description
public
public
FreeBSDCmsgHdr(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)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from jnr.posix.BaseCmsgHdr:
getDatasetData

Field Detail

layoutback to summary
public static final FreeBSDCmsgHdr.Layout layout

Constructor Detail

FreeBSDCmsgHdrback to summary
public FreeBSDCmsgHdr(NativePOSIX posix, Pointer memory)
FreeBSDCmsgHdrback to summary
public FreeBSDCmsgHdr(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)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

jnr.posix back to summary

public Class FreeBSDCmsgHdr.Layout

extends StructLayout
Class Inheritance

Field Summary

Modifier and TypeField and Description
public final StructLayout.socklen_t
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.socklen_t 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)