|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Classes | |
| struct | Candidate |
Functions | |
| bool | isUnpinned (const std::string &a) |
| bool | parseV4 (const std::string &s, uint32_t &out) |
| Parse dotted-quad into host-order uint32. | |
| bool | canBind (const std::string &address) |
| Can this address actually be bound on this host? | |
| std::vector< uint32_t > | boardAddresses (const ::fsw::config::Config &cfg) |
| The board addresses we are trying to reach. | |
| std::vector< uint32_t > fsw::net::anonymous_namespace{DaqInterface.cpp}::boardAddresses | ( | const ::fsw::config::Config & | cfg | ) |
The board addresses we are trying to reach.
Only explicitly configured IPs are used: the synthesized "192.168.2.<board_id>" fallback some services apply would hardcode the very subnet this function exists to discover, and would make the sim (127.0.0.x boards) resolve to the hardware LAN.
Definition at line 58 of file DaqInterface.cpp.
References b, boardAddresses(), and parseV4().
Referenced by boardAddresses().
| bool fsw::net::anonymous_namespace{DaqInterface.cpp}::canBind | ( | const std::string & | address | ) |
Can this address actually be bound on this host?
The only honest test is to try.
Definition at line 36 of file DaqInterface.cpp.
Referenced by canBind().
| bool fsw::net::anonymous_namespace{DaqInterface.cpp}::isUnpinned | ( | const std::string & | a | ) |
Definition at line 22 of file DaqInterface.cpp.
References a, and isUnpinned().
Referenced by isUnpinned().
| bool fsw::net::anonymous_namespace{DaqInterface.cpp}::parseV4 | ( | const std::string & | s, |
| uint32_t & | out ) |
Parse dotted-quad into host-order uint32.
Returns false on anything else.
Definition at line 27 of file DaqInterface.cpp.
Referenced by boardAddresses(), and parseV4().