Home
last modified time | relevance | path

Searched refs:slip_ctx (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.6.0/components/esp_netif/lwip/
Desp_netif_lwip_slip.c58 lwip_slip_ctx_t *slip_ctx = calloc(1, sizeof(lwip_slip_ctx_t)); in esp_netif_new_slip() local
59 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() local
80 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 …]