Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_l4lb_noinline.c207 return jhash_2words(pckt->src, pckt->ports, CH_RINGS_SIZE); in get_packet_hash()
249 pckt->flags |= F_ICMP; in parse_icmpv6()
274 pckt->flags |= F_ICMP; in parse_icmp()
275 pckt->src = iph->daddr; in parse_icmp()
276 pckt->dst = iph->saddr; in parse_icmp()
353 pckt.proto = protocol; in process_packet()
375 pckt.proto = protocol; in process_packet()
387 pckt.src = iph->saddr; in process_packet()
391 protocol = pckt.proto; in process_packet()
416 pckt.port16[1] = 0; in process_packet()
[all …]
H A Dtest_l4lb.c212 return jhash_2words(pckt->src, pckt->ports, CH_RINGS_SIZE); in get_packet_hash()
250 pckt->flags |= F_ICMP; in parse_icmpv6()
275 pckt->flags |= F_ICMP; in parse_icmp()
276 pckt->src = iph->daddr; in parse_icmp()
277 pckt->dst = iph->saddr; in parse_icmp()
354 pckt.proto = protocol; in process_packet()
376 pckt.proto = protocol; in process_packet()
388 pckt.src = iph->saddr; in process_packet()
392 protocol = pckt.proto; in process_packet()
417 pckt.port16[1] = 0; in process_packet()
[all …]
H A Dtest_xdp_noinline.c266 pckt->flags |= (1 << 1); in parse_tcp()
307 ip_suffix = pckt->flow.srcv6[3] ^ pckt->flow.port16[0]; in encap_v6()
336 ip_suffix ^= pckt->flow.src; in encap_v4()
462 pckt->flags |= (1 << 0); in parse_icmpv6()
489 pckt->flags |= (1 << 0); in parse_icmp()
503 return jhash_2words(pckt->flow.src, pckt->flow.ports, in get_packet_hash()
521 pckt->flow.port16[0] = pckt->flow.port16[1]; in get_packet_dst()
677 protocol = pckt.flow.proto; in process_packet()
691 vip.vip = pckt.flow.dst; in process_packet()
701 pckt.flow.port16[1] = 0; in process_packet()
[all …]
H A Dtest_l4lb_noinline_dynptr.c209 return jhash_2words(pckt->src, pckt->ports, CH_RINGS_SIZE); in get_packet_hash()
253 pckt->flags |= F_ICMP; in parse_icmpv6()
278 pckt->flags |= F_ICMP; in parse_icmp()
279 pckt->src = iph->daddr; in parse_icmp()
280 pckt->dst = iph->saddr; in parse_icmp()
360 pckt.proto = protocol; in process_packet()
382 pckt.proto = protocol; in process_packet()
394 pckt.src = iph->saddr; in process_packet()
398 protocol = pckt.proto; in process_packet()
423 pckt.port16[1] = 0; in process_packet()
[all …]