diff options
author | Mike Frysinger | 2006-03-23 23:44:29 +0000 |
---|---|---|
committer | Mike Frysinger | 2006-03-23 23:44:29 +0000 |
commit | 787140df3992ccc3ebdc09f6d2dcb584f580f49f (patch) | |
tree | 666fdb071676c676f52bdc204f6df801b17e7196 /networking/udhcp/static_leases.h | |
parent | e0fe93759339a9e043cd0489f5bfabd59b5fcb78 (diff) | |
download | busybox-787140df3992ccc3ebdc09f6d2dcb584f580f49f.zip busybox-787140df3992ccc3ebdc09f6d2dcb584f580f49f.tar.gz |
remove in place of external link
Diffstat (limited to 'networking/udhcp/static_leases.h')
-rw-r--r-- | networking/udhcp/static_leases.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/networking/udhcp/static_leases.h b/networking/udhcp/static_leases.h deleted file mode 100644 index d06520b..0000000 --- a/networking/udhcp/static_leases.h +++ /dev/null @@ -1,25 +0,0 @@ -/* static_leases.h */ -#ifndef _STATIC_LEASES_H -#define _STATIC_LEASES_H - -#include "dhcpd.h" - -/* Config file will pass static lease info to this function which will add it - * to a data structure that can be searched later */ -int addStaticLease(struct static_lease **lease_struct, uint8_t *mac, uint32_t *ip); - -/* Check to see if a mac has an associated static lease */ -uint32_t getIpByMac(struct static_lease *lease_struct, void *arg); - -/* Check to see if an ip is reserved as a static ip */ -uint32_t reservedIp(struct static_lease *lease_struct, uint32_t ip); - -#ifdef UDHCP_DEBUG -/* Print out static leases just to check what's going on */ -void printStaticLeases(struct static_lease **lease_struct); -#endif - -#endif - - - |