Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect.c641 struct bpf_sock_tuple *tuple, uint64_t tuplen, in classify_tcp() argument
645 bpf_skc_lookup_tcp(skb, tuple, tuplen, BPF_F_CURRENT_NETNS, 0); in classify_tcp()
658 if (tuplen == sizeof(tuple->ipv6)) { in classify_tcp()
674 struct bpf_sock_tuple *tuple, uint64_t tuplen) in classify_udp() argument
677 bpf_sk_lookup_udp(skb, tuple, tuplen, BPF_F_CURRENT_NETNS, 0); in classify_udp()
692 struct bpf_sock_tuple *tuple, uint64_t tuplen, in classify_icmp() argument
697 return classify_tcp(skb, tuple, tuplen, NULL, NULL); in classify_icmp()
700 return classify_udp(skb, tuple, tuplen); in classify_icmp()
824 uint64_t tuplen = in process_tcp() local
826 return classify_tcp(pkt->skb, &tuple, tuplen, iph, tcp); in process_tcp()
[all …]