API Reference Manual 1.51.0
Loading...
Searching...
No Matches
odp_lso_write_bits_t Struct Reference

Parameters for ODP_LSO_WRITE_BITS custom operation. More...

#include <packet_io_types.h>

Data Fields

uint8_t mask [1]
 Bitmask to select which bits to write.
 
uint8_t value [1]
 Value to be written using the mask: new_value[n] = (old_value[n] & ~mask[n]) | (value[n] & mask[n])
 

Detailed Description

Parameters for ODP_LSO_WRITE_BITS custom operation.

Examples
odp_packet_gen.c.

Definition at line 1182 of file api/spec/packet_io_types.h.

Field Documentation

◆ mask

uint8_t odp_lso_write_bits_t::mask[1]

Bitmask to select which bits to write.

Examples
odp_packet_gen.c.

Definition at line 1184 of file api/spec/packet_io_types.h.

◆ value

uint8_t odp_lso_write_bits_t::value[1]

Value to be written using the mask: new_value[n] = (old_value[n] & ~mask[n]) | (value[n] & mask[n])

Examples
odp_packet_gen.c.

Definition at line 1189 of file api/spec/packet_io_types.h.


The documentation for this struct was generated from the following file: