Home
last modified time | relevance | path

Searched refs:ppp_fsm (Results 1 – 10 of 10) sorted by relevance

/Zephyr-latest/subsys/net/l2/ppp/
Dppp_internal.h66 int (*parse)(struct ppp_fsm *fsm, struct net_pkt *pkt,
68 int (*nack)(struct ppp_fsm *fsm, struct net_pkt *ret_pkt,
79 int ppp_config_info_req(struct ppp_fsm *fsm,
111 void ppp_fsm_name_set(struct ppp_fsm *fsm, const char *name);
115 void ppp_change_state(struct ppp_fsm *fsm, enum ppp_state new_state);
127 void ppp_change_state_debug(struct ppp_fsm *fsm, enum ppp_state new_state,
131 struct ppp_context *ppp_fsm_ctx(struct ppp_fsm *fsm);
132 struct net_if *ppp_fsm_iface(struct ppp_fsm *fsm);
133 int ppp_send_pkt(struct ppp_fsm *fsm, struct net_if *iface,
139 void ppp_fsm_init(struct ppp_fsm *fsm, uint16_t protocol);
[all …]
Dpap.c21 static struct net_pkt *pap_config_info_add(struct ppp_fsm *fsm) in pap_config_info_add()
38 static int pap_config_info_ack(struct ppp_fsm *fsm, in pap_config_info_ack()
73 static void pap_up(struct ppp_fsm *fsm) in pap_up()
90 static void pap_down(struct ppp_fsm *fsm) in pap_down()
102 static void pap_finished(struct ppp_fsm *fsm) in pap_finished()
114 static void pap_proto_reject(struct ppp_fsm *fsm) in pap_proto_reject()
Doptions.c21 int ppp_parse_options(struct ppp_fsm *fsm, struct net_pkt *pkt, in ppp_parse_options()
97 struct ppp_fsm *fsm;
113 struct ppp_fsm *fsm = parse_data->fsm; in ppp_parse_option_conf_req_unsupported()
146 struct ppp_fsm *fsm = parse_data->fsm; in ppp_parse_option_conf_req_supported()
163 int ppp_config_info_req(struct ppp_fsm *fsm, in ppp_config_info_req()
215 struct net_pkt *ppp_my_options_add(struct ppp_fsm *fsm, size_t packet_len) in ppp_my_options_add()
263 struct ppp_fsm *fsm;
267 static int ppp_my_option_get(struct ppp_fsm *fsm, uint8_t code, in ppp_my_option_get()
301 static int ppp_my_options_parse(struct ppp_fsm *fsm, in ppp_my_options_parse()
329 int ppp_my_options_parse_conf_ack(struct ppp_fsm *fsm, in ppp_my_options_parse_conf_ack()
[all …]
Dlcp.c23 static enum net_verdict lcp_handle_ext(struct ppp_fsm *fsm, in lcp_handle_ext()
71 static int lcp_auth_proto_parse(struct ppp_fsm *fsm, struct net_pkt *pkt, in lcp_auth_proto_parse()
98 static int lcp_auth_proto_nack(struct ppp_fsm *fsm, struct net_pkt *ret_pkt, in lcp_auth_proto_nack()
111 static int lcp_config_info_req(struct ppp_fsm *fsm, in lcp_config_info_req()
172 static void lcp_down(struct ppp_fsm *fsm) in lcp_down()
187 static void lcp_up(struct ppp_fsm *fsm) in lcp_up()
197 static void lcp_starting(struct ppp_fsm *fsm) in lcp_starting()
205 static void lcp_finished(struct ppp_fsm *fsm) in lcp_finished()
277 static struct net_pkt *lcp_config_info_add(struct ppp_fsm *fsm) in lcp_config_info_add()
282 static int lcp_config_info_nack(struct ppp_fsm *fsm, struct net_pkt *pkt, in lcp_config_info_nack()
Dipcp.c140 static struct net_pkt *ipcp_config_info_add(struct ppp_fsm *fsm) in ipcp_config_info_add()
151 static int ipcp_dns_address_parse(struct ppp_fsm *fsm, struct net_pkt *pkt, in ipcp_dns_address_parse()
176 static int ipcp_ip_address_parse(struct ppp_fsm *fsm, struct net_pkt *pkt, in ipcp_ip_address_parse()
213 static int ipcp_server_nak_ip_address(struct ppp_fsm *fsm, in ipcp_server_nak_ip_address()
227 static int ipcp_server_nak_dns1_address(struct ppp_fsm *fsm, in ipcp_server_nak_dns1_address()
240 static int ipcp_server_nak_dns2_address(struct ppp_fsm *fsm, in ipcp_server_nak_dns2_address()
269 static int ipcp_config_info_req(struct ppp_fsm *fsm, in ipcp_config_info_req()
308 static void ipcp_set_dns_servers(struct ppp_fsm *fsm) in ipcp_set_dns_servers()
349 static int ipcp_config_info_nack(struct ppp_fsm *fsm, in ipcp_config_info_nack()
392 static void ipcp_up(struct ppp_fsm *fsm) in ipcp_up()
[all …]
Dfsm.c26 struct ppp_context *ppp_fsm_ctx(struct ppp_fsm *fsm) in ppp_fsm_ctx()
47 struct net_if *ppp_fsm_iface(struct ppp_fsm *fsm) in ppp_fsm_iface()
56 static void fsm_send_configure_req(struct ppp_fsm *fsm, bool retransmit) in fsm_send_configure_req()
99 struct ppp_fsm *fsm = CONTAINER_OF(dwork, struct ppp_fsm, timer); in ppp_fsm_timeout()
164 void ppp_fsm_init(struct ppp_fsm *fsm, uint16_t protocol) in ppp_fsm_init()
173 static void fsm_down(struct ppp_fsm *fsm) in fsm_down()
186 static void terminate(struct ppp_fsm *fsm, enum ppp_state next_state) in terminate()
218 void ppp_fsm_close(struct ppp_fsm *fsm, const uint8_t *reason) in ppp_fsm_close()
258 void ppp_fsm_lower_down(struct ppp_fsm *fsm) in ppp_fsm_lower_down()
302 void ppp_fsm_lower_up(struct ppp_fsm *fsm) in ppp_fsm_lower_up()
[all …]
Dipv6cp.c81 static struct net_pkt *ipv6cp_config_info_add(struct ppp_fsm *fsm) in ipv6cp_config_info_add()
91 static int ipv6cp_interface_identifier_parse(struct ppp_fsm *fsm, in ipv6cp_interface_identifier_parse()
124 static int ipv6cp_config_info_req(struct ppp_fsm *fsm, in ipv6cp_config_info_req()
156 static int ipv6cp_config_info_ack(struct ppp_fsm *fsm, in ipv6cp_config_info_ack()
240 static void ipv6cp_up(struct ppp_fsm *fsm) in ipv6cp_up()
296 static void ipv6cp_down(struct ppp_fsm *fsm) in ipv6cp_down()
351 static void ipv6cp_finished(struct ppp_fsm *fsm) in ipv6cp_finished()
365 static void ipv6cp_proto_reject(struct ppp_fsm *fsm) in ipv6cp_proto_reject()
Dmisc.c268 void ppp_change_state_debug(struct ppp_fsm *fsm, enum ppp_state new_state, in ppp_change_state_debug()
271 void ppp_change_state(struct ppp_fsm *fsm, enum ppp_state new_state) in ppp_change_state_debug()
367 void ppp_fsm_name_set(struct ppp_fsm *fsm, const char *name) in ppp_fsm_name_set()
Dlink.c97 void ppp_link_established(struct ppp_context *ctx, struct ppp_fsm *fsm) in ppp_link_established()
/Zephyr-latest/include/zephyr/net/
Dppp.h237 struct ppp_fsm { struct
244 int (*config_info_ack)(struct ppp_fsm *fsm, argument
249 struct net_pkt *(*config_info_add)(struct ppp_fsm *fsm);
252 int (*config_info_len)(struct ppp_fsm *fsm);
255 int (*config_info_nack)(struct ppp_fsm *fsm,
261 int (*config_info_req)(struct ppp_fsm *fsm,
267 int (*config_info_rej)(struct ppp_fsm *fsm,
272 void (*config_info_reset)(struct ppp_fsm *fsm);
275 void (*up)(struct ppp_fsm *fsm);
278 void (*down)(struct ppp_fsm *fsm);
[all …]