/Zephyr-latest/subsys/net/l2/ppp/ |
D | ppp_internal.h | 41 void (*init)(struct ppp_context *ctx); 44 enum net_verdict (*handler)(struct ppp_context *ctx, 49 void (*lower_up)(struct ppp_context *ctx); 52 void (*lower_down)(struct ppp_context *ctx); 55 void (*open)(struct ppp_context *ctx); 58 void (*close)(struct ppp_context *ctx, const uint8_t *reason); 114 void ppp_change_phase(struct ppp_context *ctx, enum ppp_phase new_phase); 117 void ppp_change_phase_debug(struct ppp_context *ctx, 131 struct ppp_context *ppp_fsm_ctx(struct ppp_fsm *fsm); 167 void ppp_link_established(struct ppp_context *ctx, struct ppp_fsm *fsm); [all …]
|
D | pap.c | 14 static enum net_verdict pap_handle(struct ppp_context *ctx, in pap_handle() 53 static void pap_lower_down(struct ppp_context *ctx) in pap_lower_down() 58 static void pap_lower_up(struct ppp_context *ctx) in pap_lower_up() 63 static void pap_open(struct ppp_context *ctx) in pap_open() 68 static void pap_close(struct ppp_context *ctx, const uint8_t *reason) in pap_close() 75 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in pap_up() 92 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in pap_down() 104 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in pap_finished() 119 static void pap_init(struct ppp_context *ctx) in pap_init()
|
D | ipcp.c | 21 static enum net_verdict ipcp_handle(struct ppp_context *ctx, in ipcp_handle() 33 static int ipcp_add_address(struct ppp_context *ctx, struct net_pkt *pkt, in ipcp_add_address() 40 static int ipcp_add_ip_address(struct ppp_context *ctx, struct net_pkt *pkt) in ipcp_add_ip_address() 45 static int ipcp_add_dns1(struct ppp_context *ctx, struct net_pkt *pkt) in ipcp_add_dns1() 50 static int ipcp_add_dns2(struct ppp_context *ctx, struct net_pkt *pkt) in ipcp_add_dns2() 77 static int ipcp_ack_ip_address(struct ppp_context *ctx, struct net_pkt *pkt, in ipcp_ack_ip_address() 84 static int ipcp_ack_dns1(struct ppp_context *ctx, struct net_pkt *pkt, in ipcp_ack_dns1() 91 static int ipcp_ack_dns2(struct ppp_context *ctx, struct net_pkt *pkt, in ipcp_ack_dns2() 108 static int ipcp_nak_ip_address(struct ppp_context *ctx, struct net_pkt *pkt, in ipcp_nak_ip_address() 115 static int ipcp_nak_dns1(struct ppp_context *ctx, struct net_pkt *pkt, in ipcp_nak_dns1() [all …]
|
D | lcp.c | 53 static enum net_verdict lcp_handle(struct ppp_context *ctx, in lcp_handle() 116 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in lcp_config_info_req() 143 static void lcp_lower_down(struct ppp_context *ctx) in lcp_lower_down() 148 static void lcp_lower_up(struct ppp_context *ctx) in lcp_lower_up() 158 static void lcp_open(struct ppp_context *ctx) in lcp_open() 163 static void lcp_close(struct ppp_context *ctx, const uint8_t *reason) in lcp_close() 174 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in lcp_down() 189 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in lcp_up() 199 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in lcp_starting() 207 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in lcp_finished() [all …]
|
D | link.c | 19 static void lcp_up(struct ppp_context *ctx) in lcp_up() 32 static void do_network(struct ppp_context *ctx) in do_network() 70 static void do_auth(struct ppp_context *ctx) in do_auth() 97 void ppp_link_established(struct ppp_context *ctx, struct ppp_fsm *fsm) in ppp_link_established() 108 void ppp_link_authenticated(struct ppp_context *ctx) in ppp_link_authenticated() 115 void ppp_link_terminated(struct ppp_context *ctx) in ppp_link_terminated() 130 void ppp_link_down(struct ppp_context *ctx) in ppp_link_down() 143 void ppp_link_needed(struct ppp_context *ctx) in ppp_link_needed()
|
D | ipv6cp.c | 20 static enum net_verdict ipv6cp_handle(struct ppp_context *ctx, in ipv6cp_handle() 30 static int ipv6cp_add_iid(struct ppp_context *ctx, struct net_pkt *pkt) in ipv6cp_add_iid() 51 static int ipv6cp_ack_iid(struct ppp_context *ctx, struct net_pkt *pkt, in ipv6cp_ack_iid() 129 struct ppp_context *ctx = in ipv6cp_config_info_req() 130 CONTAINER_OF(fsm, struct ppp_context, ipv6cp.fsm); in ipv6cp_config_info_req() 173 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in ipv6cp_config_info_ack() 189 static void ipv6cp_lower_down(struct ppp_context *ctx) in ipv6cp_lower_down() 194 static void ipv6cp_lower_up(struct ppp_context *ctx) in ipv6cp_lower_up() 199 static void ipv6cp_open(struct ppp_context *ctx) in ipv6cp_open() 204 static void ipv6cp_close(struct ppp_context *ctx, const uint8_t *reason) in ipv6cp_close() [all …]
|
D | network.c | 19 void ppp_network_up(struct ppp_context *ctx, int proto) in ppp_network_up() 31 void ppp_network_down(struct ppp_context *ctx, int proto) in ppp_network_down() 44 void ppp_network_done(struct ppp_context *ctx, int proto) in ppp_network_done() 56 void ppp_network_all_down(struct ppp_context *ctx) in ppp_network_all_down()
|
D | ppp_l2.c | 74 struct ppp_context *ctx = net_if_l2_data(iface); in process_ppp_msg() 169 struct ppp_context *ctx = net_if_l2_data(iface); in ppp_send() 195 struct ppp_context *ctx = net_if_l2_data(iface); in ppp_flags() 200 static void ppp_open_async(struct ppp_context *ctx) in ppp_open_async() 222 static int ppp_lcp_close(struct ppp_context *ctx) in ppp_lcp_close() 239 static void ppp_lcp_lower_down_async(struct ppp_context *ctx) in ppp_lcp_lower_down_async() 252 static int ppp_lcp_lower_down(struct ppp_context *ctx) in ppp_lcp_lower_down() 271 struct ppp_context *ctx = net_if_l2_data(iface); in ppp_down() 295 struct ppp_context *ctx = net_if_l2_data(iface); in ppp_enable() 319 static int get_ppp_context(int idx, struct ppp_context **ctx, in get_ppp_context() [all …]
|
D | options.c | 217 struct ppp_context *ctx = ppp_fsm_ctx(fsm); in ppp_my_options_add() 257 typedef int (*ppp_my_option_handle_t)(struct ppp_context *ctx, 288 struct ppp_context *ctx = ppp_fsm_ctx(d->fsm); in ppp_my_option_parse() 315 static int ppp_my_option_parse_conf_ack(struct ppp_context *ctx, in ppp_my_option_parse_conf_ack() 337 static int ppp_my_option_parse_conf_nak(struct ppp_context *ctx, in ppp_my_option_parse_conf_nak() 353 static int ppp_my_option_parse_conf_rej(struct ppp_context *ctx, in ppp_my_option_parse_conf_rej()
|
D | fsm.c | 26 struct ppp_context *ppp_fsm_ctx(struct ppp_fsm *fsm) in ppp_fsm_ctx() 29 return CONTAINER_OF(fsm, struct ppp_context, lcp.fsm); in ppp_fsm_ctx() 32 return CONTAINER_OF(fsm, struct ppp_context, ipcp.fsm); in ppp_fsm_ctx() 36 return CONTAINER_OF(fsm, struct ppp_context, ipv6cp.fsm); in ppp_fsm_ctx() 40 return CONTAINER_OF(fsm, struct ppp_context, pap.fsm); in ppp_fsm_ctx() 49 struct ppp_context *ctx = ppp_fsm_ctx(fsm); in ppp_fsm_iface() 404 struct ppp_context *ctx = ppp_fsm_ctx(fsm); in ppp_send_pkt() 497 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in ppp_send_pkt() 1033 struct ppp_context *ctx = ppp_fsm_ctx(fsm); in ppp_fsm_input() 1145 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in ppp_fsm_recv_echo_reply()
|
D | misc.c | 77 void ppp_change_phase_debug(struct ppp_context *ctx, enum ppp_phase new_phase, in ppp_change_phase_debug() 80 void ppp_change_phase(struct ppp_context *ctx, enum ppp_phase new_phase) in ppp_change_phase_debug()
|
/Zephyr-latest/include/zephyr/net/ |
D | ppp.h | 403 struct ppp_context { struct 562 #define PPP_L2_CTX_TYPE struct ppp_context argument 685 struct ppp_context *net_ppp_context_get(int idx); 687 static inline struct ppp_context *net_ppp_context_get(int idx) in net_ppp_context_get()
|
/Zephyr-latest/subsys/net/lib/shell/ |
D | ppp.c | 63 struct ppp_context *ctx; in cmd_net_ppp_status()
|