Lines Matching refs:net_pkt_iface
69 if (net_if_need_calc_tx_checksum(net_pkt_iface(pkt), NET_IF_CHECKSUM_IPV4_ICMP) || in net_icmpv4_finalize()
446 reply = net_pkt_alloc_with_buffer(net_pkt_iface(pkt), in icmpv4_handle_echo_request()
457 net_ipv4_is_addr_bcast(net_pkt_iface(pkt), in icmpv4_handle_echo_request()
459 src = net_if_ipv4_select_src_addr(net_pkt_iface(pkt), in icmpv4_handle_echo_request()
500 net_stats_update_icmp_sent(net_pkt_iface(reply)); in icmpv4_handle_echo_request()
508 net_stats_update_icmp_drop(net_pkt_iface(pkt)); in icmpv4_handle_echo_request()
542 if (net_ipv4_is_addr_bcast(net_pkt_iface(orig), in net_icmpv4_send_error()
563 pkt = net_pkt_alloc_with_buffer(net_pkt_iface(orig), in net_icmpv4_send_error()
592 net_stats_update_icmp_sent(net_pkt_iface(orig)); in net_icmpv4_send_error()
600 net_stats_update_icmp_drop(net_pkt_iface(orig)); in net_icmpv4_send_error()
620 if (net_if_need_calc_rx_checksum(net_pkt_iface(pkt), NET_IF_CHECKSUM_IPV4_ICMP) || in net_icmpv4_input()
628 if (net_ipv4_is_addr_bcast(net_pkt_iface(pkt), in net_icmpv4_input()
641 net_stats_update_icmp_recv(net_pkt_iface(pkt)); in net_icmpv4_input()
653 net_stats_update_icmp_drop(net_pkt_iface(pkt)); in net_icmpv4_input()
691 net_stats_update_ipv4_pmtu_recv(net_pkt_iface(pkt)); in icmpv4_handle_dst_unreach()
744 net_stats_update_ipv4_pmtu_drop(net_pkt_iface(pkt)); in icmpv4_handle_dst_unreach()
752 net_stats_update_ipv4_pmtu_drop(net_pkt_iface(pkt)); in icmpv4_handle_dst_unreach()