|
SatCat5
|
#include <sim_utils.h>
Public Member Functions | |
| CountArpResponse (satcat5::ip::Dispatch *iface) | |
| unsigned | count () const |
| Returns the current counter value. | |
| void | count_reset () |
| Reset the counter to zero. | |
Protected Member Functions | |
| void | arp_event (const satcat5::eth::MacAddr &mac, const satcat5::ip::Addr &ip) override |
| Callback for any announced MAC/IP address pair. More... | |
| void | gateway_change (const satcat5::ip::Addr &dstaddr, const satcat5::ip::Addr &gateway) override |
| Callback for changes to gateway configuration. More... | |
Protected Attributes | |
| satcat5::eth::ProtoArp *const | m_arp |
| unsigned | m_count |
Private Attributes | |
| satcat5::eth::ArpListener * | m_next |
|
inlineoverrideprotectedvirtual |
Callback for any announced MAC/IP address pair.
Child class MUST override this method.
Implements satcat5::eth::ArpListener.
Definition at line 146 of file sim_utils.h.
|
inlineoverrideprotectedvirtual |
Callback for changes to gateway configuration.
Child class MAY override this method.
Reimplemented from satcat5::eth::ArpListener.
Definition at line 147 of file sim_utils.h.