Home
last modified time | relevance | path

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

/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_cls_redirect.c648 struct bpf_sock_tuple *tuple, uint64_t tuplen, in classify_tcp() argument
652 bpf_skc_lookup_tcp(skb, tuple, tuplen, BPF_F_CURRENT_NETNS, 0); in classify_tcp()
665 if (tuplen == sizeof(tuple->ipv6)) { in classify_tcp()
681 struct bpf_sock_tuple *tuple, uint64_t tuplen) in classify_udp() argument
684 bpf_sk_lookup_udp(skb, tuple, tuplen, BPF_F_CURRENT_NETNS, 0); in classify_udp()
699 struct bpf_sock_tuple *tuple, uint64_t tuplen, in classify_icmp() argument
704 return classify_tcp(skb, tuple, tuplen, NULL, NULL); in classify_icmp()
707 return classify_udp(skb, tuple, tuplen); in classify_icmp()
831 uint64_t tuplen = in process_tcp() local
833 return classify_tcp(pkt->skb, &tuple, tuplen, iph, tcp); in process_tcp()
[all …]