mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-07-29 18:27:31 +02:00
feat(examples): Support simple PPP connect in multinet example
This commit is contained in:
18
examples/esp_netif/multiple_netifs/main/ppp_connect.h
Normal file
18
examples/esp_netif/multiple_netifs/main/ppp_connect.h
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2023 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Unlicense OR CC0-1.0
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
struct ppp_info_t {
|
||||
iface_info_t parent;
|
||||
void *context;
|
||||
bool stop_task;
|
||||
};
|
||||
|
||||
extern const esp_netif_driver_ifconfig_t *ppp_driver_cfg;
|
||||
|
||||
void ppp_task(void *args);
|
||||
|
||||
void ppp_destroy_context(struct ppp_info_t *ppp_info);
|
Reference in New Issue
Block a user