Home
last modified time | relevance | path

Searched refs:options_out_len (Results 1 – 4 of 4) sorted by relevance

/third_party/lwip/src/core/ipv4/
Ddhcp.c217 …dhcp_create_msg(struct netif *netif, struct dhcp *dhcp, u8_t message_type, u16_t *options_out_len);
219 static u16_t dhcp_option(u16_t options_out_len, u8_t *options, u8_t option_type, u8_t option_len);
221 static u16_t dhcp_option_byte(u16_t options_out_len, u8_t *options, u8_t value);
222 static u16_t dhcp_option_short(u16_t options_out_len, u8_t *options, u16_t value);
223 static u16_t dhcp_option_long(u16_t options_out_len, u8_t *options, u32_t value);
225 static u16_t dhcp_option_hostname(u16_t options_out_len, u8_t *options, struct netif *netif);
228 static void dhcp_option_trailer(u16_t options_out_len, u8_t *options, struct pbuf *p_out);
379 u16_t options_out_len; in dhcp_select() local
389 p_out = dhcp_create_msg(netif, dhcp, DHCP_REQUEST, &options_out_len); in dhcp_select()
392options_out_len = dhcp_option(options_out_len, msg_out->options, DHCP_OPTION_MAX_MSG_SIZE, DHCP_OP… in dhcp_select()
[all …]
/third_party/lwip/src/core/ipv6/
Ddhcp6.c378 u16_t opt_len_alloc, u16_t *options_out_len) in dhcp6_create_msg() argument
410 *options_out_len = 0; in dhcp6_create_msg()
415 dhcp6_option_short(u16_t options_out_len, u8_t *options, u16_t value) in dhcp6_option_short() argument
417 options[options_out_len++] = (u8_t)((value & 0xff00U) >> 8); in dhcp6_option_short()
418 options[options_out_len++] = (u8_t) (value & 0x00ffU); in dhcp6_option_short()
419 return options_out_len; in dhcp6_option_short()
423 dhcp6_option_optionrequest(u16_t options_out_len, u8_t *options, const u16_t *req_options, in dhcp6_option_optionrequest() argument
430 sizeof(struct dhcp6_msg) + options_out_len + 4U + (2U * num_req_options) <= max_len); in dhcp6_option_optionrequest()
433 ret = dhcp6_option_short(options_out_len, options, DHCP6_OPTION_ORO); in dhcp6_option_optionrequest()
443 dhcp6_msg_finalize(u16_t options_out_len, struct pbuf *p_out) in dhcp6_msg_finalize() argument
[all …]
/third_party/lwip/
DUPGRADING38 * LWIP_HOOK_DHCP_APPEND_OPTIONS() has changed, see description in opt.h (options_out_len is not
DCHANGELOG125 dhcp - they are used in a call stack only (p_out and options_out_len as well)