Lines Matching refs:net_pkt_iface
66 ipv4_hdr->ttl = net_if_ipv4_get_mcast_ttl(net_pkt_iface(pkt)); in net_ipv4_create_full()
73 ipv4_hdr->ttl = net_if_ipv4_get_ttl(net_pkt_iface(pkt)); in net_ipv4_create_full()
131 if (net_if_need_calc_tx_checksum(net_pkt_iface(pkt), NET_IF_CHECKSUM_IPV4_HEADER)) { in net_ipv4_finalize()
261 net_stats_update_ipv4_recv(net_pkt_iface(pkt)); in net_ipv4_input()
320 if (net_ipv4_is_addr_bcast(net_pkt_iface(pkt), (struct in_addr *)hdr->src)) { in net_ipv4_input()
326 !net_ipv4_is_addr_bcast(net_pkt_iface(pkt), (struct in_addr *)hdr->dst) && in net_ipv4_input()
332 if (net_if_need_calc_rx_checksum(net_pkt_iface(pkt), NET_IF_CHECKSUM_IPV4_HEADER) && in net_ipv4_input()
357 net_ipv4_is_addr_bcast(net_pkt_iface(pkt), (struct in_addr *)hdr->dst))) { in net_ipv4_input()
429 tunnel_iface = net_ipip_get_virtual_interface(net_pkt_iface(pkt)); in net_ipv4_input()
431 return net_if_l2(tunnel_iface)->recv(net_pkt_iface(pkt), pkt); in net_ipv4_input()
449 net_stats_update_ipv4_drop(net_pkt_iface(pkt)); in net_ipv4_input()
467 net_if_get_mtu(net_pkt_iface(pkt))); in net_ipv4_prepare_for_send()