Lines Matching defs:state

100         if ((pcb->state == ESTABLISHED) ||
101 (pcb->state == CLOSE_WAIT)) {
172 value->u32 = pcb->state + 1;
181 if (pcb->state == LISTEN) {
188 if (pcb->state == LISTEN) {
232 /* PCBs in state LISTEN are not connected and have no remote_ip or remote_port */
233 if (pcb->state == LISTEN) {
260 struct snmp_next_oid_state state;
264 snmp_next_oid_init(&state, row_oid->id, row_oid->len, result_temp, LWIP_ARRAYSIZE(tcp_ConnTable_oid_ranges));
276 /* PCBs in state LISTEN are not connected and have no remote_ip or remote_port */
277 if (pcb->state == LISTEN) {
289 snmp_next_oid_check(&state, test_oid, LWIP_ARRAYSIZE(tcp_ConnTable_oid_ranges), pcb);
297 if (state.status == SNMP_NEXT_OID_STATUS_SUCCESS) {
298 snmp_oid_assign(row_oid, state.next_oid, state.next_oid_len);
300 return tcp_ConnTable_get_cell_value_core((struct tcp_pcb *)state.reference, column, value, value_len);
317 value->u32 = pcb->state + 1;
377 struct snmp_next_oid_state state;
387 snmp_next_oid_init(&state, row_oid->id, row_oid->len, result_temp, LWIP_ARRAYSIZE(result_temp));
404 snmp_next_oid_check(&state, test_oid, idx, pcb);
411 if (state.status == SNMP_NEXT_OID_STATUS_SUCCESS) {
412 snmp_oid_assign(row_oid, state.next_oid, state.next_oid_len);
414 return tcp_ConnectionTable_get_cell_value_core(column, (struct tcp_pcb *)state.reference, value);
473 struct snmp_next_oid_state state;
480 snmp_next_oid_init(&state, row_oid->id, row_oid->len, result_temp, LWIP_ARRAYSIZE(result_temp));
492 snmp_next_oid_check(&state, test_oid, idx, NULL);
498 if (state.status == SNMP_NEXT_OID_STATUS_SUCCESS) {
499 snmp_oid_assign(row_oid, state.next_oid, state.next_oid_len);