DPDK  19.02.0
Data Fields
udp_hdr Struct Reference

#include <rte_udp.h>

Data Fields

uint16_t src_port
uint16_t dst_port
uint16_t dgram_len
uint16_t dgram_cksum

Detailed Description

UDP Header

Examples:
examples/l3fwd-power/main.c, examples/l3fwd-vf/main.c, and examples/tep_termination/vxlan.c.

Definition at line 26 of file rte_udp.h.

Field Documentation

uint16_t src_port

UDP source port.

Examples:
examples/l3fwd-power/main.c, examples/l3fwd-vf/main.c, and examples/tep_termination/vxlan.c.

Definition at line 27 of file rte_udp.h.

uint16_t dst_port

UDP destination port.

Examples:
examples/l3fwd-power/main.c, examples/l3fwd-vf/main.c, and examples/tep_termination/vxlan.c.

Definition at line 28 of file rte_udp.h.

uint16_t dgram_len

UDP datagram length

Examples:
examples/tep_termination/vxlan.c.

Definition at line 29 of file rte_udp.h.

uint16_t dgram_cksum

UDP datagram checksum

Examples:
examples/tep_termination/vxlan.c.

Definition at line 30 of file rte_udp.h.


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