Lines Matching refs:protocol
76 uint16_t protocol; in process_ppp_msg() local
83 ret = net_pkt_read_be16(pkt, &protocol); in process_ppp_msg()
88 if ((IS_ENABLED(CONFIG_NET_IPV4) && protocol == PPP_IP) || in process_ppp_msg()
89 (IS_ENABLED(CONFIG_NET_IPV6) && protocol == PPP_IPV6)) { in process_ppp_msg()
99 if (proto->protocol != protocol) { in process_ppp_msg()
106 switch (protocol) { in process_ppp_msg()
114 ppp_send_proto_rej(iface, pkt, protocol); in process_ppp_msg()
121 ppp_proto2str(protocol) ? "Unhandled" : "Unknown", in process_ppp_msg()
122 ppp_proto2str(protocol), in process_ppp_msg()
123 ppp_proto2str(protocol) ? " " : "", in process_ppp_msg()
124 protocol); in process_ppp_msg()
496 if (proto->protocol == PPP_LCP) { in net_ppp_init()