Definition in file bootp.h.
Go to the source code of this file.
Defines | |
#define | BOOTP_RETRY_TOUT 5 |
#define | BOOTP_CLIENTPORT 68 |
#define | BOOTP_SERVERPORT 67 |
#define | BOOTPC_STATE_DISABLED 0 |
#define | BOOTPC_STATE_ENABLED 1 |
#define | BOOTPC_STATE_REQUEST_NEEDED 2 |
#define | BOOTPC_STATE_WAITING_REPLY 3 |
#define | BOOTPC_STATE_REPLY_GET 4 |
#define | BOOTP_OPTION_SUBNETMASK 1 |
#define | BOOTP_OPTION_DEFGW 3 |
Functions | |
INT8 | bootpc_enable (void) |
Enable BOOTP client operation. | |
void | bootpc_stop (void) |
Stop BOOTP client operation. | |
void | bootpc_run (void) |
BOOTP client main loop. | |
INT32 | bootpc_eventlistener (INT8, UINT8, UINT32, UINT16, UINT16, UINT16) |
BOOTP event listener. |
|
How many seconds to pass before retrying Definition at line 69 of file bootp.h. Referenced by bootpc_run(). |
|
Local BOOTP client port that will be used for sending requests Definition at line 71 of file bootp.h. Referenced by bootpc_init(). |
|
BOOTP server's port Definition at line 73 of file bootp.h. Referenced by bootpc_run(). |
|
BOOTP client intentionally disabled Definition at line 75 of file bootp.h. Referenced by bootpc_init(), and bootpc_stop(). |
|
BOOTP initialized and waiting to send initial BOOTP request Definition at line 76 of file bootp.h. Referenced by bootpc_enable(), and bootpc_run(). |
|
New (or first) BOOTP requests must be issued Definition at line 79 of file bootp.h. Referenced by bootpc_run(). |
|
After issuing the request BOOTP is in this state waiting either for timeout or a response from the BOOTP server Definition at line 82 of file bootp.h. Referenced by bootpc_eventlistener(), and bootpc_run(). |
|
Once we get into this state, proper reply has been received from the BOOTP server Definition at line 87 of file bootp.h. Referenced by bootpc_eventlistener(), and bootpc_run(). |
|
Subnet mask option BOOTP client is waiting for in the reply from the BOOTP server Definition at line 93 of file bootp.h. Referenced by bootpc_eventlistener(). |
|
Default gateway option BOOTP client is waiting for in the reply from the BOOTP server Definition at line 97 of file bootp.h. Referenced by bootpc_eventlistener(). |
|
Definition at line 165 of file bootp.c. References bootp, bootp_app_init, and BOOTPC_STATE_ENABLED. |
|
Definition at line 150 of file bootp.c. References bootp, bootp_app_init, and BOOTPC_STATE_DISABLED. |
|
Definition at line 183 of file bootp.c. References bootp, bootp_app_init, BOOTP_RETRY_TOUT, BOOTP_SERVERPORT, BOOTPC_STATE_ENABLED, BOOTPC_STATE_REPLY_GET, BOOTPC_STATE_REQUEST_NEEDED, BOOTPC_STATE_WAITING_REPLY, check_timer(), init_timer(), NETWORK_TX_BUFFER_SIZE, TIMERTIC, UDP_APP_OFFSET, and udp_send(). |
|
Definition at line 335 of file bootp.c. References bootp, bootp_app_init, BOOTP_OPTION_DEFGW, BOOTP_OPTION_SUBNETMASK, BOOTPC_STATE_REPLY_GET, BOOTPC_STATE_WAITING_REPLY, NETWORK_RECEIVE_INITIALIZE, and RECEIVE_NETWORK_B. Referenced by bootpc_init(). |