Lines Matching refs:proto
21 STRUCT_SECTION_FOREACH(ppp_protocol_handler, proto) { in lcp_up()
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()
36 STRUCT_SECTION_FOREACH(ppp_protocol_handler, proto) { in do_network()
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()
49 STRUCT_SECTION_FOREACH(ppp_protocol_handler, proto) { 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()
57 proto->open(ctx); in do_network()
62 const struct ppp_protocol_handler *proto = ppp_lcp_get(); in do_network() local
64 if (proto) { in do_network()
65 proto->close(ctx, "No network protocols open"); in do_network()
86 STRUCT_SECTION_FOREACH(ppp_protocol_handler, 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()