Loading...
Searching...
No Matches
bplib_cla_udp_t Struct Reference

Holds an instance of a UDP CLA, including its stacks. More...

Detailed Description

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.
 

Field Documentation

◆ contact_id

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.

◆ running

volatile int bplib_cla_udp_t::running

Whether the CLA is running.

Definition at line 66 of file bplib_cla_udp.h.

◆ sock

sock_udp_t bplib_cla_udp_t::sock

Connection socket.

Definition at line 76 of file bplib_cla_udp.h.

◆ stack_rx

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.

◆ stack_tx

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.


The documentation for this struct was generated from the following file: