Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
PPP L2 context specific to certain network interface. More...
#include <ppp.h>
Data Fields | ||
atomic_t | flags | |
Flags representing PPP state, which are accessed from multiple threads. | ||
struct k_work_delayable | startup | |
PPP startup worker. | ||
struct { | ||
struct ppp_fsm fsm | ||
Finite state machine for LCP. More... | ||
struct lcp_options my_options | ||
Options that we want to request. More... | ||
struct lcp_options peer_options | ||
Options that peer want to request. More... | ||
uint32_t magic | ||
Magic-Number value. More... | ||
} | lcp | |
LCP options. | ||
struct net_if * | iface | |
Network interface related to this PPP connection. | ||
struct net_mgmt_event_callback | mgmt_evt_cb | |
Network management callback structure. | ||
enum ppp_phase | phase | |
Current phase of PPP link. | ||
struct k_sem | wait_ppp_link_terminated | |
Signal when PPP link is terminated. | ||
struct k_sem | wait_ppp_link_down | |
Signal when PPP link is down. | ||
enum net_l2_flags | ppp_l2_flags | |
This tells what features the PPP supports. | ||
int | network_protos_open | |
This tells how many network protocols are open. | ||
int | network_protos_up | |
This tells how many network protocols are up. | ||
uint16_t | is_ready_to_serve: 1 | |
Is PPP ready to receive packets. | ||
uint16_t | is_enabled: 1 | |
Is PPP L2 enabled or not. | ||
uint16_t | is_enable_done: 1 | |
PPP enable pending. | ||
uint16_t | is_ipcp_up: 1 | |
IPCP status (up / down) | ||
uint16_t | is_ipcp_open: 1 | |
IPCP open status (open / closed) | ||
uint16_t | is_ipv6cp_up: 1 | |
IPV6CP status (up / down) | ||
uint16_t | is_ipv6cp_open: 1 | |
IPV6CP open status (open / closed) | ||
uint16_t | is_pap_up: 1 | |
PAP status (up / down) | ||
uint16_t | is_pap_open: 1 | |
PAP open status (open / closed) | ||
PPP L2 context specific to certain network interface.
atomic_t ppp_context::flags |
Flags representing PPP state, which are accessed from multiple threads.
struct ppp_fsm ppp_context::fsm |
Finite state machine for LCP.
struct net_if* ppp_context::iface |
Network interface related to this PPP connection.
uint16_t ppp_context::is_enable_done |
PPP enable pending.
uint16_t ppp_context::is_enabled |
Is PPP L2 enabled or not.
uint16_t ppp_context::is_ipcp_open |
IPCP open status (open / closed)
uint16_t ppp_context::is_ipcp_up |
IPCP status (up / down)
uint16_t ppp_context::is_ipv6cp_open |
IPV6CP open status (open / closed)
uint16_t ppp_context::is_ipv6cp_up |
IPV6CP status (up / down)
uint16_t ppp_context::is_pap_open |
PAP open status (open / closed)
uint16_t ppp_context::is_pap_up |
PAP status (up / down)
uint16_t ppp_context::is_ready_to_serve |
Is PPP ready to receive packets.
struct { ... } ppp_context::lcp |
LCP options.
uint32_t ppp_context::magic |
Magic-Number value.
struct net_mgmt_event_callback ppp_context::mgmt_evt_cb |
Network management callback structure.
struct lcp_options ppp_context::my_options |
Options that we want to request.
int ppp_context::network_protos_open |
This tells how many network protocols are open.
int ppp_context::network_protos_up |
This tells how many network protocols are up.
struct lcp_options ppp_context::peer_options |
Options that peer want to request.
enum ppp_phase ppp_context::phase |
Current phase of PPP link.
enum net_l2_flags ppp_context::ppp_l2_flags |
This tells what features the PPP supports.
struct k_work_delayable ppp_context::startup |
PPP startup worker.
struct k_sem ppp_context::wait_ppp_link_down |
Signal when PPP link is down.
struct k_sem ppp_context::wait_ppp_link_terminated |
Signal when PPP link is terminated.