/linux/drivers/net/can/ |
A D | vxcan.c | 173 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 D | operstates.rst | 39 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 D | net.c | 319 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 D | main.h | 235 struct ifinfomsg; 237 int do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb);
|
A D | netlink_dumper.c | 72 int do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb) in do_xdp_dump()
|
/linux/net/core/ |
A D | rtnetlink.c | 1699 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 D | netlink.c | 192 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 D | nlattr.h | 59 struct ifinfomsg ifinfo;
|
/linux/include/net/ |
A D | rtnetlink.h | 176 int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm);
|
/linux/tools/include/uapi/linux/ |
A D | if_link.h | 368 #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 D | if_link.h | 368 #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 D | rtnetlink.h | 548 struct ifinfomsg { struct
|
/linux/net/bridge/ |
A D | br_netlink.c | 211 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 D | veth.c | 1643 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 D | ipsec.c | 224 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 D | wext-core.c | 421 struct ifinfomsg *r; in rtnetlink_ifinfo_prep()
|
/linux/net/ipv4/ |
A D | ipmr.c | 2786 struct ifinfomsg *ifm; in ipmr_valid_dumplink() 2828 struct ifinfomsg *hdr; in ipmr_rtm_dumplink()
|
/linux/net/ipv6/ |
A D | addrconf.c | 5568 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 D | qeth_l2_main.c | 987 nlmsg_for_each_attr(attr, nlh, sizeof(struct ifinfomsg), rem1) { in qeth_l2_bridge_setlink()
|
/linux/drivers/net/ethernet/emulex/benet/ |
A D | be_main.c | 4980 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 D | en_main.c | 4518 br_spec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in mlx5e_bridge_setlink()
|
/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_main.c | 7242 br_spec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in ice_bridge_setlink()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_main.c | 9904 br_spec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in ixgbe_ndo_bridge_setlink()
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_main.c | 12877 br_spec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in i40e_ndo_bridge_setlink()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt.c | 12767 br_spec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in bnxt_bridge_setlink()
|