Last change
on this file since 1667 was 821, checked in by Bruno Cornec, 18 years ago |
Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)
|
File size:
705 bytes
|
Rev | Line | |
---|
[821] | 1 | /* static_leases.h */
|
---|
| 2 | #ifndef _STATIC_LEASES_H
|
---|
| 3 | #define _STATIC_LEASES_H
|
---|
| 4 |
|
---|
| 5 | #include "dhcpd.h"
|
---|
| 6 |
|
---|
| 7 | /* Config file will pass static lease info to this function which will add it
|
---|
| 8 | * to a data structure that can be searched later */
|
---|
| 9 | int addStaticLease(struct static_lease **lease_struct, uint8_t *mac, uint32_t *ip);
|
---|
| 10 |
|
---|
| 11 | /* Check to see if a mac has an associated static lease */
|
---|
| 12 | uint32_t getIpByMac(struct static_lease *lease_struct, void *arg);
|
---|
| 13 |
|
---|
| 14 | /* Check to see if an ip is reserved as a static ip */
|
---|
| 15 | uint32_t reservedIp(struct static_lease *lease_struct, uint32_t ip);
|
---|
| 16 |
|
---|
| 17 | /* Print out static leases just to check what's going on (debug code) */
|
---|
| 18 | void printStaticLeases(struct static_lease **lease_struct);
|
---|
| 19 |
|
---|
| 20 | #endif
|
---|
| 21 |
|
---|
| 22 |
|
---|
| 23 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.