Home
last modified time | relevance | path

Searched refs:l3hdr_off (Results 1 – 4 of 4) sorted by relevance

/qemu/net/
H A Deth.c131 size_t *l3hdr_off, in eth_get_protocols() argument
145 *l3hdr_off = iovoff + eth_get_l2_hdr_length_iov(iov, iovcnt, iovoff); in eth_get_protocols()
148 proto = eth_get_l3_proto(iov, iovcnt, *l3hdr_off); in eth_get_protocols()
153 if (input_size < *l3hdr_off) { in eth_get_protocols()
157 copied = iov_to_buf(iov, iovcnt, *l3hdr_off, iphdr, sizeof(*iphdr)); in eth_get_protocols()
166 *l4hdr_off = *l3hdr_off + IP_HDR_GET_LEN(iphdr); in eth_get_protocols()
170 if (!eth_parse_ipv6_hdr(iov, iovcnt, *l3hdr_off, ip6hdr_info)) { in eth_get_protocols()
176 *l4hdr_off = *l3hdr_off + ip6hdr_info->full_hdr_len; in eth_get_protocols()
200 *l4hdr_off - *l3hdr_off, in eth_get_protocols()
/qemu/hw/net/
H A Dnet_rx_pkt.c43 size_t l3hdr_off; member
111 &pkt->l3hdr_off, &pkt->l4hdr_off, &pkt->l5hdr_off, in net_rx_pkt_pull_data()
115 pkt->l3hdr_off, pkt->l4hdr_off, pkt->l5hdr_off); in net_rx_pkt_pull_data()
197 &pkt->l3hdr_off, &pkt->l4hdr_off, &pkt->l5hdr_off, in net_rx_pkt_set_protocols()
215 return pkt->l3hdr_off; in net_rx_pkt_get_l3_hdr_offset()
487 csl = pkt->l4hdr_off - pkt->l3hdr_off; in net_rx_pkt_validate_l3_csum()
490 pkt->l3hdr_off, in net_rx_pkt_validate_l3_csum()
497 trace_net_rx_pkt_l3_csum_validate_csum(pkt->l3hdr_off, csl, in net_rx_pkt_validate_l3_csum()
532 size_t full_ip6hdr_len = pkt->l4hdr_off - pkt->l3hdr_off; in _net_rx_pkt_calc_l4_csum()
H A Dtrace-events89 net_rx_pkt_l3_csum_validate_csum(size_t l3hdr_off, uint32_t csl, uint32_t cntr, uint16_t csum, bool…
/qemu/include/net/
H A Deth.h399 size_t *l3hdr_off,