sitara_depot/components/free_rtos/ethernet_ip/eth_icmp.hpp
algin ae3cac8a7d feat: First commit
Adds sitara_depot/free_rtos

Original one is on server_gorbunov/SmartForce4.0/sitara_depot
2023-05-03 14:01:32 +03:00

29 lines
497 B
C++

/*
* eth_icmp.hpp
*
* Created on: 14 ìàð. 2023 ã.
* Author: sychev
*/
#ifndef FREE_RTOS_ETHERNET_IP_ETH_ICMP_HPP_
#define FREE_RTOS_ETHERNET_IP_ETH_ICMP_HPP_
#include "handler_store/handler.hpp"
#include <cstdint>
namespace free_rtos {
class EthIcmp : public Handler {
public:
virtual int32_t Process(uint8_t * p_data, uint32_t len) override;
uint32_t getStat() {return rx_cnt_;};
private:
uint32_t rx_cnt_ = 0;
};
}
#endif /* FREE_RTOS_ETHERNET_IP_ETH_ICMP_HPP_ */