Home
last modified time | relevance | path

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

12

/components/net/lwip/lwip-1.4.1/src/core/
A Ddhcp.c199 struct dhcp *dhcp = netif->dhcp; in dhcp_handle_nak() local
227 struct dhcp *dhcp = netif->dhcp; in dhcp_check() local
254 struct dhcp *dhcp = netif->dhcp; in dhcp_handle_offer() local
285 struct dhcp *dhcp = netif->dhcp; in dhcp_select() local
404 struct dhcp *dhcp = netif->dhcp; in dhcp_timeout() local
467 struct dhcp *dhcp = netif->dhcp; in dhcp_t1_timeout() local
489 struct dhcp *dhcp = netif->dhcp; in dhcp_t2_timeout() local
510 struct dhcp *dhcp = netif->dhcp; in dhcp_handle_ack() local
768 struct dhcp *dhcp = netif->dhcp; in dhcp_network_changed() local
834 struct dhcp *dhcp = netif->dhcp; in dhcp_decline() local
[all …]
A 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;
A Dnetif.c159 netif->dhcp = NULL; in netif_add()
573 if (netif->dhcp) { in netif_set_link_up()
/components/net/lwip/lwip-2.0.3/src/core/ipv4/
A Ddhcp.c419 if (dhcp->t0_timeout && (++dhcp->lease_used == dhcp->t0_timeout)) { in dhcp_coarse_tmr()
547 dhcp->t1_renew_time = ((dhcp->t2_timeout - dhcp->lease_used) / 2); in dhcp_t1_timeout()
574 dhcp->t2_rebind_time = ((dhcp->t0_timeout - dhcp->lease_used) / 2); in dhcp_t2_timeout()
723 struct dhcp *dhcp; in dhcp_start() local
740 dhcp = (struct dhcp *)mem_malloc(sizeof(struct dhcp)); in dhcp_start()
804 struct dhcp dhcp; in dhcp_inform() local
889 struct dhcp *dhcp; in dhcp_arp_reply() local
1020 struct dhcp *dhcp; in dhcp_bind() local
1306 dhcp->t1_renew_time = dhcp->t2_rebind_time = dhcp->lease_used = dhcp->t0_timeout = 0; in dhcp_release()
1345 struct dhcp *dhcp; in dhcp_stop() local
[all …]
/components/net/lwip/lwip-2.1.2/src/core/ipv4/
A Ddhcp.c368 struct dhcp *dhcp; in dhcp_select() local
440 if (dhcp->t0_timeout && (++dhcp->lease_used == dhcp->t0_timeout)) { in dhcp_coarse_tmr()
707 memset(dhcp, 0, sizeof(struct dhcp)); in dhcp_set_struct()
748 struct dhcp *dhcp; in dhcp_start() local
766 dhcp = (struct dhcp *)mem_malloc(sizeof(struct dhcp)); in dhcp_start()
786 memset(dhcp, 0, sizeof(struct dhcp)); in dhcp_start()
825 struct dhcp dhcp; in dhcp_inform() local
914 struct dhcp *dhcp; in dhcp_arp_reply() local
1052 struct dhcp *dhcp; in dhcp_bind() local
1107 if ((dhcp->t1_timeout >= dhcp->t2_timeout) && (dhcp->t2_timeout > 0)) { in dhcp_bind()
[all …]
/components/net/lwip/lwip-2.0.3/src/include/lwip/
A Ddhcp.h67 struct dhcp struct
109 void dhcp_set_struct(struct netif *netif, struct dhcp *dhcp); argument
135 #define netif_dhcp_data(netif) ((struct dhcp*)netif_get_client_data(netif, LWIP_NETIF_CLIENT_DATA_I…
/components/net/lwip/lwip-2.1.2/src/include/lwip/
A Ddhcp.h67 struct dhcp struct
104 void dhcp_set_struct(struct netif *netif, struct dhcp *dhcp); argument
131 #define netif_dhcp_data(netif) ((struct dhcp*)netif_get_client_data(netif, LWIP_NETIF_CLIENT_DATA_I…
A Dopt.h3096 #define LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, state, msg, msg_type, options_len_ptr) argument
3124 #define LWIP_HOOK_DHCP_PARSE_OPTION(netif, dhcp, state, msg, msg_type, option, len, pbuf, offset) argument
/components/net/lwip/lwip-1.4.1/src/include/lwip/
A 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)
A Dnetif.h46 struct dhcp;
183 struct dhcp *dhcp; member
/components/net/lwip/lwip-2.1.2/test/unit/dhcp/
A Dtest_dhcp.c878 struct dhcp* dhcp; in START_TEST() local
895 dhcp = netif_dhcp_data(&net_test); in START_TEST()
898 xid = dhcp->xid; /* Write bad xid, not using htonl! */ in START_TEST()
908 xid = htonl(dhcp->xid); in START_TEST()
912 fail_unless(dhcp->state == DHCP_STATE_REQUESTING); in START_TEST()
915 xid = htonl(dhcp->xid); /* xid updated */ in START_TEST()
917 tries = dhcp->tries; in START_TEST()
918 request_timeout = dhcp->request_timeout; in START_TEST()
922 fail_unless(dhcp->state == DHCP_STATE_REQUESTING); in START_TEST()
924 fail_unless(xid == htonl(dhcp->xid)); in START_TEST()
[all …]
/components/net/lwip/lwip-2.1.2/test/unit/
A DFilelists.mk41 $(TESTDIR)/dhcp/test_dhcp.c \
A DFilelists.cmake21 ${LWIP_TESTDIR}/dhcp/test_dhcp.c
/components/net/lwip/lwip-2.0.3/
A DCHANGELOG150 * dhcp.c: fixed bug #49676 (Possible endless loop when parsing dhcp options)
258 * dhcp.h/c, autoip.h/.c: added functions dhcp/autoip_supplied_address() to
609 * dhcp.h/.c: fixed bugs #45140 and #45141 (dhcp was not stopped correctly after
735 * opt.h, dhcp.h/.c: prevent dhcp from starting when netif link is down (only
1029 * dhcp.c: patch #7843 Fix corner case with dhcp timeouts
1032 * dhcp.c: patch #7840 Segfault in dhcp_parse_reply if no end marker in dhcp packet
1217 * dhcp.c: fixed bug #34122 dhcp: hostname can overflow
1269 * dhcp.c/.h: Added a function to deallocate the struct dhcp from a netif
1432 * dhcp.h, dhcp.c: Reworked the code that parses DHCP options: parse
2280 * dhcp.c: task #9192: mem_free of dhcp->options_in and dhcp->msg_in
[all …]
A DSConscript34 src/core/ipv4/dhcp.c
/components/net/lwip/lwip-2.1.2/
A DCHANGELOG403 * dhcp.c: fixed bug #49676 (Possible endless loop when parsing dhcp options)
511 * dhcp.h/c, autoip.h/.c: added functions dhcp/autoip_supplied_address() to
862 * dhcp.h/.c: fixed bugs #45140 and #45141 (dhcp was not stopped correctly after
988 * opt.h, dhcp.h/.c: prevent dhcp from starting when netif link is down (only
1282 * dhcp.c: patch #7843 Fix corner case with dhcp timeouts
1285 * dhcp.c: patch #7840 Segfault in dhcp_parse_reply if no end marker in dhcp packet
1470 * dhcp.c: fixed bug #34122 dhcp: hostname can overflow
1522 * dhcp.c/.h: Added a function to deallocate the struct dhcp from a netif
1685 * dhcp.h, dhcp.c: Reworked the code that parses DHCP options: parse
2533 * dhcp.c: task #9192: mem_free of dhcp->options_in and dhcp->msg_in
[all …]
A DUPGRADING39 available in struct dhcp any more)
242 * added autoip_set_struct() and dhcp_set_struct() to let autoip and dhcp work
A DSConscript36 src/core/ipv4/dhcp.c
/components/net/lwip/lwip-1.4.1/
A DCHANGELOG43 * dhcp.c: DHCP uses LWIP_RAND() for xid's (bug #30302)
73 * dhcp.c: patch #7843 Fix corner case with dhcp timeouts
76 * dhcp.c: patch #7840 Segfault in dhcp_parse_reply if no end marker in dhcp packet
261 * dhcp.c: fixed bug #34122 dhcp: hostname can overflow
313 * dhcp.c/.h: Added a function to deallocate the struct dhcp from a netif
476 * dhcp.h, dhcp.c: Reworked the code that parses DHCP options: parse
1324 * dhcp.c: task #9192: mem_free of dhcp->options_in and dhcp->msg_in
1898 * autoip.h, autoip.c, dhcp.h, dhcp.c, netif.h, netif.c, etharp.h, etharp.c, opt.h:
1995 * opt.h, netif.h, dhcp.h, dhcp.c: New configuration option LWIP_NETIF_HOSTNAME allow to
2730 * dhcp.c: Fixed false triggers of request_timeout.
[all …]
A DSConscript14 src/core/dhcp.c
A DUPGRADING108 * added autoip_set_struct() and dhcp_set_struct() to let autoip and dhcp work
/components/net/lwip/lwip-2.0.3/src/
A DFilelists.mk52 $(LWIPDIR)/core/ipv4/dhcp.c \
/components/net/lwip/lwip-2.1.2/src/
A DFilelists.mk55 $(LWIPDIR)/core/ipv4/dhcp.c \
A DFilelists.cmake58 ${LWIP_DIR}/src/core/ipv4/dhcp.c
/components/net/lwip/
A DKconfig347 bool "Enable Debugging of dhcp.c"

Completed in 695 milliseconds

12