Home
last modified time | relevance | path

Searched refs:flow_ports_t (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect_dynptr.c82 } flow_ports_t; typedef
85 sizeof(flow_ports_t) !=
90 sizeof(flow_ports_t) !=
140 static bool pkt_parse_icmp_l4_ports(struct bpf_dynptr *dynptr, __u64 *offset, flow_ports_t *ports) in pkt_parse_icmp_l4_ports()
643 if (!pkt_parse_icmp_l4_ports(dynptr, offset, (flow_ports_t *)&tuple.ipv4.sport)) { in process_icmpv4()
695 if (!pkt_parse_icmp_l4_ports(dynptr, offset, (flow_ports_t *)&tuple.ipv6.sport)) { in process_icmpv6()
H A Dtest_cls_redirect.c87 } flow_ports_t; typedef
90 sizeof(flow_ports_t) !=
95 sizeof(flow_ports_t) !=
232 static INLINING bool pkt_parse_icmp_l4_ports(buf_t *pkt, flow_ports_t *ports) in pkt_parse_icmp_l4_ports()
753 if (!pkt_parse_icmp_l4_ports(pkt, (flow_ports_t *)&tuple.ipv4.sport)) { in process_icmpv4()
805 if (!pkt_parse_icmp_l4_ports(pkt, (flow_ports_t *)&tuple.ipv6.sport)) { in process_icmpv6()