Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dvrf_socket_lookup.c24 int tplen; in socket_lookup() local
37 tplen = sizeof(tp->ipv4); in socket_lookup()
38 if ((void *)tp + tplen > data_end) in socket_lookup()
44 sk = bpf_skc_lookup_tcp(ctx, tp, tplen, CUR_NS, 0); in socket_lookup()
46 sk = bpf_sk_lookup_tcp(ctx, tp, tplen, CUR_NS, 0); in socket_lookup()
49 sk = bpf_sk_lookup_udp(ctx, tp, tplen, CUR_NS, 0); in socket_lookup()