Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dtest_sk_lookup.c267 err = bpf_sk_assign(ctx, sk, BPF_SK_LOOKUP_F_REPLACE); in sk_assign_replace_flag()
298 err = bpf_sk_assign(ctx, sk, BPF_SK_LOOKUP_F_REPLACE); in sk_assign_null()
309 err = bpf_sk_assign(ctx, NULL, BPF_SK_LOOKUP_F_REPLACE); in sk_assign_null()
312 err = bpf_sk_assign(ctx, sk, BPF_SK_LOOKUP_F_REPLACE); in sk_assign_null()
353 err = bpf_sk_assign(ctx, NULL, BPF_SK_LOOKUP_F_REPLACE); in access_ctx_sk()
363 err = bpf_sk_assign(ctx, sk2, BPF_SK_LOOKUP_F_REPLACE); in access_ctx_sk()
/Linux-v6.6/tools/include/uapi/linux/
Dbpf.h6022 BPF_SK_LOOKUP_F_REPLACE = (1ULL << 0), enumerator
/Linux-v6.6/include/uapi/linux/
Dbpf.h6022 BPF_SK_LOOKUP_F_REPLACE = (1ULL << 0), enumerator
/Linux-v6.6/net/core/
Dfilter.c11309 if (unlikely(flags & ~(BPF_SK_LOOKUP_F_REPLACE | in BPF_CALL_3()
11326 if (ctx->selected_sk && !(flags & BPF_SK_LOOKUP_F_REPLACE)) in BPF_CALL_3()