Lines Matching refs:state
99 u8_t state;
124 LWIP_ASSERT("netif->state != NULL", (netif->state != NULL));
128 priv = (struct slipif_priv *)netif->state;
213 LWIP_ASSERT("netif->state != NULL", (netif->state != NULL));
215 priv = (struct slipif_priv *)netif->state;
217 switch (priv->state) {
236 priv->state = SLIP_RECV_ESCAPE;
255 priv->state = SLIP_RECV_NORMAL;
259 } /* end switch (priv->state) */
334 struct slipif_priv *priv = (struct slipif_priv *)netif->state;
349 * the opened device in the state field of the netif.
356 * @note If netif->state is interpreted as an u8_t serial port number.
367 /* netif->state contains serial port number */
368 sio_num = LWIP_PTR_NUMERIC_CAST(u8_t, netif->state);
399 priv->state = SLIP_RECV_NORMAL;
406 netif->state = priv;
432 LWIP_ASSERT("netif->state != NULL", (netif->state != NULL));
434 priv = (struct slipif_priv *)netif->state;
455 LWIP_ASSERT("netif->state != NULL", (netif->state != NULL));
457 priv = (struct slipif_priv *)netif->state;
491 struct slipif_priv *priv = (struct slipif_priv *)netif->state;
531 LWIP_ASSERT("netif->state != NULL", (netif->state != NULL));
552 LWIP_ASSERT("netif->state != NULL", (netif->state != NULL));