Home
last modified time | relevance | path

Searched refs:ifinfomsg (Results 1 – 25 of 25) sorted by relevance

/linux/drivers/net/can/
A Dvxcan.c173 struct ifinfomsg *ifmp = NULL; in vxcan_newlink()
184 sizeof(struct ifinfomsg), in vxcan_newlink()
186 sizeof(struct ifinfomsg), in vxcan_newlink()
279 [VXCAN_INFO_PEER] = { .len = sizeof(struct ifinfomsg) },
/linux/Documentation/networking/
A Doperstates.rst39 ifinfomsg::if_flags & IFF_UP:
42 ifinfomsg::if_flags & IFF_RUNNING:
47 ifinfomsg::if_flags & IFF_LOWER_UP:
50 ifinfomsg::if_flags & IFF_DORMANT:
/linux/tools/bpf/bpftool/
A Dnet.c319 struct ifinfomsg *ifi = NLMSG_DATA(nlh); in __dump_link_nlmsg()
335 struct ifinfomsg ifm; in netlink_get_link()
337 .nlh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)), in netlink_get_link()
355 struct ifinfomsg *ifinfo = msg; in dump_link_nlmsg()
A Dmain.h235 struct ifinfomsg;
237 int do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb);
A Dnetlink_dumper.c72 int do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb) in do_xdp_dump()
/linux/net/core/
A Drtnetlink.c1699 struct ifinfomsg *ifm; in rtnl_fill_ifinfo()
2029 struct ifinfomsg *ifm; in rtnl_valid_dump_ifinfo_req()
2978 struct ifinfomsg *ifm; in rtnl_setlink()
3075 struct ifinfomsg *ifm; in rtnl_dellink()
3266 struct ifinfomsg *ifm; in __rtnl_newlink()
3516 struct ifinfomsg *ifm; in rtnl_valid_getlink_req()
3564 struct ifinfomsg *ifm; in rtnl_getlink()
3663 struct ifinfomsg *ifm; in rtnl_linkprop()
4608 struct ifinfomsg *ifm; in ndo_dflt_bridge_getlink()
4871 struct ifinfomsg *ifm; in rtnl_bridge_setlink()
[all …]
/linux/tools/lib/bpf/
A Dnetlink.c192 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in __bpf_set_link_xdp_fd_replace()
249 struct ifinfomsg *ifi = NLMSG_DATA(nlh); in __dump_link_nlmsg()
265 struct ifinfomsg *ifinfo = msg; in get_xdp_info()
313 .nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)), in bpf_get_link_xdp_info()
A Dnlattr.h59 struct ifinfomsg ifinfo;
/linux/include/net/
A Drtnetlink.h176 int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm);
/linux/tools/include/uapi/linux/
A Dif_link.h368 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
369 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
/linux/include/uapi/linux/
A Dif_link.h368 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg))))
369 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
A Drtnetlink.h548 struct ifinfomsg { struct
/linux/net/bridge/
A Dbr_netlink.c211 return NLMSG_ALIGN(sizeof(struct ifinfomsg)) in br_nlmsg_size()
440 struct ifinfomsg *hdr; in br_fill_ifinfo()
991 protinfo = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_PROTINFO); in br_setlink()
992 afspec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in br_setlink()
1047 afspec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in br_dellink()
/linux/drivers/net/
A Dveth.c1643 struct ifinfomsg *ifmp; in veth_newlink()
1655 nla_data(nla_peer) + sizeof(struct ifinfomsg), in veth_newlink()
1656 nla_len(nla_peer) - sizeof(struct ifinfomsg), in veth_newlink()
1791 [VETH_INFO_PEER] = { .len = sizeof(struct ifinfomsg) },
/linux/tools/testing/selftests/net/
A Dipsec.c224 struct ifinfomsg pi; in veth_pack_peerb()
275 struct ifinfomsg info; in veth_add()
365 struct ifinfomsg info; in link_set_up()
/linux/net/wireless/
A Dwext-core.c421 struct ifinfomsg *r; in rtnetlink_ifinfo_prep()
/linux/net/ipv4/
A Dipmr.c2786 struct ifinfomsg *ifm; in ipmr_valid_dumplink()
2828 struct ifinfomsg *hdr; in ipmr_rtm_dumplink()
/linux/net/ipv6/
A Daddrconf.c5568 return NLMSG_ALIGN(sizeof(struct ifinfomsg)) in inet6_if_nlmsg_size()
5883 struct ifinfomsg *hdr; in inet6_fill_ifinfo()
5927 struct ifinfomsg *ifm; in inet6_valid_dump_ifinfo()
/linux/drivers/s390/net/
A Dqeth_l2_main.c987 nlmsg_for_each_attr(attr, nlh, sizeof(struct ifinfomsg), rem1) { in qeth_l2_bridge_setlink()
/linux/drivers/net/ethernet/emulex/benet/
A Dbe_main.c4980 br_spec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in be_ndo_bridge_setlink()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Den_main.c4518 br_spec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in mlx5e_bridge_setlink()
/linux/drivers/net/ethernet/intel/ice/
A Dice_main.c7242 br_spec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in ice_bridge_setlink()
/linux/drivers/net/ethernet/intel/ixgbe/
A Dixgbe_main.c9904 br_spec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in ixgbe_ndo_bridge_setlink()
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_main.c12877 br_spec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in i40e_ndo_bridge_setlink()
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt.c12767 br_spec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in bnxt_bridge_setlink()

Completed in 152 milliseconds