Searched refs:tplen (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | vrf_socket_lookup.c | 24 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()
|