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
29
30#define epacket_udp_frame epacket_v0_unversioned_frame_format
31
34 /* Packet is a single transmission on the interface.
35 * This can be used for backends as a hint that the interface
36 * can be dropped back to an idle state (e.g LTE RAI).
37 * If this flag is set and additional packets are queued, there
38 * may be power, time and efficiency implications.
39 */
43};
44
50void epacket_udp_flags_set(uint16_t flags);
51
52#ifdef CONFIG_ZTEST
53
57void epacket_udp_dns_reset(void);
58
59#endif /* CONFIG_ZTEST */
60
64
65#ifdef __cplusplus
66}
67#endif
68
69#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:33
@ EPACKET_FLAGS_UDP_ALWAYS_RX
Device is always available to receive packets.
Definition epacket_udp.h:42
@ EPACKET_FLAGS_UDP_SINGLE_TX
Definition epacket_udp.h:40