Holds an instance of a UDP CLA, including its stacks. More...
Holds an instance of a UDP CLA, including its stacks.
This should only be used with the bplib_cla_udp_start() and bplib_cla_udp_stop() functions
Definition at line 64 of file bplib_cla_udp.h.
#include <bplib_cla_udp.h>
Data Fields | |
| volatile int | running |
| Whether the CLA is running. | |
| char | stack_tx [BPLIB_CLA_UDP_TX_STACK_SIZE] |
| Stack of the egress thread (bplib -> sock send) | |
| char | stack_rx [BPLIB_CLA_UDP_RX_STACK_SIZE] |
| Stack of the ingress thread (sock recv -> bplib) | |
| uint32_t | contact_id |
| Index of the contact in the contact table. | |
| sock_udp_t | sock |
| Connection socket. | |
| uint32_t bplib_cla_udp_t::contact_id |
Index of the contact in the contact table.
Definition at line 73 of file bplib_cla_udp.h.
| volatile int bplib_cla_udp_t::running |
Whether the CLA is running.
Definition at line 66 of file bplib_cla_udp.h.
| sock_udp_t bplib_cla_udp_t::sock |
Connection socket.
Definition at line 76 of file bplib_cla_udp.h.
| char bplib_cla_udp_t::stack_rx[BPLIB_CLA_UDP_RX_STACK_SIZE] |
Stack of the ingress thread (sock recv -> bplib)
Definition at line 70 of file bplib_cla_udp.h.
| char bplib_cla_udp_t::stack_tx[BPLIB_CLA_UDP_TX_STACK_SIZE] |
Stack of the egress thread (bplib -> sock send)
Definition at line 68 of file bplib_cla_udp.h.