Home
last modified time | relevance | path

Searched refs:dhcp (Results 1 – 9 of 9) sorted by relevance

/lib/liblwip/src/core/
Ddhcp.c140 #define dhcp_option_given(dhcp, idx) (dhcp_rx_options_given[idx] != 0) argument
141 #define dhcp_got_option(dhcp, idx) (dhcp_rx_options_given[idx] = 1) argument
142 #define dhcp_clear_option(dhcp, idx) (dhcp_rx_options_given[idx] = 0) argument
143 #define dhcp_clear_all_options(dhcp) (memset(dhcp_rx_options_given, 0, sizeof(dhcp_rx_opti… argument
144 #define dhcp_get_option_value(dhcp, idx) (dhcp_rx_options_val[idx]) argument
145 #define dhcp_set_option_value(dhcp, idx, val) (dhcp_rx_options_val[idx] = (val)) argument
157 static void dhcp_set_state(struct dhcp *dhcp, u8_t new_state);
169 static err_t dhcp_create_msg(struct netif *netif, struct dhcp *dhcp, u8_t message_type);
171 static void dhcp_delete_msg(struct dhcp *dhcp);
173 static void dhcp_option(struct dhcp *dhcp, u8_t option_type, u8_t option_len);
[all …]
Dudp.c209 if ((inp->dhcp != NULL) && (inp->dhcp->pcb != NULL)) {
213 if ((ip_addr_isany(&inp->dhcp->pcb->remote_ip) ||
214 ip_addr_cmp(&(inp->dhcp->pcb->remote_ip), &current_iphdr_src))) {
215 pcb = inp->dhcp->pcb;
Dnetif.c152 netif->dhcp = NULL; in netif_add()
541 if (netif->dhcp) { in netif_set_link_up()
/lib/liblwip/src/include/lwip/
Ddhcp.h29 struct dhcp struct
108 void dhcp_set_struct(struct netif *netif, struct dhcp *dhcp);
110 #define dhcp_remove_struct(netif) do { (netif)->dhcp = NULL; } while(0)
Dnetif.h46 struct dhcp;
175 struct dhcp *dhcp; member
/lib/liblwip/
DSConscript19 "src/core/dhcp.c",
DCHANGELOG53 * dhcp.c: DHCP uses LWIP_RAND() for xid's (bug #30302)
83 * dhcp.c: patch #7843 Fix corner case with dhcp timeouts
86 * dhcp.c: patch #7840 Segfault in dhcp_parse_reply if no end marker in dhcp packet
146 * dhcp.c: fixed bug #35151: DHCP asserts on incoming option lengths
221 * dhcp.c: fixed bug #34406 dhcp_option_hostname() can overflow the pbuf
271 * dhcp.c: fixed bug #34122 dhcp: hostname can overflow
323 * dhcp.c/.h: Added a function to deallocate the struct dhcp from a netif
443 * dhcp.c/.h, autoip.c/.h: task #10139 (Prefer statically allocated
445 and dhcp work with user-allocated structs instead of callin mem_malloc
486 * dhcp.h, dhcp.c: Reworked the code that parses DHCP options: parse
[all …]
DUPGRADING108 * added autoip_set_struct() and dhcp_set_struct() to let autoip and dhcp work
/lib/liblwip/doc/
Drawapi.txt457 You can peek in the netif->dhcp struct for the actual DHCP status.