Lines Matching refs:value
62 tcp_get_value(struct snmp_node_instance *instance, void *value)
64 u32_t *uint_ptr = (u32_t *)value;
65 s32_t *sint_ptr = (s32_t *)value;
72 /* @todo not the actual value, a guess,
77 /* @todo not the actual value, a guess,
128 *((u64_t *)value) = val64;
134 *((u64_t *)value) = val64;
150 /* list of allowed value ranges for incoming OID */
165 tcp_ConnTable_get_cell_value_core(struct tcp_pcb *pcb, const u32_t *column, union snmp_variant_value *value, u32_t *value_len)
169 /* value */
172 value->u32 = pcb->state + 1;
175 value->u32 = ip_2_ip4(&pcb->local_ip)->addr;
178 value->u32 = pcb->local_port;
182 value->u32 = IP4_ADDR_ANY4->addr;
184 value->u32 = ip_2_ip4(&pcb->remote_ip)->addr;
189 value->u32 = 0;
191 value->u32 = pcb->remote_port;
203 tcp_ConnTable_get_cell_value(const u32_t *column, const u32_t *row_oid, u8_t row_oid_len, union snmp_variant_value *value, u32_t *value_len)
236 return tcp_ConnTable_get_cell_value_core(pcb, column, value, value_len);
242 return tcp_ConnTable_get_cell_value_core(pcb, column, value, value_len);
256 tcp_ConnTable_get_next_cell_instance_and_value(const u32_t *column, struct snmp_obj_id *row_oid, union snmp_variant_value *value, u32_t *value_len)
300 return tcp_ConnTable_get_cell_value_core((struct tcp_pcb *)state.reference, column, value, value_len);
312 tcp_ConnectionTable_get_cell_value_core(const u32_t *column, struct tcp_pcb *pcb, union snmp_variant_value *value)
317 value->u32 = pcb->state + 1;
320 value->u32 = 0; /* not supported */
330 tcp_ConnectionTable_get_cell_value(const u32_t *column, const u32_t *row_oid, u8_t row_oid_len, union snmp_variant_value *value, u32_t *value_len)
363 return tcp_ConnectionTable_get_cell_value_core(column, pcb, value);
374 tcp_ConnectionTable_get_next_cell_instance_and_value(const u32_t *column, struct snmp_obj_id *row_oid, union snmp_variant_value *value, u32_t *value_len)
414 return tcp_ConnectionTable_get_cell_value_core(column, (struct tcp_pcb *)state.reference, value);
424 tcp_ListenerTable_get_cell_value_core(const u32_t *column, union snmp_variant_value *value)
429 value->u32 = 0; /* not supported */
439 tcp_ListenerTable_get_cell_value(const u32_t *column, const u32_t *row_oid, u8_t row_oid_len, union snmp_variant_value *value, u32_t *value_len)
460 return tcp_ListenerTable_get_cell_value_core(column, value);
470 tcp_ListenerTable_get_next_cell_instance_and_value(const u32_t *column, struct snmp_obj_id *row_oid, union snmp_variant_value *value, u32_t *value_len)
501 return tcp_ListenerTable_get_cell_value_core(column, value);