Data Structures | |
struct | dhcpc_state |
Functions | |
void | dhcpc_appcall (process_event_t ev, void *data) |
void | dhcpc_configured (const struct dhcpc_state *s) |
void | dhcpc_init (const void *mac_addr, int mac_len) |
void | dhcpc_request (void) |
void | dhcpc_unconfigured (const struct dhcpc_state *s) |
void dhcpc_appcall | ( | process_event_t | ev, |
void * | data | ||
) |
References PROCESS_EVENT_TIMER, and tcpip_event.
void dhcpc_configured | ( | const struct dhcpc_state * | s | ) |
void dhcpc_init | ( | const void * | mac_addr, |
int | mac_len | ||
) |
References addr, DHCPC_CLIENT_PORT, DHCPC_SERVER_PORT, mac_addr, NULL, PT_INIT, s, STATE_INITIAL, udp_bind, udp_new(), UIP_HTONS, and uip_ipaddr.
void dhcpc_request | ( | void | ) |
References ipaddr, NULL, PROCESS_EVENT_NONE, s, STATE_INITIAL, uip_ipaddr, and uip_sethostaddr.
void dhcpc_unconfigured | ( | const struct dhcpc_state * | s | ) |