Lines Matching +full:open +full:-
4 * SPDX-License-Identifier: Apache-2.0
22 if (proto->protocol == PPP_LCP) { in lcp_up()
26 if (proto->lower_up) { in lcp_up()
27 proto->lower_up(ctx); in lcp_up()
37 if (proto->protocol == PPP_CCP || proto->protocol == PPP_ECP) { in do_network()
38 if (proto->open) { in do_network()
39 proto->open(ctx); in do_network()
50 if (proto->protocol == PPP_CCP || proto->protocol == PPP_ECP || in do_network()
51 proto->protocol >= 0xC000) { in do_network()
55 if (proto->open) { in do_network()
56 ctx->network_protos_open++; in do_network()
57 proto->open(ctx); in do_network()
61 if (ctx->network_protos_open == 0) { in do_network()
65 proto->close(ctx, "No network protocols open"); in do_network()
77 auth_proto = ctx->lcp.peer_options.auth_proto; in do_auth()
87 if (proto->protocol == auth_proto) { in do_auth()
88 if (proto->open) { in do_auth()
89 proto->open(ctx); in do_auth()
117 k_sem_give(&ctx->wait_ppp_link_terminated); in ppp_link_terminated()
119 if (ctx->phase == PPP_DEAD) { in ppp_link_terminated()
132 k_sem_give(&ctx->wait_ppp_link_down); in ppp_link_down()
134 if (ctx->phase == PPP_DEAD) { in ppp_link_down()