Home
last modified time | relevance | path

Searched refs:netkit (Results 1 – 7 of 7) sorted by relevance

/tools/net/ynl/samples/
A Drt-link.c36 if (r->linkinfo._present.data && r->linkinfo.data._present.netkit) { in rt_link_print()
37 struct rt_link_linkinfo_netkit_attrs *netkit; in rt_link_print() local
40 netkit = &r->linkinfo.data.netkit; in rt_link_print()
41 printf("primary %d ", netkit->primary); in rt_link_print()
44 if (netkit->_present.policy) in rt_link_print()
45 name = rt_link_netkit_policy_str(netkit->policy); in rt_link_print()
/tools/bpf/bpftool/Documentation/
A Dbpftool-net.rst39 Currently, device driver xdp attachments, tcx, netkit and old-style tc
53 all tcx, netkit, then tc class/qdisc bpf program attachments, then
55 tcx/netkit/tc programs are ordered based on ifindex number. If multiple bpf
57 will be first all bpf programs attached to tcx, netkit, then tc classes,
/tools/lib/bpf/
A Dbpf.c826 relative_fd = OPTS_GET(opts, netkit.relative_fd, 0); in bpf_link_create()
827 relative_id = OPTS_GET(opts, netkit.relative_id, 0); in bpf_link_create()
831 attr.link_create.netkit.relative_id = relative_id; in bpf_link_create()
834 attr.link_create.netkit.relative_fd = relative_fd; in bpf_link_create()
836 attr.link_create.netkit.expected_revision = OPTS_GET(opts, netkit.expected_revision, 0); in bpf_link_create()
837 if (!OPTS_ZEROED(opts, netkit)) in bpf_link_create()
A Dbpf.h440 } netkit; member
A Dlibbpf.c12947 link_create_opts.netkit.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_netkit()
12948 link_create_opts.netkit.relative_fd = relative_fd; in bpf_program__attach_netkit()
12949 link_create_opts.netkit.relative_id = relative_id; in bpf_program__attach_netkit()
/tools/bpf/bpftool/
A Dlink.c529 show_link_ifindex_json(info->netkit.ifindex, json_wtr); in show_link_close_json()
530 show_link_attach_type_json(info->netkit.attach_type, json_wtr); in show_link_close_json()
928 show_link_ifindex_plain(info->netkit.ifindex); in show_link_close_plain()
929 show_link_attach_type_plain(info->netkit.attach_type); in show_link_close_plain()
/tools/include/uapi/linux/
A Dbpf.h1814 } netkit; member
6799 } netkit; member

Completed in 52 milliseconds