Searched refs:echo_reply (Results 1 – 4 of 4) sorted by relevance
363 struct net_pkt *echo_reply; in l2_service() local377 echo_reply = net_pkt_alloc_with_buffer(iface, 12, NET_AF_UNSPEC, 0, K_NO_WAIT); in l2_service()378 if (echo_reply) { in l2_service()379 net_pkt_set_ll_proto_type(echo_reply, net_pkt_ll_proto_type(pkt)); in l2_service()380 net_pkt_set_priority(echo_reply, net_pkt_priority(pkt)); in l2_service()381 if (net_if_try_send_data(iface, echo_reply, K_NO_WAIT) != NET_OK) { in l2_service()382 net_pkt_unref(echo_reply); in l2_service()
406 ctx->shell.echo_reply.cb = echo_reply_handler; in net_ppp_ping()407 ctx->shell.echo_reply.user_data = ctx; in net_ppp_ping()408 ctx->shell.echo_reply.user_data_len = sizeof(ctx); in net_ppp_ping()419 ctx->shell.echo_reply.cb = NULL; in net_ppp_ping()
1158 if (ctx->shell.echo_reply.cb) { in ppp_fsm_recv_echo_reply()1159 ctx->shell.echo_reply.cb(ctx->shell.echo_reply.user_data, in ppp_fsm_recv_echo_reply()1160 ctx->shell.echo_reply.user_data_len); in ppp_fsm_recv_echo_reply()
492 } echo_reply; member