Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
#include <ppp.h>
Generic PPP Finite State Machine
uint8_t ppp_fsm::ack_received |
Have received valid Ack, Nack or Reject to a Request
struct { ... } ppp_fsm::cb |
Acknowledge Configuration Information
int(* ppp_fsm::config_info_len) (struct ppp_fsm *fsm) |
Length of Configuration Information
int(* ppp_fsm::config_info_nack) (struct ppp_fsm *fsm, struct net_pkt *pkt, uint16_t length, bool rejected) |
Negative Acknowledge Configuration Information
Reject Configuration Information
int(* ppp_fsm::config_info_req) (struct ppp_fsm *fsm, struct net_pkt *pkt, uint16_t length, struct net_pkt *ret_pkt) |
Request peer's Configuration Information
size_t ppp_fsm::count |
Number of negotiated options
struct ppp_my_option_data* ppp_fsm::data |
Options negotiation data
uint32_t ppp_fsm::flags |
Option bits
uint8_t ppp_fsm::id |
Current id
const struct ppp_my_option_info* ppp_fsm::info |
Options information
struct { ... } ppp_fsm::my_options |
uint32_t ppp_fsm::nack_loops |
Number of NACK loops since last ACK
const char* ppp_fsm::name |
Protocol/layer name of this FSM (for debugging)
enum net_verdict(* ppp_fsm::proto_extension) (struct ppp_fsm *fsm, enum ppp_packet_type code, uint8_t id, struct net_pkt *pkt) |
Any code that is not understood by PPP is passed to this FSM for further processing.
uint16_t ppp_fsm::protocol |
PPP protocol number for this FSM
uint32_t ppp_fsm::recv_nack_loops |
Number of NACKs received
uint8_t ppp_fsm::req_id |
Current request id
uint32_t ppp_fsm::retransmits |
Number of re-transmissions left
enum ppp_state ppp_fsm::state |
Current state of PPP link
char ppp_fsm::terminate_reason[32] |
Reason for closing protocol
struct k_work_delayable ppp_fsm::timer |
Timeout timer