|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Namespaces | |
| namespace | anonymous_namespace{DaqInterface.cpp} |
Classes | |
| struct | DaqBindResult |
| Which local NIC board traffic leaves from. More... | |
Functions | |
| DaqBindResult | resolveDaqBindAddress (const ::fsw::config::Config &cfg, const char *who) |
| Decide which local address board traffic should leave from, and log the decision. | |
| bool | bindToDaqInterface (int sock, const std::string &address, const char *who) |
| bind() an already-created socket to address on an ephemeral port. | |
| bool fsw::net::bindToDaqInterface | ( | int | sock, |
| const std::string & | address, | ||
| const char * | who ) |
bind() an already-created socket to address on an ephemeral port.
A no-op returning true for "0.0.0.0" or "", so callers need no special case for the dev path. Logs and returns false on failure.
Definition at line 188 of file DaqInterface.cpp.
Referenced by anonymous_namespace{ota_service_main.cpp}::flashFirmware(), fsw::control::ControllerService::initialize(), main(), main(), and sequencer::AbortBroadcaster::sendPacket().
| DaqBindResult fsw::net::resolveDaqBindAddress | ( | const ::fsw::config::Config & | cfg, |
| const char * | who ) |
Decide which local address board traffic should leave from, and log the decision.
| who | Service name for log lines, e.g. "Sequencer". |
Definition at line 85 of file DaqInterface.cpp.
Referenced by sequencer::SequencerService::applyConfig(), main(), and main().