Home
last modified time | relevance | path

Searched refs:send_pkt (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/subsys/net/l2/ethernet/
Dbridge.c342 struct net_pkt *send_pkt; in bridge_iface_process() local
374 send_pkt = net_pkt_clone(pkt, K_NO_WAIT); in bridge_iface_process()
375 if (send_pkt == NULL) { in bridge_iface_process()
380 net_pkt_ref(send_pkt); in bridge_iface_process()
382 send_pkt = net_pkt_ref(pkt); in bridge_iface_process()
385 net_pkt_set_family(send_pkt, AF_UNSPEC); in bridge_iface_process()
386 net_pkt_set_iface(send_pkt, ctx->eth_iface[i]); in bridge_iface_process()
387 net_if_queue_tx(ctx->eth_iface[i], send_pkt); in bridge_iface_process()
392 send_pkt, (int)atomic_get(&send_pkt->atomic_ref)); in bridge_iface_process()
394 net_pkt_unref(send_pkt); in bridge_iface_process()
/Zephyr-latest/subsys/usb/device/class/netusb/
Dnetusb.h24 int (*send_pkt)(struct net_pkt *pkt); member
Dnetusb.c40 ret = netusb.func->send_pkt(pkt); in netusb_send()
Dfunction_eem.c219 .send_pkt = eem_send,
Dfunction_ecm.c334 .send_pkt = ecm_send,
Dfunction_rndis.c1079 .send_pkt = rndis_send,
/Zephyr-latest/tests/net/icmp/src/
Dmain.c104 struct net_pkt *send_pkt; in test_sender() local
106 send_pkt = net_pkt_clone(pkt, PKT_WAIT_TIME); in test_sender()
108 net_pkt_set_iface(send_pkt, recv_ctx.iface); in test_sender()
110 (void)net_recv_data(recv_ctx.iface, send_pkt); in test_sender()
119 struct net_pkt *send_pkt; in test_receiver() local
121 send_pkt = net_pkt_clone(pkt, PKT_WAIT_TIME); in test_receiver()
123 net_pkt_set_iface(send_pkt, send_ctx.iface); in test_receiver()
125 (void)net_recv_data(send_ctx.iface, send_pkt); in test_receiver()