Init commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#ifndef ARP_MONITOR_H
|
||||
#define ARP_MONITOR_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include "lwip/ip4_addr.h"
|
||||
#include "lwip/prot/ethernet.h"
|
||||
|
||||
typedef struct
|
||||
{
|
||||
ip4_addr_t ip;
|
||||
uint8_t mac[6];
|
||||
} arp_event_t;
|
||||
|
||||
void arp_monitor_init(void);
|
||||
bool arp_monitor_post_event(const arp_event_t *event);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user