Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/ip/
Droute.c829 struct net_pkt *pkt_cpy = NULL; in net_route_mcast_forward_packet() local
842 pkt_cpy = net_pkt_shallow_clone(pkt, K_NO_WAIT); in net_route_mcast_forward_packet()
844 if (pkt_cpy == NULL) { in net_route_mcast_forward_packet()
849 net_pkt_set_forwarding(pkt_cpy, true); in net_route_mcast_forward_packet()
850 net_pkt_set_orig_iface(pkt_cpy, pkt->iface); in net_route_mcast_forward_packet()
851 net_pkt_set_iface(pkt_cpy, route->ifaces[i]); in net_route_mcast_forward_packet()
853 if (net_send_data(pkt_cpy) >= 0) { in net_route_mcast_forward_packet()
856 net_pkt_unref(pkt_cpy); in net_route_mcast_forward_packet()