BPF_NETKIT_PEER
case BPF_NETKIT_PEER:
if (which == BPF_NETKIT_PEER) {
case BPF_NETKIT_PEER:
attach_type != BPF_NETKIT_PEER)
case BPF_NETKIT_PEER:
__show_dev_tc_bpf(dev, BPF_NETKIT_PEER);
[BPF_NETKIT_PEER] = "netkit/peer",
case BPF_NETKIT_PEER:
[BPF_NETKIT_PEER] = "netkit_peer",
SEC_DEF("netkit/peer", SCHED_CLS, BPF_NETKIT_PEER, SEC_NONE),
BPF_NETKIT_PEER), 0, "tc2_attach_type");
assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PEER, 0);
assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PEER, 0);
assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PEER, 1);
err = bpf_prog_query_opts(ifindex, BPF_NETKIT_PEER, &optq);
assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PEER, 0);
serial_test_tc_netkit_multi_links_target(NETKIT_L2, BPF_NETKIT_PEER);
serial_test_tc_netkit_multi_links_target(NETKIT_L3, BPF_NETKIT_PEER);
serial_test_tc_netkit_multi_opts_target(NETKIT_L2, BPF_NETKIT_PEER);
serial_test_tc_netkit_multi_opts_target(NETKIT_L3, BPF_NETKIT_PEER);
BPF_NETKIT_PEER), 0, "tc2_attach_type");
assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PEER, 0);
assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PEER, 0);
err = bpf_prog_query_opts(ifindex2, BPF_NETKIT_PEER, &optq);
assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PEER, 0);
assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PEER, 0);
assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PEER, 0);
assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PEER, 0);
assert_mprog_count_ifindex(ifindex, BPF_NETKIT_PEER, 0);