DPDK  24.11.0-rc3
Data Fields
rte_udp_hdr Struct Reference

#include <rte_udp.h>

Data Fields

rte_be16_t src_port
 
rte_be16_t dst_port
 
rte_be16_t dgram_len
 
rte_be16_t dgram_cksum
 

Detailed Description

UDP Header

Examples:
examples/ipsec-secgw/ipsec-secgw.c, and examples/l3fwd-power/main.c.

Definition at line 24 of file rte_udp.h.

Field Documentation

◆ src_port

rte_be16_t src_port

UDP source port.

Examples:
examples/ipsec-secgw/ipsec-secgw.c, and examples/l3fwd-power/main.c.

Definition at line 25 of file rte_udp.h.

◆ dst_port

rte_be16_t dst_port

UDP destination port.

Examples:
examples/ipsec-secgw/ipsec-secgw.c, and examples/l3fwd-power/main.c.

Definition at line 26 of file rte_udp.h.

◆ dgram_len

rte_be16_t dgram_len

UDP datagram length

Definition at line 27 of file rte_udp.h.

◆ dgram_cksum

rte_be16_t dgram_cksum

UDP datagram checksum

Definition at line 28 of file rte_udp.h.


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