Searched refs:send_pkt (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/subsys/net/l2/ethernet/ |
D | bridge.c | 342 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/ |
D | netusb.h | 24 int (*send_pkt)(struct net_pkt *pkt); member
|
D | netusb.c | 40 ret = netusb.func->send_pkt(pkt); in netusb_send()
|
D | function_eem.c | 219 .send_pkt = eem_send,
|
D | function_ecm.c | 334 .send_pkt = ecm_send,
|
D | function_rndis.c | 1079 .send_pkt = rndis_send,
|
/Zephyr-latest/tests/net/icmp/src/ |
D | main.c | 104 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()
|