Home
last modified time | relevance | path

Searched refs:test_oid (Results 1 – 5 of 5) sorted by relevance

/third_party/lwip/src/apps/snmp/
Dsnmp_mib2_tcp.c270 u32_t test_oid[LWIP_ARRAYSIZE(tcp_ConnTable_oid_ranges)]; in tcp_ConnTable_get_next_cell_instance_and_value() local
273 snmp_ip4_to_oid(ip_2_ip4(&pcb->local_ip), &test_oid[0]); in tcp_ConnTable_get_next_cell_instance_and_value()
274 test_oid[4] = pcb->local_port; in tcp_ConnTable_get_next_cell_instance_and_value()
278 snmp_ip4_to_oid(IP4_ADDR_ANY4, &test_oid[5]); in tcp_ConnTable_get_next_cell_instance_and_value()
279 test_oid[9] = 0; in tcp_ConnTable_get_next_cell_instance_and_value()
284 snmp_ip4_to_oid(ip_2_ip4(&pcb->remote_ip), &test_oid[5]); in tcp_ConnTable_get_next_cell_instance_and_value()
285 test_oid[9] = pcb->remote_port; 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()
395 u32_t test_oid[LWIP_ARRAYSIZE(result_temp)]; in tcp_ConnectionTable_get_next_cell_instance_and_value() local
398 idx += snmp_ip_port_to_oid(&pcb->local_ip, pcb->local_port, &test_oid[idx]); in tcp_ConnectionTable_get_next_cell_instance_and_value()
[all …]
Dsnmp_mib2_udp.c183 u32_t test_oid[LWIP_ARRAYSIZE(result_temp)]; in udp_endpointTable_get_next_cell_instance_and_value() local
187 idx += snmp_ip_port_to_oid(&pcb->local_ip, pcb->local_port, &test_oid[idx]); in udp_endpointTable_get_next_cell_instance_and_value()
190 idx += snmp_ip_port_to_oid(&pcb->remote_ip, pcb->remote_port, &test_oid[idx]); in udp_endpointTable_get_next_cell_instance_and_value()
192 test_oid[idx] = 0; /* udpEndpointInstance */ in udp_endpointTable_get_next_cell_instance_and_value()
196 snmp_next_oid_check(&state, test_oid, idx, NULL); in udp_endpointTable_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() local
294 snmp_ip4_to_oid(ip_2_ip4(&pcb->local_ip), &test_oid[0]); in udp_Table_get_next_cell_instance_and_value()
295 test_oid[4] = pcb->local_port; 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_ip.c288 u32_t test_oid[LWIP_ARRAYSIZE(ip_AddrTable_oid_ranges)]; in ip_AddrTable_get_next_cell_instance_and_value() local
289 snmp_ip4_to_oid(netif_ip4_addr(netif), &test_oid[0]); 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()
436 u32_t test_oid[LWIP_ARRAYSIZE(ip_RouteTable_oid_ranges)]; in ip_RouteTable_get_next_cell_instance_and_value() local
443 snmp_ip4_to_oid(IP4_ADDR_ANY4, &test_oid[0]); 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()
454 snmp_ip4_to_oid(&dst, &test_oid[0]); in ip_RouteTable_get_next_cell_instance_and_value()
455 snmp_next_oid_check(&state, test_oid, LWIP_ARRAYSIZE(ip_RouteTable_oid_ranges), netif); in ip_RouteTable_get_next_cell_instance_and_value()
566 u32_t test_oid[LWIP_ARRAYSIZE(ip_NetToMediaTable_oid_ranges)]; in ip_NetToMediaTable_get_next_cell_instance_and_value() local
568 test_oid[0] = netif_to_num(netif); in ip_NetToMediaTable_get_next_cell_instance_and_value()
[all …]
Dsnmp_snmpv2_usm.c250 u32_t test_oid[LWIP_ARRAYSIZE(usmUserTable_oid_ranges)]; in usmusertable_get_next_instance() local
252 test_oid[0] = eid_len; in usmusertable_get_next_instance()
253 snmp_engineid_to_oid(engineid, &test_oid[1], eid_len); in usmusertable_get_next_instance()
257 test_oid[1 + eid_len] = strlen(username); in usmusertable_get_next_instance()
258 snmp_name_to_oid(username, &test_oid[2 + eid_len], strlen(username)); in usmusertable_get_next_instance()
261 …snmp_next_oid_check(&state, test_oid, (u8_t)(1 + eid_len + 1 + strlen(username)), LWIP_PTR_NUMERIC… in usmusertable_get_next_instance()
Dsnmp_mib2_interfaces.c137 u32_t test_oid[LWIP_ARRAYSIZE(interfaces_Table_oid_ranges)]; in interfaces_Table_get_next_cell_instance() local
138 test_oid[0] = netif_to_num(netif); 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()