diff options
Diffstat (limited to 'networking/udhcp/static_leases.c')
-rw-r--r-- | networking/udhcp/static_leases.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/udhcp/static_leases.c b/networking/udhcp/static_leases.c index aabfb81aa..bd07c5026 100644 --- a/networking/udhcp/static_leases.c +++ b/networking/udhcp/static_leases.c | |||
@@ -14,7 +14,7 @@ | |||
14 | /* Takes the address of the pointer to the static_leases linked list, | 14 | /* Takes the address of the pointer to the static_leases linked list, |
15 | * Address to a 6 byte mac address | 15 | * Address to a 6 byte mac address |
16 | * Address to a 4 byte ip address */ | 16 | * Address to a 4 byte ip address */ |
17 | int addStaticLease(struct static_lease **lease_struct, uint8_t *mac, uint32_t *ip) | 17 | int FAST_FUNC addStaticLease(struct static_lease **lease_struct, uint8_t *mac, uint32_t *ip) |
18 | { | 18 | { |
19 | struct static_lease *cur; | 19 | struct static_lease *cur; |
20 | struct static_lease *new_static_lease; | 20 | struct static_lease *new_static_lease; |
@@ -41,7 +41,7 @@ int addStaticLease(struct static_lease **lease_struct, uint8_t *mac, uint32_t *i | |||
41 | } | 41 | } |
42 | 42 | ||
43 | /* Check to see if a mac has an associated static lease */ | 43 | /* Check to see if a mac has an associated static lease */ |
44 | uint32_t getIpByMac(struct static_lease *lease_struct, void *arg) | 44 | uint32_t FAST_FUNC getIpByMac(struct static_lease *lease_struct, void *arg) |
45 | { | 45 | { |
46 | uint32_t return_ip; | 46 | uint32_t return_ip; |
47 | struct static_lease *cur = lease_struct; | 47 | struct static_lease *cur = lease_struct; |
@@ -62,7 +62,7 @@ uint32_t getIpByMac(struct static_lease *lease_struct, void *arg) | |||
62 | } | 62 | } |
63 | 63 | ||
64 | /* Check to see if an ip is reserved as a static ip */ | 64 | /* Check to see if an ip is reserved as a static ip */ |
65 | uint32_t reservedIp(struct static_lease *lease_struct, uint32_t ip) | 65 | uint32_t FAST_FUNC reservedIp(struct static_lease *lease_struct, uint32_t ip) |
66 | { | 66 | { |
67 | struct static_lease *cur = lease_struct; | 67 | struct static_lease *cur = lease_struct; |
68 | 68 | ||
@@ -82,7 +82,7 @@ uint32_t reservedIp(struct static_lease *lease_struct, uint32_t ip) | |||
82 | #if ENABLE_FEATURE_UDHCP_DEBUG | 82 | #if ENABLE_FEATURE_UDHCP_DEBUG |
83 | /* Print out static leases just to check what's going on */ | 83 | /* Print out static leases just to check what's going on */ |
84 | /* Takes the address of the pointer to the static_leases linked list */ | 84 | /* Takes the address of the pointer to the static_leases linked list */ |
85 | void printStaticLeases(struct static_lease **arg) | 85 | void FAST_FUNC printStaticLeases(struct static_lease **arg) |
86 | { | 86 | { |
87 | /* Get a pointer to the linked list */ | 87 | /* Get a pointer to the linked list */ |
88 | struct static_lease *cur = *arg; | 88 | struct static_lease *cur = *arg; |