Home
last modified time | relevance | path

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

/components/net/lwip/lwip-2.0.3/src/apps/snmp/
A Dsnmp_mib2_udp.c175 u32_t test_oid[LWIP_ARRAYSIZE(result_temp)]; in udp_endpointTable_get_next_cell_instance_and_value() local
179 idx += snmp_ip_port_to_oid(&pcb->local_ip, pcb->local_port, &test_oid[idx]); in udp_endpointTable_get_next_cell_instance_and_value()
182 idx += snmp_ip_port_to_oid(&pcb->remote_ip, pcb->remote_port, &test_oid[idx]); in udp_endpointTable_get_next_cell_instance_and_value()
184 test_oid[idx] = 0; /* udpEndpointInstance */ in udp_endpointTable_get_next_cell_instance_and_value()
188 snmp_next_oid_check(&state, test_oid, idx, NULL); in udp_endpointTable_get_next_cell_instance_and_value()
283 u32_t test_oid[LWIP_ARRAYSIZE(udp_Table_oid_ranges)]; in udp_Table_get_next_cell_instance_and_value() local
286 snmp_ip4_to_oid(ip_2_ip4(&pcb->local_ip), &test_oid[0]); in udp_Table_get_next_cell_instance_and_value()
287 test_oid[4] = pcb->local_port; in udp_Table_get_next_cell_instance_and_value()
290 snmp_next_oid_check(&state, test_oid, LWIP_ARRAYSIZE(udp_Table_oid_ranges), pcb); in udp_Table_get_next_cell_instance_and_value()
A Dsnmp_mib2_tcp.c263 u32_t test_oid[LWIP_ARRAYSIZE(tcp_ConnTable_oid_ranges)]; in tcp_ConnTable_get_next_cell_instance_and_value() local
266 snmp_ip4_to_oid(ip_2_ip4(&pcb->local_ip), &test_oid[0]); in tcp_ConnTable_get_next_cell_instance_and_value()
267 test_oid[4] = pcb->local_port; in tcp_ConnTable_get_next_cell_instance_and_value()
271 snmp_ip4_to_oid(IP4_ADDR_ANY4, &test_oid[5]); in tcp_ConnTable_get_next_cell_instance_and_value()
272 test_oid[9] = 0; in tcp_ConnTable_get_next_cell_instance_and_value()
277 snmp_ip4_to_oid(ip_2_ip4(&pcb->remote_ip), &test_oid[5]); in tcp_ConnTable_get_next_cell_instance_and_value()
278 test_oid[9] = pcb->remote_port; in tcp_ConnTable_get_next_cell_instance_and_value()
388 u32_t test_oid[LWIP_ARRAYSIZE(result_temp)]; in tcp_ConnectionTable_get_next_cell_instance_and_value() local
397 snmp_next_oid_check(&state, test_oid, idx, pcb); in tcp_ConnectionTable_get_next_cell_instance_and_value()
479 u32_t test_oid[LWIP_ARRAYSIZE(result_temp)]; in tcp_ListenerTable_get_next_cell_instance_and_value() local
[all …]
A Dsnmp_mib2_ip.c292 u32_t test_oid[LWIP_ARRAYSIZE(ip_AddrTable_oid_ranges)]; in ip_AddrTable_get_next_cell_instance_and_value() local
293 snmp_ip4_to_oid(netif_ip4_addr(netif), &test_oid[0]); in ip_AddrTable_get_next_cell_instance_and_value()
296 snmp_next_oid_check(&state, test_oid, LWIP_ARRAYSIZE(ip_AddrTable_oid_ranges), netif); in ip_AddrTable_get_next_cell_instance_and_value()
445 u32_t test_oid[LWIP_ARRAYSIZE(ip_RouteTable_oid_ranges)]; in ip_RouteTable_get_next_cell_instance_and_value() local
452 snmp_ip4_to_oid(IP4_ADDR_ANY4, &test_oid[0]); in ip_RouteTable_get_next_cell_instance_and_value()
453 snmp_next_oid_check(&state, test_oid, LWIP_ARRAYSIZE(ip_RouteTable_oid_ranges), netif_default); in ip_RouteTable_get_next_cell_instance_and_value()
464 snmp_ip4_to_oid(&dst, &test_oid[0]); in ip_RouteTable_get_next_cell_instance_and_value()
465 snmp_next_oid_check(&state, test_oid, LWIP_ARRAYSIZE(ip_RouteTable_oid_ranges), netif); in ip_RouteTable_get_next_cell_instance_and_value()
578 u32_t test_oid[LWIP_ARRAYSIZE(ip_NetToMediaTable_oid_ranges)]; in ip_NetToMediaTable_get_next_cell_instance_and_value() local
580 test_oid[0] = netif_to_num(netif); in ip_NetToMediaTable_get_next_cell_instance_and_value()
[all …]
A Dsnmp_mib2_interfaces.c141 u32_t test_oid[LWIP_ARRAYSIZE(interfaces_Table_oid_ranges)]; in interfaces_Table_get_next_cell_instance() local
142 test_oid[0] = netif_to_num(netif); in interfaces_Table_get_next_cell_instance()
145 snmp_next_oid_check(&state, test_oid, LWIP_ARRAYSIZE(interfaces_Table_oid_ranges), netif); in interfaces_Table_get_next_cell_instance()
/components/net/lwip/lwip-2.1.2/src/apps/snmp/
A 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()
395 u32_t test_oid[LWIP_ARRAYSIZE(result_temp)]; in tcp_ConnectionTable_get_next_cell_instance_and_value() local
404 snmp_next_oid_check(&state, test_oid, idx, pcb); in tcp_ConnectionTable_get_next_cell_instance_and_value()
486 u32_t test_oid[LWIP_ARRAYSIZE(result_temp)]; in tcp_ListenerTable_get_next_cell_instance_and_value() local
[all …]
A 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()
A 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 …]
A 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()
A 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()

Completed in 15 milliseconds