Home
last modified time | relevance | path

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

/linux/drivers/net/
H A Dnetkit.c18 struct netkit { struct
61 static struct netkit *netkit_priv(const struct net_device *dev) in netkit_priv()
69 struct netkit *nk = netkit_priv(dev); in netkit_xmit()
121 struct netkit *nk = netkit_priv(dev); in netkit_open()
135 struct netkit *nk = netkit_priv(dev); in netkit_close()
146 struct netkit *nk = netkit_priv(dev); in netkit_get_iflink()
165 struct netkit *nk = netkit_priv(dev); in netkit_set_macaddr()
175 struct netkit *nk = netkit_priv(dev), *nk2; in netkit_set_headroom()
280 struct netkit *nk = netkit_priv(dev); in netkit_get_link_net()
342 struct netkit *nk; in netkit_new_link()
[all …]
H A DKconfig469 The netkit device is a virtual networking device where BPF programs
/linux/tools/bpf/bpftool/Documentation/
H 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,
/linux/tools/lib/bpf/
H A Dbpf.c824 relative_fd = OPTS_GET(opts, netkit.relative_fd, 0); in bpf_link_create()
825 relative_id = OPTS_GET(opts, netkit.relative_id, 0); in bpf_link_create()
829 attr.link_create.netkit.relative_id = relative_id; in bpf_link_create()
832 attr.link_create.netkit.relative_fd = relative_fd; in bpf_link_create()
834 attr.link_create.netkit.expected_revision = OPTS_GET(opts, netkit.expected_revision, 0); in bpf_link_create()
835 if (!OPTS_ZEROED(opts, netkit)) in bpf_link_create()
H A Dbpf.h437 } netkit; member
H A Dlibbpf.c152 [BPF_LINK_TYPE_NETKIT] = "netkit",
9386 SEC_DEF("netkit/primary", SCHED_CLS, BPF_NETKIT_PRIMARY, SEC_NONE),
9387 SEC_DEF("netkit/peer", SCHED_CLS, BPF_NETKIT_PEER, SEC_NONE),
12742 link_create_opts.netkit.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_freplace()
12743 link_create_opts.netkit.relative_fd = relative_fd; in bpf_program__attach_freplace()
12744 link_create_opts.netkit.relative_id = relative_id; in bpf_program__attach_freplace()
12747 return bpf_program_attach_fd(prog, ifindex, "netkit", &link_create_opts); in bpf_program__attach_freplace()
/linux/include/linux/
H A Dbpf_types.h148 BPF_LINK_TYPE(BPF_LINK_TYPE_NETKIT, netkit)
/linux/tools/bpf/bpftool/
H A Dlink.c526 show_link_ifindex_json(info->netkit.ifindex, json_wtr); in show_link_close_json()
527 show_link_attach_type_json(info->netkit.attach_type, json_wtr); in show_link_close_json()
919 show_link_ifindex_plain(info->netkit.ifindex); in show_link_close_plain()
920 show_link_attach_type_plain(info->netkit.attach_type); in show_link_close_plain()
/linux/include/uapi/linux/
H A Dbpf.h1777 } netkit; member
4956 * ingress hook and for veth and netkit target device types. The
6736 } netkit;
6735 } netkit; global() member
/linux/tools/include/uapi/linux/
H A Dbpf.h1777 } netkit; member
4956 * ingress hook and for veth and netkit target device types. The
6735 } netkit; member
/linux/
H A DMAINTAINERS4264 F: drivers/net/netkit.c
4265 F: include/net/netkit.h