Searched refs:optl (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | tc_links.c | 19 LIBBPF_OPTS(bpf_tcx_opts, optl); in serial_test_tc_links_basic() 41 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in serial_test_tc_links_basic() 76 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in serial_test_tc_links_basic() 118 LIBBPF_OPTS(bpf_tcx_opts, optl); in test_tc_links_before_target() 154 link = bpf_program__attach_tcx(skel->progs.tc1, loopback, &optl); in test_tc_links_before_target() 164 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_links_before_target() 202 LIBBPF_OPTS_RESET(optl, in test_tc_links_before_target() 207 link = bpf_program__attach_tcx(skel->progs.tc3, loopback, &optl); in test_tc_links_before_target() 215 LIBBPF_OPTS_RESET(optl, in test_tc_links_before_target() 220 link = bpf_program__attach_tcx(skel->progs.tc4, loopback, &optl); in test_tc_links_before_target() [all...] |
| H A D | tc_redirect.c | 413 LIBBPF_OPTS(bpf_netkit_opts, optl); in netns_attach_nk() 421 link = bpf_program__attach_netkit(prog, ifindex, &optl); in netns_attach_nk()
|
| H A D | tc_opts.c | 1399 LIBBPF_OPTS(bpf_tcx_opts, optl); in test_tc_opts_mixed_target() 1444 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_opts_mixed_target() 1500 link = bpf_program__attach_tcx(skel->progs.tc4, loopback, &optl); in test_tc_opts_mixed_target() 1574 LIBBPF_OPTS(bpf_tcx_opts, optl); in test_tc_opts_demixed_target() 1606 link = bpf_program__attach_tcx(skel->progs.tc2, loopback, &optl); in test_tc_opts_demixed_target()
|
| /linux/net/netfilter/ |
| H A D | xt_TCPOPTSTRIP.c | 35 unsigned int optl, i, j; in tcpoptstrip_mangle_packet() local 63 for (i = sizeof(struct tcphdr); i < tcp_hdrlen - 1; i += optl) { in tcpoptstrip_mangle_packet() 64 optl = optlen(opt, i); in tcpoptstrip_mangle_packet() 66 if (i + optl > tcp_hdrlen) in tcpoptstrip_mangle_packet() 72 for (j = 0; j < optl; ++j) { in tcpoptstrip_mangle_packet() 82 memset(opt + i, TCPOPT_NOP, optl); in tcpoptstrip_mangle_packet()
|