Home
last modified time | relevance | path

Searched refs:data_size_in (Results 1 – 16 of 16) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
A Dxdp_adjust_tail.c74 .data_size_in = 0, /* Per test */ in test_xdp_adjust_tail_grow2()
84 tattr.data_size_in = 64; /* Determine test case via pkt size */ in test_xdp_adjust_tail_grow2()
107 tattr.data_size_in = 128; /* Determine test case via pkt size */ in test_xdp_adjust_tail_grow2()
124 CHECK_ATTR((cnt != (max_grow - tattr.data_size_in)) /* Grow increase */ in test_xdp_adjust_tail_grow2()
A Dcheck_mtu.c90 .data_size_in = sizeof(pkt_v4), in test_check_mtu_run_xdp()
150 .data_size_in = sizeof(pkt_v4), in test_check_mtu_run_tc()
A Dskb_helpers.c14 .data_size_in = sizeof(pkt_v4), in test_skb_helpers()
A Dcls_redirect.c166 return tattr->data_size_out < tattr->data_size_in; in was_decapsulated()
414 tattr.data_size_in = build_input(test, input, tuple); in test_cls_redirect_common()
415 if (CHECK_FAIL(!tattr.data_size_in)) in test_cls_redirect_common()
A Dprog_run_xattr.c33 .data_size_in = sizeof(pkt_v4), in test_prog_run_xattr()
A Dskb_ctx.c25 .data_size_in = sizeof(pkt_v4), in test_skb_ctx()
A Dxdp_context_test_run.c36 .data_size_in = sizeof(data), in test_xdp_context_test_run()
A Dkfree_skb.c57 .data_size_in = sizeof(pkt_v6), in serial_test_kfree_skb()
A Dsockmap_basic.c173 .data_size_in = sizeof(dummy), in test_sockmap_update()
A Dflow_dissector.c579 .data_size_in = sizeof(tests[i].pkt), in test_flow_dissector()
/linux/tools/lib/bpf/
A Dbpf.h211 __u32 data_size_in; member
268 __u32 data_size_in; member
A Dbpf.c839 attr.test.data_size_in = size; in bpf_prog_test_run()
866 attr.test.data_size_in = test_attr->data_size_in; in bpf_prog_test_run_xattr()
900 attr.test.data_size_in = OPTS_GET(opts, data_size_in, 0); in bpf_prog_test_run_opts()
/linux/net/bpf/
A Dtest_run.c256 u32 user_size = kattr->test.data_size_in; in bpf_test_init()
571 u32 size = kattr->test.data_size_in; in bpf_prog_test_run_skb()
762 u32 size = kattr->test.data_size_in; in bpf_prog_test_run_xdp()
859 u32 size = kattr->test.data_size_in; in bpf_prog_test_run_flow_dissector()
943 if (kattr->test.data_in || kattr->test.data_size_in || kattr->test.data_out || in bpf_prog_test_run_sk_lookup()
/linux/tools/include/uapi/linux/
A Dbpf.h1369 __u32 data_size_in; /* input: len of data_in */ member
/linux/include/uapi/linux/
A Dbpf.h1369 __u32 data_size_in; /* input: len of data_in */ member
/linux/tools/bpf/bpftool/
A Dprog.c1289 err = get_run_data(data_fname_in, &data_in, &test_attr.data_size_in); in do_run()

Completed in 43 milliseconds