Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_sk_lookup.c84 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 Dtest_assign_reuse.c40 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 Dtest_sockmap_kern.h169 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 Dsockmap_parse_prog.c16 return SK_DROP; in bpf_prog1()
21 return SK_DROP; in bpf_prog1()
H A Dtest_sockmap_update.c36 return SK_DROP; in copy_sock_map()
45 return failed ? SK_DROP : SK_PASS; in copy_sock_map()
H A Ddynptr_fail.c263 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 Dtest_skmsg_load_helpers.c38 return SK_DROP; in prog_msg_verdict()
42 verdict = SK_DROP; in prog_msg_verdict()
H A Dtest_sockmap_skb_verdict_attach.c15 return SK_DROP; in prog_skb_verdict()
H A Dtest_sockmap_drop_prog.c29 return SK_DROP; in prog_skb_verdict()
H A Dtest_select_reuseport_kern.c175 return SK_DROP; in _select_by_skb_data()
181 return result < PASS ? SK_DROP : SK_PASS; in _select_by_skb_data()
H A Dsockmap_verdict_prog.c48 return SK_DROP; in bpf_prog2()
H A Dtest_migrate_reuseport.c111 return SK_DROP; in migrate_reuseport()
H A Dtest_sockmap_listen.c124 verdict = err ? SK_DROP : SK_PASS; in prog_reuseport()
/openbmc/linux/net/core/
H A Dsock_map.c642 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 Dskmsg.c859 case SK_DROP: in sk_psock_map_verd()
H A Dfilter.c9203 return bpf_unclone_prologue(insn_buf, direct_write, prog, SK_DROP); in sk_skb_prologue()
/openbmc/linux/Documentation/bpf/
H A Dprog_sk_lookup.rst52 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 Dmap_sockmap.rst97 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 Dsockmap_listen.c651 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 Dfilter.h1415 } else if (_ret == SK_DROP && _all_pass) { \
1423 _all_pass || _selected_sk ? SK_PASS : SK_DROP; \
/openbmc/linux/tools/include/uapi/linux/
H A Dbpf.h6357 SK_DROP = 0, enumerator
/openbmc/linux/include/uapi/linux/
H A Dbpf.h6354 SK_DROP = 0, enumerator
/openbmc/linux/Documentation/networking/
H A Dip-sysctl.rst815 migration by returning SK_DROP in the type of eBPF program, or
/openbmc/linux/kernel/bpf/
H A Dverifier.c15043 range = tnum_range(SK_DROP, SK_PASS); in check_return_code()