11#ifndef ZEPHYR_INCLUDE_NET_UDP_H_
12#define ZEPHYR_INCLUDE_NET_UDP_H_
53#if defined(CONFIG_NET_UDP)
54struct net_udp_hdr *net_udp_get_hdr(
struct net_pkt *pkt,
55 struct net_udp_hdr *hdr);
57static inline struct net_udp_hdr *net_udp_get_hdr(
struct net_pkt *pkt,
58 struct net_udp_hdr *hdr)
79#if defined(CONFIG_NET_UDP)
80struct net_udp_hdr *net_udp_set_hdr(
struct net_pkt *pkt,
81 struct net_udp_hdr *hdr);
83static inline struct net_udp_hdr *net_udp_set_hdr(
struct net_pkt *pkt,
84 struct net_udp_hdr *hdr)
Network core definitions.
IPv6 and IPv4 definitions.
Network packet buffer descriptor API.
Network packet.
Definition: net_pkt.h:62