| /lib/liblwip/src/netif/ppp/ |
| D | fsm.c | 106 f->state = LS_INITIAL; in fsm_init() 123 int oldState = f->state; in fsm_lowerup() 127 switch( f->state ) { in fsm_lowerup() 129 f->state = LS_CLOSED; in fsm_lowerup() 134 f->state = LS_STOPPED; in fsm_lowerup() 138 f->state = LS_REQSENT; in fsm_lowerup() 144 PROTO_NAME(f), f->state, ppperr_strerr[f->state])); in fsm_lowerup() 148 PROTO_NAME(f), oldState, ppperr_strerr[oldState], f->state, ppperr_strerr[f->state])); in fsm_lowerup() 160 int oldState = f->state; in fsm_lowerdown() 164 switch( f->state ) { in fsm_lowerdown() [all …]
|
| D | fsm.h | 81 int state; /* State */ member
|
| D | lcp.c | 334 if (f->state == LS_STOPPED && f->flags & (OPT_PASSIVE|OPT_SILENT)) { in lcp_close() 341 f->state = LS_CLOSED; in lcp_close() 417 if (f->state != LS_OPENED) { in lcp_extcode() 465 if( f->state != LS_OPENED ) { in lcp_rprotrej() 466 LCPDEBUG(LOG_INFO, ("Protocol-Reject discarded: LCP in state %d\n", f->state)); in lcp_rprotrej() 1049 if (f->state != LS_OPENED) { in lcp_nakci() 1204 if (f->state != LS_OPENED) { in lcp_rejci() 1939 if (f->state == LS_OPENED) { in LcpLinkFailure() 2022 if (f->state == LS_OPENED) { in LcpSendEchoRequest()
|
| /lib/libc/ |
| D | printf.c | 244 StrState *state = (StrState *)handle; in strputc() local 246 if ((state->maxlen != -1) && in strputc() 247 (state->cur - state->buf >= state->maxlen)) { in strputc() 248 state->cur[0] = '\0'; in strputc() 252 state->cur[0] = c; in strputc() 253 state->cur++; in strputc() 260 StrState state; in sprintf() local 262 state.buf = str; in sprintf() 263 state.cur = str; in sprintf() 264 state.maxlen = -1; in sprintf() [all …]
|
| /lib/liblwip/src/netif/ |
| D | slipif.c | 97 u8_t state; member 123 LWIP_ASSERT("netif->state != NULL", (netif->state != NULL)); in slipif_output() 129 priv = netif->state; in slipif_output() 176 LWIP_ASSERT("netif->state != NULL", (netif->state != NULL)); in slipif_rxbyte() 178 priv = netif->state; in slipif_rxbyte() 180 switch (priv->state) { in slipif_rxbyte() 199 priv->state = SLIP_RECV_ESCAPE; in slipif_rxbyte() 214 priv->state = SLIP_RECV_NORMAL; in slipif_rxbyte() 291 struct slipif_priv *priv = (struct slipif_priv *)netif->state; in slipif_loop_thread() 338 if (netif->state != NULL) { in slipif_init() [all …]
|
| D | etharp.c | 116 u8_t state; member 189 arp_table[i].state = ETHARP_STATE_EMPTY; in etharp_free_entry() 213 u8_t state = arp_table[i].state; in etharp_tmr() local 214 if (state != ETHARP_STATE_EMPTY in etharp_tmr() 216 && (state != ETHARP_STATE_STATIC) in etharp_tmr() 221 ((arp_table[i].state == ETHARP_STATE_PENDING) && in etharp_tmr() 225 arp_table[i].state >= ETHARP_STATE_STABLE ? "stable" : "pending", (u16_t)i)); in etharp_tmr() 229 else if (arp_table[i].state == ETHARP_STATE_STABLE_REREQUESTING) { in etharp_tmr() 232 arp_table[i].state = ETHARP_STATE_STABLE; in etharp_tmr() 236 if (arp_table[i].state == ETHARP_STATE_PENDING) { in etharp_tmr() [all …]
|
| D | ethernetif.c | 86 struct ethernetif *ethernetif = netif->state; 125 struct ethernetif *ethernetif = netif->state; 163 struct ethernetif *ethernetif = netif->state; 229 ethernetif = netif->state; 299 netif->state = ethernetif;
|
| /sys/amd64/ |
| D | mp.c | 42 int state; member 96 cpus[CPU()].state = CPUSTATE_BOOTED; in MP_Init() 100 cpus[i].state = CPUSTATE_NOT_PRESENT; in MP_Init() 122 cpus[CPU()].state = CPUSTATE_BOOTED; in MP_InitAP() 127 MP_SetState(int state) in MP_SetState() argument 129 ASSERT(state > 0 && state <= CPUSTATE_MAX); in MP_SetState() 130 cpus[CPU()].state = state; in MP_SetState() 238 if (cpus[c].state != CPUSTATE_NOT_PRESENT) { in Debug_CPUS() 239 kprintf("CPU %d: %s\n", c, CPUStateToString[cpus[c].state]); in Debug_CPUS()
|
| /lib/liblwip/src/core/ |
| D | tcp.c | 174 if (rst_on_unacked_data && ((pcb->state == ESTABLISHED) || (pcb->state == CLOSE_WAIT))) { in tcp_close_shutdown() 187 if (pcb->state == ESTABLISHED) { in tcp_close_shutdown() 189 pcb->state = TIME_WAIT; in tcp_close_shutdown() 199 switch (pcb->state) { in tcp_close_shutdown() 232 pcb->state = FIN_WAIT_1; in tcp_close_shutdown() 239 pcb->state = FIN_WAIT_1; in tcp_close_shutdown() 246 pcb->state = LAST_ACK; in tcp_close_shutdown() 289 tcp_debug_print_state(pcb->state); in tcp_close() 292 if (pcb->state != LISTEN) { in tcp_close() 315 if (pcb->state == LISTEN) { in tcp_shutdown() [all …]
|
| D | dns.c | 169 u8_t state; member 469 if ((dns_table[i].state == DNS_STATE_DONE) && in dns_lookup() 643 switch(pEntry->state) { in dns_check_entry() 647 pEntry->state = DNS_STATE_ASKING; in dns_check_entry() 676 pEntry->state = DNS_STATE_UNUSED; in dns_check_entry() 700 pEntry->state = DNS_STATE_UNUSED; in dns_check_entry() 768 if(pEntry->state == DNS_STATE_ASKING) { in dns_recv() 770 pEntry->state = DNS_STATE_DONE; in dns_recv() 842 pEntry->state = DNS_STATE_UNUSED; in dns_recv() 872 if (pEntry->state == DNS_STATE_UNUSED) in dns_enqueue() [all …]
|
| D | tcp_in.c | 171 LWIP_ASSERT("tcp_input: active pcb->state != CLOSED", pcb->state != CLOSED); in tcp_input() 172 LWIP_ASSERT("tcp_input: active pcb->state != TIME-WAIT", pcb->state != TIME_WAIT); in tcp_input() 173 LWIP_ASSERT("tcp_input: active pcb->state != LISTEN", pcb->state != LISTEN); in tcp_input() 198 LWIP_ASSERT("tcp_input: TIME-WAIT pcb->state == TIME-WAIT", pcb->state == TIME_WAIT); in tcp_input() 275 tcp_debug_print_state(pcb->state); in tcp_input() 386 tcp_debug_print_state(pcb->state); in tcp_input() 483 npcb->state = SYN_RCVD; in tcp_listen_input() 586 if (pcb->state == SYN_SENT) { in tcp_process() 599 LWIP_ASSERT("tcp_input: pcb->state != CLOSED", pcb->state != CLOSED); in tcp_process() 612 if ((flags & TCP_SYN) && (pcb->state != SYN_SENT && pcb->state != SYN_RCVD)) { in tcp_process() [all …]
|
| D | dhcp.c | 407 if ((dhcp->state == DHCP_BACKING_OFF) || (dhcp->state == DHCP_SELECTING)) { in dhcp_timeout() 411 } else if (dhcp->state == DHCP_REQUESTING) { in dhcp_timeout() 422 } else if (dhcp->state == DHCP_CHECKING) { in dhcp_timeout() 435 else if (dhcp->state == DHCP_RENEWING) { in dhcp_timeout() 441 } else if (dhcp->state == DHCP_REBINDING) { in dhcp_timeout() 450 } else if (dhcp->state == DHCP_REBOOTING) { in dhcp_timeout() 469 if ((dhcp->state == DHCP_REQUESTING) || (dhcp->state == DHCP_BOUND) || in dhcp_t1_timeout() 470 (dhcp->state == DHCP_RENEWING)) { in dhcp_t1_timeout() 491 if ((dhcp->state == DHCP_REQUESTING) || (dhcp->state == DHCP_BOUND) || in dhcp_t2_timeout() 492 (dhcp->state == DHCP_RENEWING)) { in dhcp_t2_timeout() [all …]
|
| D | netif.c | 140 ip_addr_t *gw, void *state, netif_init_fn init, netif_input_fn input) in netif_add() argument 173 netif->state = state; in netif_add()
|
| D | tcp_out.c | 297 if ((pcb->state != ESTABLISHED) && in tcp_write_checks() 298 (pcb->state != CLOSE_WAIT) && in tcp_write_checks() 299 (pcb->state != SYN_SENT) && in tcp_write_checks() 300 (pcb->state != SYN_RCVD)) { in tcp_write_checks() 908 pcb->state != LISTEN); in tcp_output() 988 if (pcb->state != SYN_SENT) { in tcp_output()
|
| /lib/liblwip/src/core/snmp/ |
| D | msg_in.c | 85 msg_ps->state = SNMP_MSG_EMPTY; in snmp_init() 132 msg_ps->state = SNMP_MSG_EMPTY; in snmp_error_response() 152 msg_ps->state = SNMP_MSG_EMPTY; in snmp_ok_response() 164 …LWIP_DEBUGF(SNMP_MSG_DEBUG, ("snmp_msg_get_event: msg_ps->state==%"U16_F"\n",(u16_t)msg_ps->state)… in snmp_msg_get_event() 166 if (msg_ps->state == SNMP_MSG_EXTERNAL_GET_OBJDEF) in snmp_msg_get_event() 180 msg_ps->state = SNMP_MSG_EXTERNAL_GET_VALUE; in snmp_msg_get_event() 190 else if (msg_ps->state == SNMP_MSG_EXTERNAL_GET_VALUE) in snmp_msg_get_event() 224 msg_ps->state = SNMP_MSG_SEARCH_OBJ; in snmp_msg_get_event() 244 msg_ps->state = SNMP_MSG_SEARCH_OBJ; in snmp_msg_get_event() 256 while ((msg_ps->state == SNMP_MSG_SEARCH_OBJ) && in snmp_msg_get_event() [all …]
|
| /lib/liblwip/src/api/ |
| D | api_msg.c | 284 if (conn->state == NETCONN_WRITE) { 286 } else if (conn->state == NETCONN_CLOSE) { 320 if (conn->state == NETCONN_WRITE) { 322 } else if (conn->state == NETCONN_CLOSE) { 364 old_state = conn->state; 365 conn->state = NETCONN_NONE; 437 …DEBUGF(API_MSG_DEBUG, ("accept_function: newpcb->tate: %s\n", tcp_debug_state_str(newpcb->state))); 623 conn->state = NETCONN_NONE; 754 LWIP_ASSERT("conn must be in state NETCONN_CLOSE", (conn->state == NETCONN_CLOSE)); 768 if (conn->pcb.tcp->state == LISTEN) { [all …]
|
| D | netifapi.c | 51 msg->msg.add.state, in do_netifapi_netif_add() 102 void *state, in netifapi_netif_add() argument 112 msg.msg.msg.add.state = state; in netifapi_netif_add()
|
| /lib/liblwip/src/core/ipv4/ |
| D | autoip.c | 319 autoip->state = AUTOIP_STATE_OFF; in autoip_start() 337 autoip->state = AUTOIP_STATE_PROBING; in autoip_start_probing() 369 if (netif->autoip && netif->autoip->state != AUTOIP_STATE_OFF) { in autoip_network_changed() 383 netif->autoip->state = AUTOIP_STATE_OFF; in autoip_stop() 405 (u16_t)(netif->autoip->state), netif->autoip->ttw)); in autoip_tmr() 407 switch(netif->autoip->state) { in autoip_tmr() 413 netif->autoip->state = AUTOIP_STATE_ANNOUNCING; in autoip_tmr() 454 netif->autoip->state = AUTOIP_STATE_BOUND; in autoip_tmr() 481 if ((netif->autoip != NULL) && (netif->autoip->state != AUTOIP_STATE_OFF)) { in autoip_arp_reply() 497 if ((netif->autoip->state == AUTOIP_STATE_PROBING) || in autoip_arp_reply() [all …]
|
| /lib/liblwip/test/unit/tcp/ |
| D | tcp_helper.c | 139 tcp_set_state(struct tcp_pcb* pcb, enum tcp_state state, ip_addr_t* local_ip, in tcp_set_state() argument 144 pcb->state = state; in tcp_set_state() 145 if (state == ESTABLISHED) { in tcp_set_state() 151 } else if(state == LISTEN) { in tcp_set_state() 155 } else if(state == TIME_WAIT) { in tcp_set_state() 257 struct test_tcp_txcounters *txcounters = (struct test_tcp_txcounters*)netif->state; in test_tcp_netif_output() 283 netif->state = txcounters; in test_tcp_init_netif()
|
| D | tcp_helper.h | 39 void tcp_set_state(struct tcp_pcb* pcb, enum tcp_state state, ip_addr_t* local_ip,
|
| /lib/liblwip/src/include/lwip/ |
| D | netifapi.h | 58 void *state; member 80 void *state,
|
| D | tcp.h | 161 enum tcp_state state; /* TCP state */ \ 334 LWIP_ASSERT("pcb->state == LISTEN (called for wrong pcb?)", pcb->state == LISTEN); \ 338 (pcb)->state == LISTEN)
|
| D | netif.h | 172 void *state; member 260 ip_addr_t *gw, void *state, netif_init_fn init, netif_input_fn input);
|
| /sys/amd64/include/ |
| D | mp.h | 12 void MP_SetState(int state);
|
| /lib/liblwip/src/include/ipv4/lwip/ |
| D | autoip.h | 84 u8_t state; /* current AutoIP state machine state */ member
|