Home
last modified time | relevance | path

Searched refs:echo_reply (Results 1 – 4 of 4) sorted by relevance

/Zephyr-4.2.1/samples/net/qos/ethernet/src/
Dmain.c363 struct net_pkt *echo_reply; in l2_service() local
377 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()
/Zephyr-4.2.1/subsys/net/l2/ppp/
Dppp_l2.c406 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()
Dfsm.c1158 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()
/Zephyr-4.2.1/include/zephyr/net/
Dppp.h492 } echo_reply; member