Home
last modified time | relevance | path

Searched refs:row_oid (Results 1 – 7 of 7) sorted by relevance

/third_party/lwip/src/apps/snmp/
Dsnmp_snmpv2_usm.c84 static snmp_err_t usmusertable_get_instance(const u32_t *column, const u32_t *row_oid, u8_t row_oid… in usmusertable_get_instance() argument
101 engineid_len = (u8_t)row_oid[0]; in usmusertable_get_instance()
115 …if (!snmp_oid_in_range(&row_oid[engineid_start], engineid_len, usmUserTable_oid_ranges, engineid_l… in usmusertable_get_instance()
122 if (snmp_oid_equal(&row_oid[engineid_start], engineid_len, engineid_oid, engineid_len)) { in usmusertable_get_instance()
126 name_len = (u8_t)row_oid[engineid_start + engineid_len]; in usmusertable_get_instance()
140 if (!snmp_oid_in_range(&row_oid[name_start], name_len, usmUserTable_oid_ranges, name_len)) { in usmusertable_get_instance()
146 snmp_oid_to_name(username, &row_oid[name_start], name_len); in usmusertable_get_instance()
170 static snmp_err_t usmusertable_get_next_instance(const u32_t *column, struct snmp_obj_id *row_oid, … in usmusertable_get_next_instance() argument
193 if (row_oid->len > 0) { in usmusertable_get_next_instance()
194 engineid_len = (u8_t)row_oid->id[0]; in usmusertable_get_next_instance()
[all …]
Dsnmp_mib2_udp.c118 udp_endpointTable_get_cell_value(const u32_t *column, const u32_t *row_oid, u8_t row_oid_len, union… in udp_endpointTable_get_cell_value() argument
128 idx += snmp_oid_to_ip_port(&row_oid[idx], row_oid_len - idx, &local_ip, &local_port); in udp_endpointTable_get_cell_value()
134 idx += snmp_oid_to_ip_port(&row_oid[idx], row_oid_len - idx, &remote_ip, &remote_port); in udp_endpointTable_get_cell_value()
143 if (row_oid[idx] != 0) { in udp_endpointTable_get_cell_value()
165 udp_endpointTable_get_next_cell_instance_and_value(const u32_t *column, struct snmp_obj_id *row_oid in udp_endpointTable_get_next_cell_instance_and_value() argument
178 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()
203 snmp_oid_assign(row_oid, state.next_oid, state.next_oid_len); in udp_endpointTable_get_next_cell_instance_and_value()
247 udp_Table_get_cell_value(const u32_t *column, const u32_t *row_oid, u8_t row_oid_len, union snmp_va… in udp_Table_get_cell_value() argument
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()
259 snmp_oid_to_ip4(&row_oid[0], &ip); /* we know it succeeds because of oid_in_range check above */ in udp_Table_get_cell_value()
[all …]
Dsnmp_mib2_tcp.c203 tcp_ConnTable_get_cell_value(const u32_t *column, const u32_t *row_oid, u8_t row_oid_len, union snm… in tcp_ConnTable_get_cell_value() argument
213 …if (!snmp_oid_in_range(row_oid, row_oid_len, tcp_ConnTable_oid_ranges, LWIP_ARRAYSIZE(tcp_ConnTabl… in tcp_ConnTable_get_cell_value()
218 …snmp_oid_to_ip4(&row_oid[0], &local_ip); /* we know it succeeds because of oid_in_range check abov… in tcp_ConnTable_get_cell_value()
219 local_port = (u16_t)row_oid[4]; in tcp_ConnTable_get_cell_value()
220 …snmp_oid_to_ip4(&row_oid[5], &remote_ip); /* we know it succeeds because of oid_in_range check abo… in tcp_ConnTable_get_cell_value()
221 remote_port = (u16_t)row_oid[9]; in tcp_ConnTable_get_cell_value()
256 tcp_ConnTable_get_next_cell_instance_and_value(const u32_t *column, struct snmp_obj_id *row_oid, un… in tcp_ConnTable_get_next_cell_instance_and_value() argument
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()
298 snmp_oid_assign(row_oid, state.next_oid, state.next_oid_len); in tcp_ConnTable_get_next_cell_instance_and_value()
330 tcp_ConnectionTable_get_cell_value(const u32_t *column, const u32_t *row_oid, u8_t row_oid_len, uni… in tcp_ConnectionTable_get_cell_value() argument
[all …]
Dsnmp_table.c92 struct snmp_obj_id row_oid; in snmp_table_get_next_instance() local
107 snmp_oid_assign(&row_oid, &(instance->instance_oid.id[2]), instance->instance_oid.len - 2); in snmp_table_get_next_instance()
109 row_oid.len = 0; in snmp_table_get_next_instance()
142 &row_oid, in snmp_table_get_next_instance()
150row_oid.len = 0; /* reset row_oid because we switch to next column and start with the first entry … in snmp_table_get_next_instance()
158 snmp_oid_append(&instance->instance_oid, row_oid.id, row_oid.len); in snmp_table_get_next_instance()
231 struct snmp_obj_id row_oid; in snmp_table_simple_get_next_instance() local
246 snmp_oid_assign(&row_oid, &(instance->instance_oid.id[2]), instance->instance_oid.len - 2); in snmp_table_simple_get_next_instance()
248 row_oid.len = 0; in snmp_table_simple_get_next_instance()
275 &row_oid, in snmp_table_simple_get_next_instance()
[all …]
Dsnmp_mib2_ip.c251 ip_AddrTable_get_cell_value(const u32_t *column, const u32_t *row_oid, u8_t row_oid_len, union snmp… in ip_AddrTable_get_cell_value() argument
257 …if (!snmp_oid_in_range(row_oid, row_oid_len, ip_AddrTable_oid_ranges, LWIP_ARRAYSIZE(ip_AddrTable_… in ip_AddrTable_get_cell_value()
262 snmp_oid_to_ip4(&row_oid[0], &ip); /* we know it succeeds because of oid_in_range check above */ in ip_AddrTable_get_cell_value()
277 ip_AddrTable_get_next_cell_instance_and_value(const u32_t *column, struct snmp_obj_id *row_oid, uni… in ip_AddrTable_get_next_cell_instance_and_value() argument
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()
297 snmp_oid_assign(row_oid, state.next_oid, state.next_oid_len); in ip_AddrTable_get_next_cell_instance_and_value()
396 ip_RouteTable_get_cell_value(const u32_t *column, const u32_t *row_oid, u8_t row_oid_len, union snm… in ip_RouteTable_get_cell_value() argument
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()
407 …snmp_oid_to_ip4(&row_oid[0], &test_ip); /* we know it succeeds because of oid_in_range check above… in ip_RouteTable_get_cell_value()
431 ip_RouteTable_get_next_cell_instance_and_value(const u32_t *column, struct snmp_obj_id *row_oid, un… in ip_RouteTable_get_next_cell_instance_and_value() argument
[all …]
Dsnmp_mib2_interfaces.c95 interfaces_Table_get_cell_instance(const u32_t *column, const u32_t *row_oid, u8_t row_oid_len, str… in interfaces_Table_get_cell_instance() argument
103 …if (!snmp_oid_in_range(row_oid, row_oid_len, interfaces_Table_oid_ranges, LWIP_ARRAYSIZE(interface… in interfaces_Table_get_cell_instance()
108 ifIndex = row_oid[0]; in interfaces_Table_get_cell_instance()
124 interfaces_Table_get_next_cell_instance(const u32_t *column, struct snmp_obj_id *row_oid, struct sn… in interfaces_Table_get_next_cell_instance() argument
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()
146 snmp_oid_assign(row_oid, state.next_oid, state.next_oid_len); in interfaces_Table_get_next_cell_instance()
/third_party/lwip/src/include/lwip/apps/
Dsnmp_table.h65 …snmp_err_t (*get_cell_instance)(const u32_t* column, const u32_t* row_oid, u8_t row_oid_len, struc…
66 …snmp_err_t (*get_next_cell_instance)(const u32_t* column, struct snmp_obj_id* row_oid, struct snmp…
111 …snmp_err_t (*get_cell_value)(const u32_t* column, const u32_t* row_oid, u8_t row_oid_len, union sn…
112 …snmp_err_t (*get_next_cell_instance_and_value)(const u32_t* column, struct snmp_obj_id* row_oid, u…