Lines Matching +full:int +full:- +full:enum
10 * SPDX-License-Identifier: Apache-2.0
30 /** Max Terminate-Request transmissions */
33 /** Max Configure-Request transmissions */
44 enum net_verdict (*handler)(struct ppp_context *ctx,
66 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,
83 enum ppp_protocol_type protocol,
106 const char *ppp_phase_str(enum ppp_phase phase);
107 const char *ppp_state_str(enum ppp_state state);
109 const char *ppp_pkt_type2str(enum ppp_packet_type type);
110 const char *ppp_option2str(enum ppp_protocol_type protocol, int type);
114 void ppp_change_phase(struct ppp_context *ctx, enum ppp_phase new_phase);
115 void ppp_change_state(struct ppp_fsm *fsm, enum ppp_state new_state);
118 enum ppp_phase new_phase,
119 const char *caller, int line);
127 void ppp_change_state_debug(struct ppp_fsm *fsm, enum ppp_state new_state,
128 const char *caller, int line);
133 int ppp_send_pkt(struct ppp_fsm *fsm, struct net_if *iface,
134 enum ppp_packet_type type, uint8_t id,
145 enum net_verdict ppp_fsm_input(struct ppp_fsm *fsm, uint16_t proto,
147 enum net_verdict ppp_fsm_recv_protocol_rej(struct ppp_fsm *fsm,
150 enum net_verdict ppp_fsm_recv_echo_req(struct ppp_fsm *fsm,
153 enum net_verdict ppp_fsm_recv_echo_reply(struct ppp_fsm *fsm,
156 enum net_verdict ppp_fsm_recv_discard_req(struct ppp_fsm *fsm,
161 int ppp_parse_options(struct ppp_fsm *fsm, struct net_pkt *pkt,
163 int (*parse)(struct net_pkt *pkt, uint8_t code,
173 void ppp_network_up(struct ppp_context *ctx, int proto);
174 void ppp_network_down(struct ppp_context *ctx, int proto);
175 void ppp_network_done(struct ppp_context *ctx, int proto);
180 int (*conf_req_add)(struct ppp_context *ctx, struct net_pkt *pkt);
181 int (*conf_ack_handle)(struct ppp_context *ctx, struct net_pkt *pkt,
183 int (*conf_nak_handle)(struct ppp_context *ctx, struct net_pkt *pkt,
197 int ppp_my_options_parse_conf_ack(struct ppp_fsm *fsm,
201 int ppp_my_options_parse_conf_nak(struct ppp_fsm *fsm,
205 int ppp_my_options_parse_conf_rej(struct ppp_fsm *fsm,