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
74 static struct netkit *netkit_priv(const struct net_device *dev) in netkit_priv()
82 struct netkit *nk = netkit_priv(dev); in netkit_xmit()
135 struct netkit *nk = netkit_priv(dev); in netkit_open()
149 struct netkit *nk = netkit_priv(dev); in netkit_close()
160 struct netkit *nk = netkit_priv(dev); in netkit_get_iflink()
179 struct netkit *nk = netkit_priv(dev); in netkit_set_macaddr()
189 struct netkit *nk = netkit_priv(dev), *nk2; in netkit_set_headroom()
294 struct netkit *nk = netkit_priv(dev); in netkit_get_link_net()
345 struct netkit *nk; in netkit_new_link()
[all …]
/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/Documentation/bpf/libbpf/
H A Dprogram_types.rst142 | | ``BPF_NETKIT_PRIMARY`` | ``netkit/pri…
144 | | ``BPF_NETKIT_PEER`` | ``netkit/pee…
/linux/tools/lib/bpf/
H 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()
H A Dbpf.h440 } netkit; member
H A Dlibbpf.c12832 link_create_opts.netkit.expected_revision = OPTS_GET(opts, expected_revision, 0); in bpf_program__attach_netkit()
12833 link_create_opts.netkit.relative_fd = relative_fd; in bpf_program__attach_netkit()
12834 link_create_opts.netkit.relative_id = relative_id; in bpf_program__attach_netkit()
/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.h1791 } netkit; member
6745 } netkit; member
/linux/tools/include/uapi/linux/
H A Dbpf.h1791 } netkit; member
6745 } netkit; member
/linux/
H A DMAINTAINERS4352 F: drivers/net/netkit.c
4353 F: include/net/netkit.h