Home
last modified time | relevance | path

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

/openbmc/qemu/hw/net/
H A Dnet_rx_pkt.c254 struct ip_header *ip4_hdr = &pkt->ip4hdr_info.ip4_hdr; in _net_rx_rss_prepare_ip4() local
257 &ip4_hdr->ip_src, sizeof(uint32_t)); in _net_rx_rss_prepare_ip4()
260 &ip4_hdr->ip_dst, sizeof(uint32_t)); in _net_rx_rss_prepare_ip4()
395 return be16_to_cpu(pkt->ip4hdr_info.ip4_hdr.ip_id); in net_rx_pkt_get_ip_id()
518 csl = be16_to_cpu(pkt->ip4hdr_info.ip4_hdr.ip_len) - in _net_rx_pkt_calc_l4_csum()
519 IP_HDR_GET_LEN(&pkt->ip4hdr_info.ip4_hdr); in _net_rx_pkt_calc_l4_csum()
523 cntr = eth_calc_ip4_pseudo_hdr_csum(&pkt->ip4hdr_info.ip4_hdr, in _net_rx_pkt_calc_l4_csum()
/openbmc/qemu/net/
H A Deth.c112 const struct ip_header *ip4_hdr, in _eth_tcp_has_data() argument
120 l4len = be16_to_cpu(ip4_hdr->ip_len) - IP_HDR_GET_LEN(ip4_hdr); in _eth_tcp_has_data()
151 struct ip_header *iphdr = &ip4hdr_info->ip4_hdr; in eth_get_protocols()
198 &ip4hdr_info->ip4_hdr, in eth_get_protocols()
/openbmc/qemu/include/net/
H A Deth.h376 struct ip_header ip4_hdr; member