Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect_dynptr.c123 static int pkt_parse_ipv4(struct bpf_dynptr *dynptr, __u64 *offset, struct iphdr *iphdr) in pkt_parse_ipv4() function
630 if (pkt_parse_ipv4(dynptr, offset, &ipv4)) { in process_icmpv4()
757 if (pkt_parse_ipv4(dynptr, offset, &ipv4)) { in process_ipv4()
H A Dtest_cls_redirect.c213 static __always_inline struct iphdr *pkt_parse_ipv4(buf_t *pkt, struct iphdr *scratch) in pkt_parse_ipv4() function
739 const struct iphdr *ipv4 = pkt_parse_ipv4(pkt, &_ip4); in process_icmpv4()
859 struct iphdr *ipv4 = pkt_parse_ipv4(pkt, &_ip4); in process_ipv4()