Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
epacket_udp.h
Go to the documentation of this file.
1
9
10#ifndef INFUSE_SDK_INCLUDE_INFUSE_EPACKET_INTERFACE_EPACKET_UDP_H_
11#define INFUSE_SDK_INCLUDE_INFUSE_EPACKET_INTERFACE_EPACKET_UDP_H_
12
13#include <stdint.h>
14
15#include <zephyr/toolchain.h>
16#include <zephyr/sys/util.h>
17
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
30
32#define epacket_udp_frame epacket_v0_unversioned_frame_format
33
46
52void epacket_udp_flags_set(uint16_t flags);
53
54#ifdef CONFIG_ZTEST
55
59void epacket_udp_dns_reset(void);
60
61#endif /* CONFIG_ZTEST */
62
66
67#ifdef __cplusplus
68}
69#endif
70
71#endif /* INFUSE_SDK_INCLUDE_INFUSE_EPACKET_INTERFACE_EPACKET_UDP_H_ */
Common packet structures.
void epacket_udp_flags_set(uint16_t flags)
Set flags for the UDP interface.
epacket_flags_udp
UDP specific packet flags.
Definition epacket_udp.h:35
@ EPACKET_FLAGS_UDP_ALWAYS_RX
Device is always available to receive packets.
Definition epacket_udp.h:44
@ EPACKET_FLAGS_UDP_SINGLE_TX
Packet is a single transmission on the interface.
Definition epacket_udp.h:42