Package org.lwjgl.system.linux.liburing
Class IOURingRecvmsgOut
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct io_uring_recvmsg_out {
__u32 namelen;
__u32 controllen;
__u32 payloadlen;
__u32 flags;
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionIOURingRecvmsgOut(ByteBuffer container) Creates aIOURingRecvmsgOutinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic IOURingRecvmsgOutcalloc()Returns a newIOURingRecvmsgOutinstance allocated withmemCalloc.static IOURingRecvmsgOut.Buffercalloc(int capacity) Returns a newIOURingRecvmsgOut.Bufferinstance allocated withmemCalloc.static IOURingRecvmsgOut.Buffercalloc(int capacity, MemoryStack stack) Returns a newIOURingRecvmsgOut.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static IOURingRecvmsgOutcalloc(MemoryStack stack) Returns a newIOURingRecvmsgOutinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.intcontrollen(int value) Sets the specified value to thecontrollenfield.static IOURingRecvmsgOutcreate()Returns a newIOURingRecvmsgOutinstance allocated withBufferUtils.static IOURingRecvmsgOut.Buffercreate(int capacity) Returns a newIOURingRecvmsgOut.Bufferinstance allocated withBufferUtils.static IOURingRecvmsgOutcreate(long address) Returns a newIOURingRecvmsgOutinstance for the specified memory address.static IOURingRecvmsgOut.Buffercreate(long address, int capacity) Create aIOURingRecvmsgOut.Bufferinstance at the specified memory.static @Nullable IOURingRecvmsgOutcreateSafe(long address) static @Nullable IOURingRecvmsgOut.BuffercreateSafe(long address, int capacity) intflags()flags(int value) Sets the specified value to theflagsfield.static IOURingRecvmsgOutmalloc()Returns a newIOURingRecvmsgOutinstance allocated withmemAlloc.static IOURingRecvmsgOut.Buffermalloc(int capacity) Returns a newIOURingRecvmsgOut.Bufferinstance allocated withmemAlloc.static IOURingRecvmsgOut.Buffermalloc(int capacity, MemoryStack stack) Returns a newIOURingRecvmsgOut.Bufferinstance allocated on the specifiedMemoryStack.static IOURingRecvmsgOutmalloc(MemoryStack stack) Returns a newIOURingRecvmsgOutinstance allocated on the specifiedMemoryStack.intnamelen()namelen(int value) Sets the specified value to thenamelenfield.static intncontrollen(long struct) Unsafe version ofcontrollen().static voidncontrollen(long struct, int value) Unsafe version ofcontrollen.static intnflags(long struct) Unsafe version offlags().static voidnflags(long struct, int value) Unsafe version offlags.static intnnamelen(long struct) Unsafe version ofnamelen().static voidnnamelen(long struct, int value) Unsafe version ofnamelen.static intnpayloadlen(long struct) Unsafe version ofpayloadlen().static voidnpayloadlen(long struct, int value) Unsafe version ofpayloadlen.intpayloadlen(int value) Sets the specified value to thepayloadlenfield.set(int namelen, int controllen, int payloadlen, int flags) Initializes this struct with the specified values.set(IOURingRecvmsgOut src) Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
NAMELEN
public static final int NAMELENThe struct member offsets. -
CONTROLLEN
public static final int CONTROLLENThe struct member offsets. -
PAYLOADLEN
public static final int PAYLOADLENThe struct member offsets. -
FLAGS
public static final int FLAGSThe struct member offsets.
-
-
Constructor Details
-
IOURingRecvmsgOut
Creates aIOURingRecvmsgOutinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<IOURingRecvmsgOut>
-
namelen
public int namelen()- Returns:
- the value of the
namelenfield.
-
controllen
public int controllen()- Returns:
- the value of the
controllenfield.
-
payloadlen
public int payloadlen()- Returns:
- the value of the
payloadlenfield.
-
flags
public int flags()- Returns:
- the value of the
flagsfield.
-
namelen
Sets the specified value to thenamelenfield. -
controllen
Sets the specified value to thecontrollenfield. -
payloadlen
Sets the specified value to thepayloadlenfield. -
flags
Sets the specified value to theflagsfield. -
set
Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newIOURingRecvmsgOutinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newIOURingRecvmsgOutinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newIOURingRecvmsgOutinstance allocated withBufferUtils. -
create
Returns a newIOURingRecvmsgOutinstance for the specified memory address. -
createSafe
-
malloc
Returns a newIOURingRecvmsgOut.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newIOURingRecvmsgOut.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newIOURingRecvmsgOut.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aIOURingRecvmsgOut.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newIOURingRecvmsgOutinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newIOURingRecvmsgOutinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newIOURingRecvmsgOut.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newIOURingRecvmsgOut.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nnamelen
public static int nnamelen(long struct) Unsafe version ofnamelen(). -
ncontrollen
public static int ncontrollen(long struct) Unsafe version ofcontrollen(). -
npayloadlen
public static int npayloadlen(long struct) Unsafe version ofpayloadlen(). -
nflags
public static int nflags(long struct) Unsafe version offlags(). -
nnamelen
public static void nnamelen(long struct, int value) Unsafe version ofnamelen. -
ncontrollen
public static void ncontrollen(long struct, int value) Unsafe version ofcontrollen. -
npayloadlen
public static void npayloadlen(long struct, int value) Unsafe version ofpayloadlen. -
nflags
public static void nflags(long struct, int value) Unsafe version offlags.
-