|
SatCat5
|
Crosslink plus full IPv4+UDP stack.
Definition at line 67 of file eth_crosslink.h.
#include <eth_crosslink.h>
Public Member Functions | |
| CrosslinkIp (const char *filename=0) | |
| void | set_loss_rate (float rate) |
| Shortcut for setting loss rate on both interfaces. | |
| void | set_zero_pad (unsigned len) |
| Shortcut for setting zero-padding on both interfaces. | |
Public Attributes | |
| satcat5::ip::Stack | net0 |
| Packet handling for eth0. | |
| satcat5::ip::Stack | net1 |
| Packet handling for eth1. | |
| satcat5::test::TimerSimulation | timer |
| Clock for network simulation and packet timestamps. | |
| satcat5::io::WritePcap | pcap |
| Packet-capture logging system. | |
| satcat5::test::EthernetInterface | eth0 |
| Define each network interface (usually Ethernet). | |
| satcat5::test::EthernetInterface | eth1 |
| Define each network interface (usually Ethernet). | |
Static Public Attributes | |
| static constexpr satcat5::eth::MacAddr | MAC0 = {{0xDE, 0xAD, 0xBE, 0xEF, 0x11, 0x11}} |
| Set preferred addresses for each interface. | |
| static constexpr satcat5::eth::MacAddr | MAC1 = {{0xDE, 0xAD, 0xBE, 0xEF, 0x22, 0x22}} |
| Set preferred addresses for each interface. | |
| static constexpr satcat5::ip::Addr | IP0 = satcat5::ip::Addr(192, 168, 1, 11) |
| Set preferred addresses for each interface. | |
| static constexpr satcat5::ip::Addr | IP1 = satcat5::ip::Addr(192, 168, 1, 74) |
| Set preferred addresses for each interface. | |