Lines Matching refs:pending
256 net_ipv6_nbr_data(nbr)->pending, in nbr_print()
298 if (data->pending) { in nbr_clear_ns_pending()
299 net_pkt_unref(data->pending); in nbr_clear_ns_pending()
300 data->pending = NULL; in nbr_clear_ns_pending()
396 if (!data->pending) { in ipv6_ns_reply_timeout()
404 data->pending, in ipv6_ns_reply_timeout()
405 net_sprint_ipv6_addr(&NET_IPV6_HDR(data->pending)->dst)); in ipv6_ns_reply_timeout()
408 net_pkt_unref(data->pending); in ipv6_ns_reply_timeout()
411 net_pkt_unref(data->pending); in ipv6_ns_reply_timeout()
413 data->pending = NULL; in ipv6_ns_reply_timeout()
431 net_ipv6_nbr_data(nbr)->pending = NULL; in nbr_init()
1659 struct net_pkt *pending; in handle_na_neighbor() local
1813 pending = net_ipv6_nbr_data(nbr)->pending; in handle_na_neighbor()
1814 if (pending) { in handle_na_neighbor()
1815 NET_DBG("Sending pending %p to lladdr %s", pending, in handle_na_neighbor()
1818 if (net_send_data(pending) < 0) { in handle_na_neighbor()
1821 net_ipv6_nbr_data(nbr)->pending = NULL; in handle_na_neighbor()
1824 net_pkt_unref(pending); in handle_na_neighbor()
1955 struct net_pkt *pending, in net_ipv6_send_ns() argument
2005 if (IS_ENABLED(CONFIG_NET_CAPTURE) && pending) { in net_ipv6_send_ns()
2006 net_pkt_set_captured(pkt, net_pkt_is_captured(pending)); in net_ipv6_send_ns()
2048 if (pending) { in net_ipv6_send_ns()
2049 if (!net_ipv6_nbr_data(nbr)->pending) { in net_ipv6_send_ns()
2050 net_ipv6_nbr_data(nbr)->pending = net_pkt_ref(pending); in net_ipv6_send_ns()
2054 net_ipv6_nbr_data(nbr)->pending, pending, pkt); in net_ipv6_send_ns()
2074 NET_DBG("Cannot send NS %p (pending %p)", pkt, pending); in net_ipv6_send_ns()
2076 if (pending) { in net_ipv6_send_ns()
2078 pending = NULL; in net_ipv6_send_ns()
2093 if (pending) { in net_ipv6_send_ns()
2094 net_pkt_unref(pending); in net_ipv6_send_ns()
2744 if (nbr && net_ipv6_nbr_data(nbr)->pending) { in handle_ra_input()
2746 net_ipv6_nbr_data(nbr)->pending, in handle_ra_input()
2747 net_sprint_ipv6_addr(&NET_IPV6_HDR(net_ipv6_nbr_data(nbr)->pending)->dst)); in handle_ra_input()
2749 if (net_send_data(net_ipv6_nbr_data(nbr)->pending) < 0) { in handle_ra_input()
2750 net_pkt_unref(net_ipv6_nbr_data(nbr)->pending); in handle_ra_input()