Searched refs:ip6 (Results 1 – 4 of 4) sorted by relevance
/qemu/tools/ebpf/ |
H A D | rss.bpf.c | 330 struct ipv6hdr ip6 = {}; in parse_packet() local 331 err = bpf_skb_load_bytes_relative(skb, 0, &ip6, sizeof(ip6), in parse_packet() 337 info->in6_src = ip6.saddr; in parse_packet() 338 info->in6_dst = ip6.daddr; in parse_packet() 340 l4_protocol = ip6.nexthdr; in parse_packet() 341 l4_offset = sizeof(ip6); in parse_packet()
|
/qemu/hw/net/ |
H A D | net_tx_pkt.c | 50 struct ip6_header ip6; member 648 struct ip6_header *ip6 = l3hdr->iov_base; in net_tx_pkt_tcp_fragment_fix() local 659 ip6->ip6_ctlun.ip6_un1.ip6_un1_plen = cpu_to_be16(len); in net_tx_pkt_tcp_fragment_fix() 862 if (pkt->l3_hdr.ip6.ip6_plen == 0) { in net_tx_pkt_fix_ip6_payload_len() 864 pkt->l3_hdr.ip6.ip6_plen = htons(pkt->payload_len); in net_tx_pkt_fix_ip6_payload_len()
|
H A D | virtio-net.c | 2103 struct ip6_header *ip6; in virtio_net_rsc_extract_unit6() local 2105 ip6 = (struct ip6_header *)(buf + chain->n->guest_hdr_len in virtio_net_rsc_extract_unit6() 2107 unit->ip = ip6; in virtio_net_rsc_extract_unit6() 2108 unit->ip_plen = &(ip6->ip6_ctlun.ip6_un1.ip6_un1_plen); in virtio_net_rsc_extract_unit6() 2541 struct ip6_header *ip6, in virtio_net_rsc_sanity_check6() argument 2546 if (((ip6->ip6_ctlun.ip6_un1.ip6_un1_flow & 0xF0) >> 4) in virtio_net_rsc_sanity_check6() 2552 if (ip6->ip6_ctlun.ip6_un1.ip6_un1_nxt != IPPROTO_TCP) { in virtio_net_rsc_sanity_check6() 2557 ip_len = htons(ip6->ip6_ctlun.ip6_un1.ip6_un1_plen); in virtio_net_rsc_sanity_check6() 2566 if (IP6_ECN(ip6->ip6_ctlun.ip6_un3.ip6_un3_ecn)) { in virtio_net_rsc_sanity_check6()
|
H A D | trace-events | 65 net_rx_pkt_parsed(bool ip4, bool ip6, int l4proto, size_t l3o, size_t l4o, size_t l5o) "RX packet p… 185 e1000e_rx_metadata_protocols(bool hasip4, bool hasip6, int l4hdr_protocol) "protocols: ip4: %d, ip6…
|