/Zephyr-Core-3.4.0/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 | 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 | 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 | 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() 187 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in lcp_up() 197 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in lcp_starting() 205 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() 128 void ppp_link_down(struct ppp_context *ctx) in ppp_link_down() 139 void ppp_link_needed(struct ppp_context *ctx) in ppp_link_needed()
|
D | ppp_l2.c | 75 struct ppp_context *ctx = net_if_l2_data(iface); in process_ppp_msg() 170 struct ppp_context *ctx = net_if_l2_data(iface); in ppp_send() 194 static void ppp_close(struct ppp_context *ctx) in ppp_close() 201 static void ppp_lower_up(struct ppp_context *ctx) in ppp_lower_up() 208 static void start_ppp(struct ppp_context *ctx) in start_ppp() 224 struct ppp_context *ctx = net_if_l2_data(iface); in ppp_enable() 256 struct ppp_context *ctx = net_if_l2_data(iface); in ppp_flags() 273 struct ppp_context *ctx = CONTAINER_OF(work, struct ppp_context, in carrier_on_off() 310 struct ppp_context *ctx = net_if_l2_data(iface); in net_ppp_carrier_on() 319 struct ppp_context *ctx = net_if_l2_data(iface); in net_ppp_carrier_off() [all …]
|
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() 50 static int ipv6cp_ack_iid(struct ppp_context *ctx, struct net_pkt *pkt, in ipv6cp_ack_iid() 128 struct ppp_context *ctx = in ipv6cp_config_info_req() 129 CONTAINER_OF(fsm, struct ppp_context, ipv6cp.fsm); in ipv6cp_config_info_req() 172 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in ipv6cp_config_info_ack() 188 static void ipv6cp_lower_down(struct ppp_context *ctx) in ipv6cp_lower_down() 193 static void ipv6cp_lower_up(struct ppp_context *ctx) in ipv6cp_lower_up() 198 static void ipv6cp_open(struct ppp_context *ctx) in ipv6cp_open() 203 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 | 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() 400 struct ppp_context *ctx = ppp_fsm_ctx(fsm); in ppp_send_pkt() 493 struct ppp_context *ctx = CONTAINER_OF(fsm, struct ppp_context, in ppp_send_pkt() 1029 struct ppp_context *ctx = ppp_fsm_ctx(fsm); in ppp_fsm_input() 1141 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-Core-3.4.0/include/zephyr/net/ |
D | ppp.h | 378 struct ppp_context { struct 552 #define PPP_L2_CTX_TYPE struct ppp_context 671 struct ppp_context *net_ppp_context_get(int idx); 673 static inline struct ppp_context *net_ppp_context_get(int idx) in net_ppp_context_get()
|
/Zephyr-Core-3.4.0/subsys/net/ip/ |
D | net_shell.c | 4909 struct ppp_context *ctx; in cmd_net_ppp_status()
|