Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/bpf/progs/
Dtest_cls_redirect.c133 } buf_t; typedef
135 static __always_inline size_t buf_off(const buf_t *buf) in buf_off()
155 static __always_inline bool buf_copy(buf_t *buf, void *dst, size_t len) in buf_copy()
165 static __always_inline bool buf_skip(buf_t *buf, const size_t len) in buf_skip()
183 static __always_inline void *buf_assign(buf_t *buf, const size_t len, void *scratch) in buf_assign()
198 static INLINING bool pkt_skip_ipv4_options(buf_t *buf, const struct iphdr *ipv4) in pkt_skip_ipv4_options()
213 static __always_inline struct iphdr *pkt_parse_ipv4(buf_t *pkt, struct iphdr *scratch) in pkt_parse_ipv4()
232 static INLINING bool pkt_parse_icmp_l4_ports(buf_t *pkt, flow_ports_t *ports) in pkt_parse_icmp_l4_ports()
279 bool pkt_skip_ipv6_extension_headers(buf_t *pkt, in pkt_skip_ipv6_extension_headers()
348 pkt_parse_ipv6(buf_t *pkt, struct ipv6hdr *scratch, uint8_t *proto, in pkt_parse_ipv6()
[all …]