Lines Matching refs:proto
19 void ppp_network_up(struct ppp_context *ctx, int proto) in ppp_network_up() argument
27 NET_DBG("[%p] Proto %s (0x%04x) %s (%d)", ctx, ppp_proto2str(proto), in ppp_network_up()
28 proto, "up", ctx->network_protos_up); in ppp_network_up()
31 void ppp_network_down(struct ppp_context *ctx, int proto) in ppp_network_down() argument
40 NET_DBG("[%p] Proto %s (0x%04x) %s (%d)", ctx, ppp_proto2str(proto), in ppp_network_down()
41 proto, "down", ctx->network_protos_up); in ppp_network_down()
44 void ppp_network_done(struct ppp_context *ctx, int proto) in ppp_network_done() argument
58 STRUCT_SECTION_FOREACH(ppp_protocol_handler, proto) { in ppp_network_all_down()
59 if (proto->protocol != PPP_LCP && proto->lower_down) { in ppp_network_all_down()
60 proto->lower_down(ctx); in ppp_network_all_down()
63 if (proto->protocol < 0xC000 && proto->close) { in ppp_network_all_down()
65 proto->close(ctx, "LCP down"); in ppp_network_all_down()