25 lines
393 B
C++
25 lines
393 B
C++
|
|
/*
|
|||
|
|
* eth_arp_iface.hpp
|
|||
|
|
*
|
|||
|
|
* Created on: 14 <EFBFBD><EFBFBD><EFBFBD>. 2023 <EFBFBD>.
|
|||
|
|
* Author: sychev
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#ifndef FREE_RTOS_ETHERNET_IP_ETH_ARP_IFACE_HPP_
|
|||
|
|
#define FREE_RTOS_ETHERNET_IP_ETH_ARP_IFACE_HPP_
|
|||
|
|
|
|||
|
|
namespace free_rtos {
|
|||
|
|
|
|||
|
|
class EthArpIface {
|
|||
|
|
public:
|
|||
|
|
virtual bool getMacAddr(uint32_t ip, uint64_t& mac) = 0;
|
|||
|
|
|
|||
|
|
virtual ~EthArpIface() {};
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
#endif /* FREE_RTOS_ETHERNET_IP_ETH_ARP_IFACE_HPP_ */
|