1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 1982, 1986, 1990, 1993
3 * The Regents of the University of California.
4 * Copyright(c) 2010-2014 Intel Corporation.
19 #ifndef RTE_NET_NO_COMPAT
20 #include <rte_udp_compat.h>
31 uint16_t src_port; /**< UDP source port. */
32 uint16_t dst_port; /**< UDP destination port. */
33 uint16_t dgram_len; /**< UDP datagram length */
34 uint16_t dgram_cksum; /**< UDP datagram checksum */
35 } __attribute__((__packed__));
41 #endif /* RTE_UDP_H_ */