Searched refs:new_pkt (Results 1 – 2 of 2) sorted by relevance
390 struct net_pkt *new_pkt; in tcp_send() local392 new_pkt = tcp_pkt_clone(pkt); in tcp_send()393 if (!new_pkt) { in tcp_send()404 if (net_send_data(new_pkt) < 0) { in tcp_send()405 tcp_pkt_unref(new_pkt); in tcp_send()
5291 struct net_pkt *new_pkt; in net_if_recv_data() local5293 new_pkt = net_pkt_clone(pkt, K_NO_WAIT); in net_if_recv_data()5295 if (net_promisc_mode_input(new_pkt) == NET_DROP) { in net_if_recv_data()5296 net_pkt_unref(new_pkt); in net_if_recv_data()