DPDK  17.02.1
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 88 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 89 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 90 of file rte_udp.h.

uint16_t dgram_len

UDP datagram length

Examples:
examples/tep_termination/vxlan.c.

Definition at line 91 of file rte_udp.h.

uint16_t dgram_cksum

UDP datagram checksum

Examples:
examples/tep_termination/vxlan.c.

Definition at line 92 of file rte_udp.h.


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