|
BSL v1.0.0 - 4.g1b6a605
AMMOS Bundle Protocol Security Library (BSL)
|
Overall Mock BPA state above any particular bundle handling. More...
#include <agent.h>
Collaboration diagram for MockBPA_Agent_t:Data Fields | |
| atomic_bool | stop_state |
| Shared operating state. | |
| MockBPA_data_queue_t | over_rx |
| Bundles received from the application. | |
| MockBPA_data_queue_t | over_tx |
| Bundles delivered to the application. | |
| MockBPA_data_queue_t | under_rx |
| Bundles received from the CL. | |
| MockBPA_data_queue_t | under_tx |
| Bundles forwarded to the CL. | |
| MockBPA_data_queue_t | deliver |
| Bundles in need of delivery. | |
| MockBPA_data_queue_t | forward |
| Bundles in need of forwarding. | |
| pthread_t | thr_over_rx |
| Worker threads. | |
| pthread_t | thr_under_rx |
| pthread_t | thr_deliver |
| pthread_t | thr_forward |
| int | tx_notify_w |
| Pipe end for notifying TX worker. | |
| int | tx_notify_r |
| Pipe end for TX worker. | |
| MockBPA_Agent_BSL_Ctx_t | appin |
| State for BSL_POLICYLOCATION_APPIN. | |
| MockBPA_Agent_BSL_Ctx_t | appout |
| State for BSL_POLICYLOCATION_APPOUT. | |
| MockBPA_Agent_BSL_Ctx_t | clin |
| State for BSL_POLICYLOCATION_CLIN. | |
| MockBPA_Agent_BSL_Ctx_t | clout |
| State for BSL_POLICYLOCATION_CLOUT. | |
| struct sockaddr_in | over_addr |
| Configuration for local app-facing address. | |
| struct sockaddr_in | app_addr |
| Configuration for application-side address. | |
| struct sockaddr_in | under_addr |
| Configuration for local CL-facing address. | |
| struct sockaddr_in | router_addr |
| Configuration for CL-side address. | |
Overall Mock BPA state above any particular bundle handling.
| atomic_bool MockBPA_Agent_t::stop_state |
Shared operating state.
Set to false while running, and true to stop.
Referenced by MockBPA_Agent_Exec(), MockBPA_Agent_Init(), and MockBPA_Agent_Stop().
| pthread_t MockBPA_Agent_t::thr_over_rx |
Worker threads.
These are valid between MockBPA_Agent_Start() and MockBPA_Agent_Join().
Referenced by MockBPA_Agent_Join(), and MockBPA_Agent_Start().