Class IOURingZCRXIfqReg.Buffer

All Implemented Interfaces:
AutoCloseable, Iterable<IOURingZCRXIfqReg>, NativeResource, Pointer
Enclosing class:
IOURingZCRXIfqReg

public static class IOURingZCRXIfqReg.Buffer extends StructBuffer<IOURingZCRXIfqReg,IOURingZCRXIfqReg.Buffer> implements NativeResource
An array of IOURingZCRXIfqReg structs.
  • Constructor Details

    • Buffer

      public Buffer(ByteBuffer container)
      Creates a new IOURingZCRXIfqReg.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 IOURingZCRXIfqReg.SIZEOF, and its mark will be undefined.

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

    • Buffer

      public Buffer(long address, int cap)
  • Method Details

    • if_idx

      public int if_idx()
      Returns:
      the value of the if_idx field.
    • if_rxq

      public int if_rxq()
      Returns:
      the value of the if_rxq field.
    • rq_entries

      public int rq_entries()
      Returns:
      the value of the rq_entries field.
    • flags

      public int flags()
      Returns:
      the value of the flags field.
    • area_ptr

      public long area_ptr()
      Returns:
      the value of the area_ptr field.
    • region_ptr

      public long region_ptr()
      Returns:
      the value of the region_ptr field.
    • offsets

      public IOURingZCRXOffsets offsets()
      Returns:
      a IOURingZCRXOffsets view of the offsets field.
    • zcrx_id

      public int zcrx_id()
      Returns:
      the value of the zcrx_id field.
    • if_idx

      public IOURingZCRXIfqReg.Buffer if_idx(int value)
      Sets the specified value to the if_idx field.
    • if_rxq

      public IOURingZCRXIfqReg.Buffer if_rxq(int value)
      Sets the specified value to the if_rxq field.
    • rq_entries

      public IOURingZCRXIfqReg.Buffer rq_entries(int value)
      Sets the specified value to the rq_entries field.
    • flags

      public IOURingZCRXIfqReg.Buffer flags(int value)
      Sets the specified value to the flags field.
    • area_ptr

      public IOURingZCRXIfqReg.Buffer area_ptr(long value)
      Sets the specified value to the area_ptr field.
    • region_ptr

      public IOURingZCRXIfqReg.Buffer region_ptr(long value)
      Sets the specified value to the region_ptr field.
    • offsets

      Copies the specified IOURingZCRXOffsets to the offsets field.
    • offsets

      Passes the offsets field to the specified Consumer.
    • zcrx_id

      public IOURingZCRXIfqReg.Buffer zcrx_id(int value)
      Sets the specified value to the zcrx_id field.