/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_sk_lookup.c | 84 return SK_DROP; in lookup_drop() 91 return SK_DROP; in check_ifindex() 104 return SK_DROP; in reuseport_drop() 198 return SK_DROP; in select_sock_a_no_reuseport() 222 ret = SK_DROP; in sk_assign_eexist() 255 ret = SK_DROP; in sk_assign_replace_flag() 287 ret = SK_DROP; in sk_assign_null() 330 ret = SK_DROP; in access_ctx_sk() 402 return SK_DROP; in ctx_narrow_access() 404 return SK_DROP; in ctx_narrow_access() [all …]
|
H A D | test_assign_reuse.c | 40 return SK_DROP; in reuse_accept() 43 return SK_DROP; in reuse_accept() 46 return SK_DROP; in reuse_accept() 49 return SK_DROP; in reuse_accept() 51 return SK_DROP; in reuse_accept() 63 return SK_DROP; in reuse_drop()
|
H A D | test_sockmap_kern.h | 169 return SK_DROP; in bpf_prog3() 172 return SK_DROP; in bpf_prog3() 182 ret = SK_DROP; in bpf_prog3() 185 return SK_DROP; in bpf_prog3() 257 return SK_DROP; in bpf_prog4() 291 return SK_DROP; in bpf_prog6() 322 return SK_DROP; in bpf_prog8() 324 return SK_DROP; in bpf_prog8() 345 return SK_DROP; in bpf_prog9() 377 return SK_DROP; in bpf_prog10()
|
H A D | sockmap_parse_prog.c | 16 return SK_DROP; in bpf_prog1() 21 return SK_DROP; in bpf_prog1()
|
H A D | test_sockmap_update.c | 36 return SK_DROP; in copy_sock_map() 45 return failed ? SK_DROP : SK_PASS; in copy_sock_map()
|
H A D | dynptr_fail.c | 263 return SK_DROP; in data_slice_out_of_bounds_skb() 1083 return SK_DROP; in skb_invalid_slice_write() 1104 return SK_DROP; in skb_invalid_data_slice1() 1109 return SK_DROP; in skb_invalid_data_slice1() 1130 return SK_DROP; in skb_invalid_data_slice2() 1135 return SK_DROP; in skb_invalid_data_slice2() 1157 return SK_DROP; in skb_invalid_data_slice3() 1182 return SK_DROP; in skb_invalid_data_slice4() 1206 return SK_DROP; in xdp_invalid_data_slice1() 1231 return SK_DROP; in xdp_invalid_data_slice2() [all …]
|
H A D | test_skmsg_load_helpers.c | 38 return SK_DROP; in prog_msg_verdict() 42 verdict = SK_DROP; in prog_msg_verdict()
|
H A D | test_sockmap_skb_verdict_attach.c | 15 return SK_DROP; in prog_skb_verdict()
|
H A D | test_sockmap_drop_prog.c | 29 return SK_DROP; in prog_skb_verdict()
|
H A D | test_select_reuseport_kern.c | 175 return SK_DROP; in _select_by_skb_data() 181 return result < PASS ? SK_DROP : SK_PASS; in _select_by_skb_data()
|
H A D | sockmap_verdict_prog.c | 48 return SK_DROP; in bpf_prog2()
|
H A D | test_migrate_reuseport.c | 111 return SK_DROP; in migrate_reuseport()
|
H A D | test_sockmap_listen.c | 124 verdict = err ? SK_DROP : SK_PASS; in prog_reuseport()
|
/openbmc/linux/net/core/ |
H A D | sock_map.c | 642 return SK_DROP; in BPF_CALL_4() 646 return SK_DROP; in BPF_CALL_4() 648 return SK_DROP; in BPF_CALL_4() 670 return SK_DROP; in BPF_CALL_4() 674 return SK_DROP; in BPF_CALL_4() 676 return SK_DROP; in BPF_CALL_4() 678 return SK_DROP; in BPF_CALL_4() 1248 return SK_DROP; in BPF_CALL_4() 1252 return SK_DROP; in BPF_CALL_4() 1254 return SK_DROP; in BPF_CALL_4() [all …]
|
H A D | skmsg.c | 859 case SK_DROP: in sk_psock_map_verd()
|
H A D | filter.c | 9203 return bpf_unclone_prologue(insn_buf, direct_write, prog, SK_DROP); in sk_skb_prologue()
|
/openbmc/linux/Documentation/bpf/ |
H A D | prog_sk_lookup.rst | 52 The attached BPF programs must return with either ``SK_PASS`` or ``SK_DROP`` 55 hashtable-based lookup, while ``SK_DROP`` causes the transport layer to drop the 72 3. If any program returned ``SK_DROP``, and no program returned ``SK_PASS`` and
|
H A D | map_sockmap.rst | 97 Returns ``SK_PASS`` on success, or ``SK_DROP`` on error. 111 Returns ``SK_PASS`` on success, or ``SK_DROP`` on error. 177 Returns ``SK_PASS`` on success, or ``SK_DROP`` on error. 193 Returns ``SK_PASS`` on success, or ``SK_DROP`` on error.
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockmap_listen.c | 651 key = SK_DROP; in zero_verdict_count() 814 key = SK_DROP; in redir_to_listening() 1100 key = SK_DROP; in test_reuseport_select_connected() 1170 key = SK_DROP; in test_reuseport_mixed_groups()
|
/openbmc/linux/include/linux/ |
H A D | filter.h | 1415 } else if (_ret == SK_DROP && _all_pass) { \ 1423 _all_pass || _selected_sk ? SK_PASS : SK_DROP; \
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 6357 SK_DROP = 0, enumerator
|
/openbmc/linux/include/uapi/linux/ |
H A D | bpf.h | 6354 SK_DROP = 0, enumerator
|
/openbmc/linux/Documentation/networking/ |
H A D | ip-sysctl.rst | 815 migration by returning SK_DROP in the type of eBPF program, or
|
/openbmc/linux/kernel/bpf/ |
H A D | verifier.c | 15043 range = tnum_range(SK_DROP, SK_PASS); in check_return_code()
|