* Track MAC addresses in the client cache (when we can find them); so if we have an expired cache entry, but the MAC hasn't changed, we can assume the original ID is still valid.
This commit is contained in:
@ -6,6 +6,7 @@
|
||||
|
||||
#ifndef __GETIFADDR_H__
|
||||
#define __GETIFADDR_H__
|
||||
#include <arpa/inet.h>
|
||||
|
||||
/* getifaddr()
|
||||
* take a network interface name and write the
|
||||
@ -20,5 +21,8 @@ getsysaddr(char * buf, int len);
|
||||
int
|
||||
getifhwaddr(const char * ifname, char * buf, int len);
|
||||
|
||||
int
|
||||
get_remote_mac(struct in_addr ip_addr, unsigned char * mac);
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user