Searched refs:slip_ctx (Results 1 – 1 of 1) sorted by relevance
58 lwip_slip_ctx_t *slip_ctx = calloc(1, sizeof(lwip_slip_ctx_t)); in esp_netif_new_slip() local59 if (slip_ctx == NULL) { in esp_netif_new_slip()64 slip_ctx->base.is_point2point = true; in esp_netif_new_slip()65 slip_ctx->base.netif_type = SLIP_LWIP_NETIF; in esp_netif_new_slip()69 …SP_LOGI(TAG, "%s: Created SLIP interface (netif %p, slip_ctx: %p)", __func__, esp_netif, slip_ctx); in esp_netif_new_slip()71 return (netif_related_data_t *)slip_ctx; in esp_netif_new_slip()79 lwip_slip_ctx_t *slip_ctx = (lwip_slip_ctx_t *)esp_netif->related_data; in esp_netif_stop_slip() local80 assert(slip_ctx->base.netif_type == SLIP_LWIP_NETIF); in esp_netif_stop_slip()82 ESP_LOGI(TAG, "%s: Stopped SLIP connection: %p", __func__, slip_ctx); in esp_netif_stop_slip()95 lwip_slip_ctx_t *slip_ctx = (lwip_slip_ctx_t *)esp_netif->related_data; in esp_netif_start_slip() local[all …]