Home
last modified time | relevance | path

Searched refs:op_len (Results 1 – 2 of 2) sorted by relevance

/third_party/lwip/src/core/ipv6/
Ddhcp6.c535 u16_t op_len = dhcp6_get_option_length(dhcp6, DHCP6_OPTION_IDX_DNS_SERVER); in dhcp6_handle_config_reply() local
541 for (n = 0, idx = op_start; (idx < op_start + op_len) && (n < LWIP_DHCP6_PROVIDE_DNS_SERVERS); in dhcp6_handle_config_reply()
560 u16_t op_len = dhcp6_get_option_length(dhcp6, DHCP6_OPTION_IDX_NTP_SERVER); in dhcp6_handle_config_reply() local
564 for (n = 0, idx = op_start; (idx < op_start + op_len) && (n < LWIP_DHCP6_MAX_NTP_SERVERS); in dhcp6_handle_config_reply()
640 u8_t *op_len; in dhcp6_parse_reply() local
649 op_len = (u8_t *)pbuf_get_contiguous(p, op_len_buf, 4, 4, offset); in dhcp6_parse_reply()
650 if (op_len == NULL) { in dhcp6_parse_reply()
654 op = (op_len[0] << 8) | op_len[1]; in dhcp6_parse_reply()
655 len = (op_len[2] << 8) | op_len[3]; in dhcp6_parse_reply()
/third_party/ltp/testcases/kernel/syscalls/accept/
Daccept02.c45 int op, op_len, mc_group_len; in server_thread() local
48 op_len = sizeof(op); in server_thread()
53 SAFE_SETSOCKOPT(server_sockfd, SOL_SOCKET, SO_REUSEADDR, &op, op_len); in server_thread()