Home
last modified time | relevance | path

Searched refs:ifi (Results 1 – 6 of 6) sorted by relevance

/linux/tools/net/ynl/samples/
H A Dtc-filter-add.c106 static int tc_filter_add(struct ynl_sock *ys, int ifi) in tc_filter_add() argument
132 req->_hdr.tcm_ifindex = ifi; in tc_filter_add()
168 static int tc_filter_show(struct ynl_sock *ys, int ifi) in tc_filter_show() argument
180 req->_hdr.tcm_ifindex = ifi; in tc_filter_show()
202 static int tc_filter_del(struct ynl_sock *ys, int ifi) in tc_filter_del() argument
215 req->_hdr.tcm_ifindex = ifi; in tc_filter_del()
229 static int tc_clsact_add(struct ynl_sock *ys, int ifi) in tc_clsact_add() argument
242 req->_hdr.tcm_ifindex = ifi; in tc_clsact_add()
257 static int tc_clsact_del(struct ynl_sock *ys, int ifi) in tc_clsact_del() argument
270 req->_hdr.tcm_ifindex = ifi; in tc_clsact_del()
[all …]
/linux/io_uring/
H A Dopenclose.c277 struct io_fixed_install *ifi; in io_install_fixed_fd_prep() local
297 ifi = io_kiocb_to_cmd(req, struct io_fixed_install); in io_install_fixed_fd_prep()
298 ifi->o_flags = O_CLOEXEC; in io_install_fixed_fd_prep()
300 ifi->o_flags = 0; in io_install_fixed_fd_prep()
307 struct io_fixed_install *ifi; in io_install_fixed_fd() local
310 ifi = io_kiocb_to_cmd(req, struct io_fixed_install); in io_install_fixed_fd()
311 ret = receive_fd(req->file, NULL, ifi->o_flags); in io_install_fixed_fd()
/linux/Documentation/devicetree/bindings/net/can/
H A Difi_canfd.txt5 - compatible: Should be "ifi,canfd-1.0"
12 compatible = "ifi,canfd-1.0";
/linux/tools/bpf/bpftool/
H A Dnet.c335 struct ifinfomsg *ifi = NLMSG_DATA(nlh); in __dump_link_nlmsg() local
338 len = nlh->nlmsg_len - NLMSG_LENGTH(sizeof(*ifi)); in __dump_link_nlmsg()
339 attr = (struct nlattr *) ((void *) ifi + NLMSG_ALIGN(sizeof(*ifi))); in __dump_link_nlmsg()
343 return dump_link_nlmsg(cookie, ifi, tb); in __dump_link_nlmsg()
/linux/tools/lib/bpf/
H A Dnetlink.c350 struct ifinfomsg *ifi = NLMSG_DATA(nlh); in __dump_link_nlmsg() local
353 len = nlh->nlmsg_len - NLMSG_LENGTH(sizeof(*ifi)); in __dump_link_nlmsg()
354 attr = (struct nlattr *) ((void *) ifi + NLMSG_ALIGN(sizeof(*ifi))); in __dump_link_nlmsg()
359 return dump_link_nlmsg(cookie, ifi, tb); in __dump_link_nlmsg()
/linux/net/caif/
H A Dcfcnfg.c169 static int cfcnfg_get_id_from_ifi(struct cfcnfg *cnfg, int ifi) in cfcnfg_get_id_from_ifi() argument
174 if (phy->ifindex == ifi && phy->up) in cfcnfg_get_id_from_ifi()