Top Description Inners Fields Constructors Methods
org.lwjgl.system.linux.liburing

public Class IOURingRecvmsgOut

extends Struct<IOURingRecvmsgOut>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Annotations
@NativeType:struct io_uring_recvmsg_out
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Layout


struct io_uring_recvmsg_out {
    __u32 namelen;
    __u32 controllen;
    __u32 payloadlen;
    __u32 flags;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
CONTROLLEN

The struct member offsets.

public static final int
FLAGS

The struct member offsets.

public static final int
NAMELEN

The struct member offsets.

public static final int
PAYLOADLEN

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
IOURingRecvmsgOut(long address, ByteBuffer container)

public
IOURingRecvmsgOut(ByteBuffer container)

Creates a IOURingRecvmsgOut instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static IOURingRecvmsgOut
calloc()

Returns a new IOURingRecvmsgOut instance allocated with memCalloc.

public static IOURingRecvmsgOut.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new IOURingRecvmsgOut.Buffer instance allocated with memCalloc.

public static IOURingRecvmsgOut
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new IOURingRecvmsgOut instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static IOURingRecvmsgOut.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new IOURingRecvmsgOut.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public int

Returns:

the value of the controllen field.
controllen
()

public IOURingRecvmsgOut
controllen(int value)

Sets the specified value to the controllen field.

protected IOURingRecvmsgOut
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static IOURingRecvmsgOut
create()

Returns a new IOURingRecvmsgOut instance allocated with BufferUtils.

public static IOURingRecvmsgOut
create(long address)

Returns a new IOURingRecvmsgOut instance for the specified memory address.

public static IOURingRecvmsgOut.Buffer
create(int
the buffer capacity
capacity
)

Returns a new IOURingRecvmsgOut.Buffer instance allocated with BufferUtils.

public static IOURingRecvmsgOut.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a IOURingRecvmsgOut.Buffer instance at the specified memory.

public static IOURingRecvmsgOut
createSafe(long address)

Like create, but returns null if address is NULL.

public static IOURingRecvmsgOut.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public int

Returns:

the value of the flags field.
flags
()

public IOURingRecvmsgOut
flags(int value)

Sets the specified value to the flags field.

public static IOURingRecvmsgOut
malloc()

Returns a new IOURingRecvmsgOut instance allocated with memAlloc.

public static IOURingRecvmsgOut.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new IOURingRecvmsgOut.Buffer instance allocated with memAlloc.

public static IOURingRecvmsgOut
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new IOURingRecvmsgOut instance allocated on the specified MemoryStack.

public static IOURingRecvmsgOut.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new IOURingRecvmsgOut.Buffer instance allocated on the specified MemoryStack.

public int

Returns:

the value of the namelen field.
namelen
()

public IOURingRecvmsgOut
namelen(int value)

Sets the specified value to the namelen field.

public static int
ncontrollen(long struct)

Unsafe version of controllen.

public static void
ncontrollen(long struct, int value)

Unsafe version of controllen.

public static int
nflags(long struct)

Unsafe version of flags.

public static void
nflags(long struct, int value)

Unsafe version of flags.

public static int
nnamelen(long struct)

Unsafe version of namelen.

public static void
nnamelen(long struct, int value)

Unsafe version of namelen.

public static int
npayloadlen(long struct)

Unsafe version of payloadlen.

public static void
npayloadlen(long struct, int value)

Unsafe version of payloadlen.

public int

Returns:

the value of the payloadlen field.
payloadlen
()

public IOURingRecvmsgOut
payloadlen(int value)

Sets the specified value to the payloadlen field.

public IOURingRecvmsgOut
set(int namelen, int controllen, int payloadlen, int flags)

Initializes this struct with the specified values.

public IOURingRecvmsgOut

Returns:

this struct
set
(IOURingRecvmsgOut
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

CONTROLLENback to summary
public static final int CONTROLLEN

The struct member offsets.

FLAGSback to summary
public static final int FLAGS

The struct member offsets.

NAMELENback to summary
public static final int NAMELEN

The struct member offsets.

PAYLOADLENback to summary
public static final int PAYLOADLEN

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

Constructor Detail

IOURingRecvmsgOutback to summary
protected IOURingRecvmsgOut(long address, ByteBuffer container)
IOURingRecvmsgOutback to summary
public IOURingRecvmsgOut(ByteBuffer container)

Creates a IOURingRecvmsgOut instance at the current position of the specified ByteBuffer container. 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 Detail

callocback to summary
public static IOURingRecvmsgOut calloc()

Returns a new IOURingRecvmsgOut instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static IOURingRecvmsgOut.Buffer calloc(int capacity)

Returns a new IOURingRecvmsgOut.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static IOURingRecvmsgOut calloc(MemoryStack stack)

Returns a new IOURingRecvmsgOut instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static IOURingRecvmsgOut.Buffer calloc(int capacity, MemoryStack stack)

Returns a new IOURingRecvmsgOut.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

controllenback to summary
public int controllen()
Returns:int

the value of the controllen field.

Annotations
@NativeType:__u32
controllenback to summary
public IOURingRecvmsgOut controllen(int value)

Sets the specified value to the controllen field.

createback to summary
protected IOURingRecvmsgOut create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static IOURingRecvmsgOut create()

Returns a new IOURingRecvmsgOut instance allocated with BufferUtils.

createback to summary
public static IOURingRecvmsgOut create(long address)

Returns a new IOURingRecvmsgOut instance for the specified memory address.

createback to summary
public static IOURingRecvmsgOut.Buffer create(int capacity)

Returns a new IOURingRecvmsgOut.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static IOURingRecvmsgOut.Buffer create(long address, int capacity)

Create a IOURingRecvmsgOut.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static IOURingRecvmsgOut createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static IOURingRecvmsgOut.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
flagsback to summary
public int flags()
Returns:int

the value of the flags field.

Annotations
@NativeType:__u32
flagsback to summary
public IOURingRecvmsgOut flags(int value)

Sets the specified value to the flags field.

mallocback to summary
public static IOURingRecvmsgOut malloc()

Returns a new IOURingRecvmsgOut instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static IOURingRecvmsgOut.Buffer malloc(int capacity)

Returns a new IOURingRecvmsgOut.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static IOURingRecvmsgOut malloc(MemoryStack stack)

Returns a new IOURingRecvmsgOut instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static IOURingRecvmsgOut.Buffer malloc(int capacity, MemoryStack stack)

Returns a new IOURingRecvmsgOut.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

namelenback to summary
public int namelen()
Returns:int

the value of the namelen field.

Annotations
@NativeType:__u32
namelenback to summary
public IOURingRecvmsgOut namelen(int value)

Sets the specified value to the namelen field.

ncontrollenback to summary
public static int ncontrollen(long struct)

Unsafe version of controllen.

ncontrollenback to summary
public static void ncontrollen(long struct, int value)

Unsafe version of controllen.

nflagsback to summary
public static int nflags(long struct)

Unsafe version of flags.

nflagsback to summary
public static void nflags(long struct, int value)

Unsafe version of flags.

nnamelenback to summary
public static int nnamelen(long struct)

Unsafe version of namelen.

nnamelenback to summary
public static void nnamelen(long struct, int value)

Unsafe version of namelen.

npayloadlenback to summary
public static int npayloadlen(long struct)

Unsafe version of payloadlen.

npayloadlenback to summary
public static void npayloadlen(long struct, int value)

Unsafe version of payloadlen.

payloadlenback to summary
public int payloadlen()
Returns:int

the value of the payloadlen field.

Annotations
@NativeType:__u32
payloadlenback to summary
public IOURingRecvmsgOut payloadlen(int value)

Sets the specified value to the payloadlen field.

setback to summary
public IOURingRecvmsgOut set(int namelen, int controllen, int payloadlen, int flags)

Initializes this struct with the specified values.

setback to summary
public IOURingRecvmsgOut set(IOURingRecvmsgOut src)

Copies the specified struct data to this struct.

Parameters
src:IOURingRecvmsgOut

the source struct

Returns:IOURingRecvmsgOut

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
org.lwjgl.system.linux.liburing back to summary

public Class IOURingRecvmsgOut.Buffer

extends StructBuffer<IOURingRecvmsgOut, IOURingRecvmsgOut.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of IOURingRecvmsgOut structs.

Field Summary

Modifier and TypeField and Description
private static final IOURingRecvmsgOut

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new IOURingRecvmsgOut.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the value of the controllen field.
controllen
()

public IOURingRecvmsgOut.Buffer
controllen(int value)

Sets the specified value to the controllen field.

public int

Returns:

the value of the flags field.
flags
()

public IOURingRecvmsgOut.Buffer
flags(int value)

Sets the specified value to the flags field.

protected IOURingRecvmsgOut
public int

Returns:

the value of the namelen field.
namelen
()

public IOURingRecvmsgOut.Buffer
namelen(int value)

Sets the specified value to the namelen field.

public int

Returns:

the value of the payloadlen field.
payloadlen
()

public IOURingRecvmsgOut.Buffer
payloadlen(int value)

Sets the specified value to the payloadlen field.

protected IOURingRecvmsgOut.Buffer
Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final IOURingRecvmsgOut ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new IOURingRecvmsgOut.Buffer instance backed by the specified container.

Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by IOURingRecvmsgOut#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

controllenback to summary
public int controllen()
Returns:int

the value of the controllen field.

Annotations
@NativeType:__u32
controllenback to summary
public IOURingRecvmsgOut.Buffer controllen(int value)

Sets the specified value to the controllen field.

flagsback to summary
public int flags()
Returns:int

the value of the flags field.

Annotations
@NativeType:__u32
flagsback to summary
public IOURingRecvmsgOut.Buffer flags(int value)

Sets the specified value to the flags field.

getElementFactoryback to summary
protected IOURingRecvmsgOut getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
namelenback to summary
public int namelen()
Returns:int

the value of the namelen field.

Annotations
@NativeType:__u32
namelenback to summary
public IOURingRecvmsgOut.Buffer namelen(int value)

Sets the specified value to the namelen field.

payloadlenback to summary
public int payloadlen()
Returns:int

the value of the payloadlen field.

Annotations
@NativeType:__u32
payloadlenback to summary
public IOURingRecvmsgOut.Buffer payloadlen(int value)

Sets the specified value to the payloadlen field.

selfback to summary
protected IOURingRecvmsgOut.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override