Home
last modified time | relevance | path

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

/lib/lwip/lwip/src/core/ipv4/
A Ddhcp.c448 struct dhcp *dhcp; in dhcp_select() local
520 if (dhcp->t0_timeout && (++dhcp->lease_used == dhcp->t0_timeout)) { in dhcp_coarse_tmr()
765 memset(dhcp, 0, sizeof(struct dhcp)); in dhcp_set_struct()
783 struct dhcp *dhcp; in dhcp_cleanup() local
812 struct dhcp *dhcp; in dhcp_start() local
830 dhcp = (struct dhcp *)mem_malloc(sizeof(struct dhcp)); in dhcp_start()
850 memset(dhcp, 0, sizeof(struct dhcp)); in dhcp_start()
896 struct dhcp dhcp; in dhcp_inform() local
1085 struct dhcp *dhcp; in dhcp_bind() local
1119 if ((dhcp->t1_timeout >= dhcp->t2_timeout) && (dhcp->t2_timeout > 0)) { in dhcp_bind()
[all …]
/lib/lwip/lwip/contrib/addons/dhcp_extra_opts/
A Ddhcp_extra_opts.h51 struct dhcp;
53 struct dhcp;
58 void dhcp_parse_extra_opts(struct dhcp *dhcp, uint8_t state, uint8_t option, uint8_t len, struct pb…
A Ddhcp_extra_opts.c36 void dhcp_parse_extra_opts(struct dhcp *dhcp, uint8_t state, uint8_t option, uint8_t len, struct pb… in dhcp_parse_extra_opts() argument
38 LWIP_UNUSED_ARG(dhcp); in dhcp_parse_extra_opts()
56 if (dhcp == netif_dhcp_data(netif)) { in dhcp_parse_extra_opts()
/lib/lwip/lwip/src/include/lwip/
A Ddhcp.h83 struct dhcp struct
122 void dhcp_set_struct(struct netif *netif, struct dhcp *dhcp); argument
147 #define netif_dhcp_data(netif) ((struct dhcp*)netif_get_client_data(netif, LWIP_NETIF_CLIENT_DATA_I…
A Dopt.h3165 #define LWIP_HOOK_DHCP_APPEND_OPTIONS(netif, dhcp, state, msg, msg_type, options_len_ptr) argument
3193 #define LWIP_HOOK_DHCP_PARSE_OPTION(netif, dhcp, state, msg, msg_type, option, len, pbuf, offset) argument
/lib/lwip/lwip/test/unit/dhcp/
A Dtest_dhcp.c924 struct dhcp* dhcp; in START_TEST() local
941 dhcp = netif_dhcp_data(&net_test); in START_TEST()
944 xid = dhcp->xid; /* Write bad xid, not using htonl! */ in START_TEST()
954 xid = htonl(dhcp->xid); in START_TEST()
958 fail_unless(dhcp->state == DHCP_STATE_REQUESTING); in START_TEST()
961 xid = htonl(dhcp->xid); /* xid updated */ in START_TEST()
963 tries = dhcp->tries; in START_TEST()
964 request_timeout = dhcp->request_timeout; in START_TEST()
968 fail_unless(dhcp->state == DHCP_STATE_REQUESTING); in START_TEST()
970 fail_unless(xid == htonl(dhcp->xid)); in START_TEST()
[all …]
/lib/efi_selftest/
A Defi_selftest_snp.c60 struct dhcp { struct
103 struct dhcp p = {}; in send_dhcp_discover()
116 p.ip_udp.ip_len = htons(sizeof(struct dhcp) - in send_dhcp_discover()
130 p.ip_udp.udp_len = htons(sizeof(struct dhcp) - in send_dhcp_discover()
161 ret = net->transmit(net, 0, sizeof(struct dhcp), &p, NULL, NULL, 0); in send_dhcp_discover()
292 struct dhcp p; in execute()
/lib/lwip/lwip/
A DCHANGELOG490 * dhcp.c: fixed bug #49676 (Possible endless loop when parsing dhcp options)
598 * dhcp.h/c, autoip.h/.c: added functions dhcp/autoip_supplied_address() to
949 * dhcp.h/.c: fixed bugs #45140 and #45141 (dhcp was not stopped correctly after
1075 * opt.h, dhcp.h/.c: prevent dhcp from starting when netif link is down (only
1369 * dhcp.c: patch #7843 Fix corner case with dhcp timeouts
1372 * dhcp.c: patch #7840 Segfault in dhcp_parse_reply if no end marker in dhcp packet
1557 * dhcp.c: fixed bug #34122 dhcp: hostname can overflow
1609 * dhcp.c/.h: Added a function to deallocate the struct dhcp from a netif
1772 * dhcp.h, dhcp.c: Reworked the code that parses DHCP options: parse
2620 * dhcp.c: task #9192: mem_free of dhcp->options_in and dhcp->msg_in
[all …]
A DUPGRADING49 available in struct dhcp any more)
252 * added autoip_set_struct() and dhcp_set_struct() to let autoip and dhcp work
/lib/lwip/lwip/test/unit/
A DFilelists.mk42 $(TESTDIR)/dhcp/test_dhcp.c \
A DFilelists.cmake26 ${LWIP_TESTDIR}/dhcp/test_dhcp.c
/lib/lwip/
A DMakefile28 lwip/src/core/ipv4/dhcp.o \
/lib/lwip/lwip/src/
A DFilelists.mk56 $(LWIPDIR)/core/ipv4/dhcp.c \
A DFilelists.cmake63 ${LWIP_DIR}/src/core/ipv4/dhcp.c
/lib/lwip/lwip/contrib/examples/example_app/
A Dtest.c156 static struct dhcp netif_dhcp;
/lib/efi_loader/
A Defi_net.c1231 netobj->pxe.dhcp = efi_pxe_base_code_dhcp; in efi_net_register()
/lib/lwip/lwip/contrib/apps/LwipMibCompiler/Mibs/
A DIP-MIB70 dhcp(4) indicates an address that was assigned to this
85 dhcp(4),
161 dhcp(4) indicates a prefix that was assigned by a DHCP
175 dhcp(4),

Completed in 50 milliseconds