Searched refs:BPF_SK_LOOKUP_F_REPLACE (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/tools/testing/selftests/bpf/progs/ |
D | test_sk_lookup.c | 267 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/ |
D | bpf.h | 6022 BPF_SK_LOOKUP_F_REPLACE = (1ULL << 0), enumerator
|
/Linux-v6.6/include/uapi/linux/ |
D | bpf.h | 6022 BPF_SK_LOOKUP_F_REPLACE = (1ULL << 0), enumerator
|
/Linux-v6.6/net/core/ |
D | filter.c | 11309 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()
|