Searched refs:l3hdr_off (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/net/ |
H A D | eth.c | 131 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()
|
/openbmc/qemu/hw/net/ |
H A D | net_rx_pkt.c | 43 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() 473 csl = pkt->l4hdr_off - pkt->l3hdr_off; in net_rx_pkt_validate_l3_csum() 476 pkt->l3hdr_off, in net_rx_pkt_validate_l3_csum() 483 trace_net_rx_pkt_l3_csum_validate_csum(pkt->l3hdr_off, csl, in net_rx_pkt_validate_l3_csum() 518 size_t full_ip6hdr_len = pkt->l4hdr_off - pkt->l3hdr_off; in _net_rx_pkt_calc_l4_csum()
|
H A D | trace-events | 84 net_rx_pkt_l3_csum_validate_csum(size_t l3hdr_off, uint32_t csl, uint32_t cntr, uint16_t csum, bool…
|
/openbmc/qemu/include/net/ |
H A D | eth.h | 399 size_t *l3hdr_off,
|