API Reference Manual 1.51.0
Loading...
Searching...
No Matches
odp_proto_chksums_t Union Reference

Flags to control packet data checksum checking. More...

#include <packet_types.h>

Data Fields

struct { 
 
   uint32_t   ipv4: 1 
 IPv4 header checksum. More...
 
   uint32_t   udp: 1 
 UDP checksum. More...
 
   uint32_t   tcp: 1 
 TCP checksum. More...
 
   uint32_t   sctp: 1 
 SCTP checksum. More...
 
chksum 
 Individual checksum bits.
 
uint32_t all_chksum
 All checksum bits.
 

Detailed Description

Flags to control packet data checksum checking.

Definition at line 320 of file api/spec/packet_types.h.

Field Documentation

◆ ipv4

uint32_t odp_proto_chksums_t::ipv4

IPv4 header checksum.

Examples
odp_bench_packet.c, and odp_sysinfo.c.

Definition at line 324 of file api/spec/packet_types.h.

◆ udp

uint32_t odp_proto_chksums_t::udp

UDP checksum.

Examples
odp_bench_packet.c, and odp_sysinfo.c.

Definition at line 327 of file api/spec/packet_types.h.

◆ tcp

uint32_t odp_proto_chksums_t::tcp

TCP checksum.

Examples
odp_bench_packet.c, and odp_sysinfo.c.

Definition at line 330 of file api/spec/packet_types.h.

◆ sctp

uint32_t odp_proto_chksums_t::sctp

SCTP checksum.

Examples
odp_sysinfo.c.

Definition at line 333 of file api/spec/packet_types.h.

◆ all_chksum

uint32_t odp_proto_chksums_t::all_chksum

All checksum bits.

This field can be used to set/clear all flags, or to perform bitwise operations over those.

Examples
odp_cpu_bench.c, and odp_ipsec.c.

Definition at line 341 of file api/spec/packet_types.h.


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