Lines Matching full:captured
67 * captured network packets.
516 struct net_pkt *captured; in net_capture_pkt_with_status() local
521 /* We must prevent to capture network packet that is already captured in net_capture_pkt_with_status()
541 * cooked mode captured. So no need to clone it here. in net_capture_pkt_with_status()
548 captured = pkt; in net_capture_pkt_with_status()
553 captured = net_pkt_clone(pkt, K_NO_WAIT); in net_capture_pkt_with_status()
557 if (captured == NULL) { in net_capture_pkt_with_status()
558 NET_DBG("Captured pkt %s", "dropped"); in net_capture_pkt_with_status()
565 net_pkt_set_orig_iface(captured, iface); in net_capture_pkt_with_status()
566 net_pkt_set_iface(captured, ctx->tunnel_iface); in net_capture_pkt_with_status()
569 ret = net_capture_send(ctx->dev, ctx->tunnel_iface, captured); in net_capture_pkt_with_status()
572 net_pkt_unref(captured); in net_capture_pkt_with_status()