Home
last modified time | relevance | path

Searched refs:LWIP_ARRAYSIZE (Results 1 – 25 of 33) sorted by relevance

12

/third_party/lwip/src/apps/snmp/
Dsnmp_mib2_ip.c257 …if (!snmp_oid_in_range(row_oid, row_oid_len, ip_AddrTable_oid_ranges, LWIP_ARRAYSIZE(ip_AddrTable_… in ip_AddrTable_get_cell_value()
281 u32_t result_temp[LWIP_ARRAYSIZE(ip_AddrTable_oid_ranges)]; in ip_AddrTable_get_next_cell_instance_and_value()
284 …snmp_next_oid_init(&state, row_oid->id, row_oid->len, result_temp, LWIP_ARRAYSIZE(ip_AddrTable_oid… in ip_AddrTable_get_next_cell_instance_and_value()
288 u32_t test_oid[LWIP_ARRAYSIZE(ip_AddrTable_oid_ranges)]; in ip_AddrTable_get_next_cell_instance_and_value()
292 snmp_next_oid_check(&state, test_oid, LWIP_ARRAYSIZE(ip_AddrTable_oid_ranges), netif); in ip_AddrTable_get_next_cell_instance_and_value()
402 …if (!snmp_oid_in_range(row_oid, row_oid_len, ip_RouteTable_oid_ranges, LWIP_ARRAYSIZE(ip_RouteTabl… in ip_RouteTable_get_cell_value()
435 u32_t result_temp[LWIP_ARRAYSIZE(ip_RouteTable_oid_ranges)]; in ip_RouteTable_get_next_cell_instance_and_value()
436 u32_t test_oid[LWIP_ARRAYSIZE(ip_RouteTable_oid_ranges)]; in ip_RouteTable_get_next_cell_instance_and_value()
439 …snmp_next_oid_init(&state, row_oid->id, row_oid->len, result_temp, LWIP_ARRAYSIZE(ip_RouteTable_oi… in ip_RouteTable_get_next_cell_instance_and_value()
444 snmp_next_oid_check(&state, test_oid, LWIP_ARRAYSIZE(ip_RouteTable_oid_ranges), netif_default); in ip_RouteTable_get_next_cell_instance_and_value()
[all …]
Dsnmp_mib2_tcp.c213 …if (!snmp_oid_in_range(row_oid, row_oid_len, tcp_ConnTable_oid_ranges, LWIP_ARRAYSIZE(tcp_ConnTabl… in tcp_ConnTable_get_cell_value()
224 for (i = 0; i < LWIP_ARRAYSIZE(tcp_pcb_lists); i++) { in tcp_ConnTable_get_cell_value()
261 u32_t result_temp[LWIP_ARRAYSIZE(tcp_ConnTable_oid_ranges)]; in tcp_ConnTable_get_next_cell_instance_and_value()
264 …snmp_next_oid_init(&state, row_oid->id, row_oid->len, result_temp, LWIP_ARRAYSIZE(tcp_ConnTable_oi… in tcp_ConnTable_get_next_cell_instance_and_value()
267 for (i = 0; i < LWIP_ARRAYSIZE(tcp_pcb_lists); i++) { in tcp_ConnTable_get_next_cell_instance_and_value()
270 u32_t test_oid[LWIP_ARRAYSIZE(tcp_ConnTable_oid_ranges)]; in tcp_ConnTable_get_next_cell_instance_and_value()
289 snmp_next_oid_check(&state, test_oid, LWIP_ARRAYSIZE(tcp_ConnTable_oid_ranges), pcb); in tcp_ConnTable_get_next_cell_instance_and_value()
354 for (i = 0; i < LWIP_ARRAYSIZE(tcp_pcb_nonlisten_lists); i++) { in tcp_ConnectionTable_get_cell_value()
387 snmp_next_oid_init(&state, row_oid->id, row_oid->len, result_temp, LWIP_ARRAYSIZE(result_temp)); in tcp_ConnectionTable_get_next_cell_instance_and_value()
390 for (i = 0; i < LWIP_ARRAYSIZE(tcp_pcb_nonlisten_lists); i++) { in tcp_ConnectionTable_get_next_cell_instance_and_value()
[all …]
Dsnmpv3_mbedtls.c144 for (i = 0; i < LWIP_ARRAYSIZE(iv_local); i++) { in snmpv3_crypt()
147 if (mbedtls_cipher_set_iv(&ctx, iv_local, LWIP_ARRAYSIZE(iv_local)) != 0) { in snmpv3_crypt()
154 out_len = LWIP_ARRAYSIZE(out_bytes) ; in snmpv3_crypt()
156 for (j = 0; j < LWIP_ARRAYSIZE(in_bytes); j++) { in snmpv3_crypt()
162 … if (mbedtls_cipher_update(&ctx, in_bytes, LWIP_ARRAYSIZE(in_bytes), out_bytes, &out_len) != 0) { in snmpv3_crypt()
171 out_len = LWIP_ARRAYSIZE(out_bytes); in snmpv3_crypt()
203 if (mbedtls_cipher_set_iv(&ctx, iv_local, LWIP_ARRAYSIZE(iv_local)) != 0) { in snmpv3_crypt()
Dsnmp_mib2_udp.c178 snmp_next_oid_init(&state, row_oid->id, row_oid->len, result_temp, LWIP_ARRAYSIZE(result_temp)); in udp_endpointTable_get_next_cell_instance_and_value()
183 u32_t test_oid[LWIP_ARRAYSIZE(result_temp)]; in udp_endpointTable_get_next_cell_instance_and_value()
254 …if (!snmp_oid_in_range(row_oid, row_oid_len, udp_Table_oid_ranges, LWIP_ARRAYSIZE(udp_Table_oid_ra… in udp_Table_get_cell_value()
283 u32_t result_temp[LWIP_ARRAYSIZE(udp_Table_oid_ranges)]; in udp_Table_get_next_cell_instance_and_value()
286 …snmp_next_oid_init(&state, row_oid->id, row_oid->len, result_temp, LWIP_ARRAYSIZE(udp_Table_oid_ra… in udp_Table_get_next_cell_instance_and_value()
291 u32_t test_oid[LWIP_ARRAYSIZE(udp_Table_oid_ranges)]; in udp_Table_get_next_cell_instance_and_value()
298 snmp_next_oid_check(&state, test_oid, LWIP_ARRAYSIZE(udp_Table_oid_ranges), pcb); in udp_Table_get_next_cell_instance_and_value()
Dsnmp_mib2_interfaces.c103 …if (!snmp_oid_in_range(row_oid, row_oid_len, interfaces_Table_oid_ranges, LWIP_ARRAYSIZE(interface… in interfaces_Table_get_cell_instance()
128 u32_t result_temp[LWIP_ARRAYSIZE(interfaces_Table_oid_ranges)]; in interfaces_Table_get_next_cell_instance()
133 …snmp_next_oid_init(&state, row_oid->id, row_oid->len, result_temp, LWIP_ARRAYSIZE(interfaces_Table… in interfaces_Table_get_next_cell_instance()
137 u32_t test_oid[LWIP_ARRAYSIZE(interfaces_Table_oid_ranges)]; in interfaces_Table_get_next_cell_instance()
141 snmp_next_oid_check(&state, test_oid, LWIP_ARRAYSIZE(interfaces_Table_oid_ranges), netif); in interfaces_Table_get_next_cell_instance()
Dsnmp_snmpv2_usm.c186 u32_t result_temp[LWIP_ARRAYSIZE(usmUserTable_oid_ranges)]; in usmusertable_get_next_instance()
247 …snmp_next_oid_init(&state, row_oid->id, row_oid->len, result_temp, LWIP_ARRAYSIZE(usmUserTable_oid… in usmusertable_get_next_instance()
250 u32_t test_oid[LWIP_ARRAYSIZE(usmUserTable_oid_ranges)]; in usmusertable_get_next_instance()
408 const struct snmp_mib snmpusmmib = {snmpusmmib_base_oid, LWIP_ARRAYSIZE(snmpusmmib_base_oid), &snmp…
Dsnmp_snmpv2_framework.c87 const struct snmp_mib snmpframeworkmib = {snmpframeworkmib_base_oid, LWIP_ARRAYSIZE(snmpframeworkmi…
Dsnmp_core.c205 const struct snmp_obj_id_const_ref snmp_zero_dot_zero = { LWIP_ARRAYSIZE(snmp_zero_dot_zero_values)…
212 static u8_t snmp_num_mibs = LWIP_ARRAYSIZE(default_mibs);
216 static u8_t snmp_num_mibs = LWIP_ARRAYSIZE(default_mibs);
Dsnmp_msg.c314 snmp_oid_assign(&vb.oid, oid, LWIP_ARRAYSIZE(oid)); in snmp_receive()
320 snmp_oid_assign(&vb.oid, oid, LWIP_ARRAYSIZE(oid)); in snmp_receive()
326 snmp_oid_assign(&vb.oid, oid, LWIP_ARRAYSIZE(oid)); in snmp_receive()
332 snmp_oid_assign(&vb.oid, oid, LWIP_ARRAYSIZE(oid)); in snmp_receive()
338 snmp_oid_assign(&vb.oid, oid, LWIP_ARRAYSIZE(oid)); in snmp_receive()
344 snmp_oid_assign(&vb.oid, oid, LWIP_ARRAYSIZE(oid)); in snmp_receive()
/third_party/lwip/src/api/
Derr.c71 if ((err > 0) || (-err >= (err_t)LWIP_ARRAYSIZE(err_to_errno_table))) { in err_to_errno()
109 if ((err > 0) || (-err >= (err_t)LWIP_ARRAYSIZE(err_strerr))) { in lwip_strerr()
/third_party/lwip/src/apps/http/
Dhttpd_structs.h112 #define NUM_HTTP_HEADERS LWIP_ARRAYSIZE(g_psHTTPHeaders)
120 #define NUM_SHTML_EXTENSIONS LWIP_ARRAYSIZE(g_pcSSIExtensions)
/third_party/lwip/src/include/lwip/apps/
Dsnmp_table.h82 (u16_t)LWIP_ARRAYSIZE(columns), (columns), \
122 …(u16_t)LWIP_ARRAYSIZE(columns), (columns), (get_cell_value_method), (get_next_cell_instance_and_va…
Dsnmp_scalar.h105 …(u16_t)LWIP_ARRAYSIZE(array_nodes), (array_nodes), (get_value_method), (set_test_method), (set_val…
Dsnmp_core.h236 (u16_t)LWIP_ARRAYSIZE(subnodes), (subnodes) }
259 #define SNMP_MIB_CREATE(oid_list, root_node) { (oid_list), (u8_t)LWIP_ARRAYSIZE(oid_list), root_nod…
/third_party/lwip/src/core/
Dtimeouts.c117 const int lwip_num_cyclic_timers = LWIP_ARRAYSIZE(lwip_cyclic_timers);
268 for (i = (LWIP_TCP ? 1 : 0); i < LWIP_ARRAYSIZE(lwip_cyclic_timers); i++) { in sys_timeouts_init()
Dmemp.c229 for (i = 0; i < LWIP_ARRAYSIZE(memp_pools); i++) { in memp_init()
Ddns.c420 for (i = 0; i < LWIP_ARRAYSIZE(local_hostlist_init); i++) { in dns_init_local()
463 for (i = 0; i < LWIP_ARRAYSIZE(local_hostlist_static); i++) { in dns_local_iterate()
510 for (i = 0; i < LWIP_ARRAYSIZE(local_hostlist_static); i++) { in dns_lookup_local()
/third_party/lwip/src/core/ipv4/
Ddhcp.c402 …tions_out_len, msg_out->options, DHCP_OPTION_PARAMETER_REQUEST_LIST, LWIP_ARRAYSIZE(dhcp_discover_… in dhcp_select()
403 for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { in dhcp_select()
1009 …tions_out_len, msg_out->options, DHCP_OPTION_PARAMETER_REQUEST_LIST, LWIP_ARRAYSIZE(dhcp_discover_… in dhcp_discover()
1010 for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { in dhcp_discover()
1169 …tions_out_len, msg_out->options, DHCP_OPTION_PARAMETER_REQUEST_LIST, LWIP_ARRAYSIZE(dhcp_discover_… in dhcp_renew()
1170 for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { in dhcp_renew()
1224 …tions_out_len, msg_out->options, DHCP_OPTION_PARAMETER_REQUEST_LIST, LWIP_ARRAYSIZE(dhcp_discover_… in dhcp_rebind()
1225 for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { in dhcp_rebind()
1281 …tions_out_len, msg_out->options, DHCP_OPTION_PARAMETER_REQUEST_LIST, LWIP_ARRAYSIZE(dhcp_discover_… in dhcp_reboot()
1282 for (i = 0; i < LWIP_ARRAYSIZE(dhcp_discover_request_options); i++) { in dhcp_reboot()
/third_party/lwip/src/include/lwip/
Ddef.h69 #define LWIP_ARRAYSIZE(x) (sizeof(x)/sizeof((x)[0])) macro
/third_party/lwip/test/unit/core/
Dtest_timers.c232 return create_suite("TIMERS", tests, LWIP_ARRAYSIZE(tests), timers_setup, timers_teardown); in timers_suite()
/third_party/lwip/src/apps/mqtt/
Dmqtt.c155 if (msg_type >= LWIP_ARRAYSIZE(mqtt_message_type_str)) { in mqtt_msg_type_to_str()
1129 r = mqtt_create_request(client->req_list, LWIP_ARRAYSIZE(client->req_list), pkt_id, cb, arg); in mqtt_publish()
1200 r = mqtt_create_request(client->req_list, LWIP_ARRAYSIZE(client->req_list), pkt_id, cb, arg); in mqtt_sub_unsub()
1309 mqtt_init_requests(client->req_list, LWIP_ARRAYSIZE(client->req_list)); in mqtt_client_connect()
/third_party/lwip/test/unit/ip6/
Dtest_ip6.c237 for (i = 0; i < LWIP_ARRAYSIZE(tests); i++) { in START_TEST()
/third_party/lwip/src/netif/ppp/
Deap.c2149 if (code >= 1 && code <= (int)LWIP_ARRAYSIZE(eap_codenames)) in eap_printpkt()
2163 if (rtype >= 1 && rtype <= (int)LWIP_ARRAYSIZE(eap_typenames)) in eap_printpkt()
2301 if (rtype >= 1 && rtype <= (int)LWIP_ARRAYSIZE(eap_typenames)) in eap_printpkt()
2324 if (rtype >= 1 && rtype < (int)LWIP_ARRAYSIZE(eap_typenames)) in eap_printpkt()
Dupap.c617 if (code >= 1 && code <= (int)LWIP_ARRAYSIZE(upap_codenames)) in upap_printpkt()
/third_party/lwip/src/core/ipv6/
Ddhcp6.c477 LWIP_ARRAYSIZE(requested_options), p_out->len); in dhcp6_information_request()

12