Definition in file bootp.c.
Go to the source code of this file.
Functions | |
INT8 | bootpc_init (UINT8 mode) |
Initializes BOOTP client. | |
void | bootpc_stop (void) |
Stop BOOTP client operation. | |
INT8 | bootpc_enable (void) |
Enable BOOTP client operation. | |
void | bootpc_run (void) |
BOOTP client main loop. | |
INT32 | bootpc_eventlistener (INT8 cbhandle, UINT8 event, UINT32 remip, UINT16 remport, UINT16 bufindex, UINT16 dlen) |
BOOTP event listener. | |
Variables | |
UINT8 | bootp_app_init = 0 |
struct { | |
} | bootp |
BOOTP client information. |
|
Definition at line 108 of file bootp.c. References bootp, bootp_app_init, BOOTP_CLIENTPORT, bootpc_eventlistener(), BOOTPC_STATE_DISABLED, get_timer(), udp_getsocket(), udp_open(), UDP_OPT_CHECK_CS, and UDP_OPT_SEND_CS. |
|
Definition at line 150 of file bootp.c. References bootp, bootp_app_init, and BOOTPC_STATE_DISABLED. |
|
Definition at line 165 of file bootp.c. References bootp, bootp_app_init, and BOOTPC_STATE_ENABLED. |
|
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(). |
|
Defines whether bootpc_init has already been invoked or not Definition at line 77 of file bootp.c. Referenced by bootpc_enable(), bootpc_eventlistener(), bootpc_init(), bootpc_run(), and bootpc_stop(). |
|
bootp variable holds various information about the BOOTP client and also information needed by the BOOTP client to function properly. Referenced by bootpc_enable(), bootpc_eventlistener(), bootpc_init(), bootpc_run(), and bootpc_stop(). |