/openbmc/phosphor-networkd/src/ |
H A D | rtnetlink_server.cpp | 33 return extractRtData<ifinfomsg>(data).ifi_index; in getIfIdx() 132 performRequest(NETLINK_ROUTE, RTM_GETLINK, NLM_F_DUMP, ifinfomsg{}, cb);
|
H A D | system_queries.cpp | 121 ifinfomsg msg = {}; in deleteIntf()
|
H A D | rtnetlink.cpp | 56 const auto& ifinfo = netlink::extractRtData<ifinfomsg>(msg); in intfFromRtm()
|
/openbmc/linux/Documentation/networking/ |
H 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:
|
/openbmc/phosphor-networkd/test/ |
H A D | test_rtnetlink.cpp | 25 ifinfomsg hdr __attribute__((aligned(NLMSG_ALIGNTO))); in TEST() 38 ifinfomsg hdr __attribute__((aligned(NLMSG_ALIGNTO))); in TEST()
|
H A D | mock_syscall.cpp | 106 msgBuf.append(NLMSG_SPACE(sizeof(ifinfomsg)), '\0'); in sendmsg_link_dump() 108 auto& info = *reinterpret_cast<ifinfomsg*>( in sendmsg_link_dump()
|
H A D | test_netlink.cpp | 311 ifinfomsg msg{}; in doLinkDump()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | main.h | 237 struct ifinfomsg; 239 int do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb);
|
H A D | net.c | 326 struct ifinfomsg *ifi = NLMSG_DATA(nlh); in __dump_link_nlmsg() 342 struct ifinfomsg ifm; in netlink_get_link() 344 .nlh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)), in netlink_get_link() 362 struct ifinfomsg *ifinfo = msg; in dump_link_nlmsg()
|
H A D | netlink_dumper.c | 72 int do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb) in do_xdp_dump()
|
/openbmc/linux/net/core/ |
H A D | rtnetlink.c | 927 const struct ifinfomsg *ifm) in rtnl_dev_combine_flags() 1090 return NLMSG_ALIGN(sizeof(struct ifinfomsg)) in if_nlmsg_size() 1813 struct ifinfomsg *ifm; in rtnl_fill_ifinfo() 2160 struct ifinfomsg *ifm; in rtnl_valid_dump_ifinfo_req() 2190 hdrlen = nlmsg_len(nlh) < sizeof(struct ifinfomsg) ? in rtnl_valid_dump_ifinfo_req() 2191 sizeof(struct rtgenmsg) : sizeof(struct ifinfomsg); in rtnl_valid_dump_ifinfo_req() 2302 const struct ifinfomsg *ifmp; in rtnl_nla_parse_ifinfomsg() 2307 attrs = nla_data(nla_peer) + sizeof(struct ifinfomsg); in rtnl_nla_parse_ifinfomsg() 2308 len = nla_len(nla_peer) - sizeof(struct ifinfomsg); in rtnl_nla_parse_ifinfomsg() 2777 struct net_device *dev, struct ifinfomsg *ifm, in do_setlink() [all …]
|
/openbmc/linux/drivers/net/can/ |
H A D | vxcan.c | 186 struct ifinfomsg *ifmp = NULL; in vxcan_newlink() 287 [VXCAN_INFO_PEER] = { .len = sizeof(struct ifinfomsg) },
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-protocols/mdns/mdns/ |
H A D | 0005-Use-list-for-changed-interfaces.patch | 81 - result |= 1 << ((struct ifinfomsg*) NLMSG_DATA(pNLMsg))->ifi_index; 82 + AddInterfaceIndexToList(changedInterfaces, ((struct ifinfomsg*) NLMSG_DATA(pNLMsg))->i…
|
H A D | 0007-Mark-deleted-interfaces-as-being-changed.patch | 35 … AddInterfaceIndexToList(changedInterfaces, ((struct ifinfomsg*) NLMSG_DATA(pNLMsg))->ifi_index);
|
/openbmc/linux/tools/lib/bpf/ |
H A D | nlattr.h | 60 struct ifinfomsg ifinfo;
|
H A D | netlink.c | 294 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in __bpf_set_link_xdp_fd_replace() 348 struct ifinfomsg *ifi = NLMSG_DATA(nlh); in __dump_link_nlmsg() 364 struct ifinfomsg *ifinfo = msg; in get_xdp_info() 434 .nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)), in bpf_xdp_query()
|
/openbmc/inarp/ |
H A D | inarp.c | 287 struct interface *iface, struct ifinfomsg *ifmsg, int len) in netlink_nlmsg_newlink() 330 struct ifinfomsg *ifmsg; in netlink_nlmsg()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | tap.c | 89 struct ifinfomsg info; in dev_create() 147 struct ifinfomsg info; in dev_delete()
|
H A D | tun.c | 71 struct ifinfomsg ifm; in tun_delete()
|
/openbmc/linux/include/net/ |
H A D | rtnetlink.h | 208 int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm,
|
/openbmc/linux/tools/include/uapi/linux/ |
H A D | if_link.h | 371 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 372 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
/openbmc/linux/include/uapi/linux/ |
H A D | if_link.h | 397 #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) 398 #define IFLA_PAYLOAD(n) NLMSG_PAYLOAD(n,sizeof(struct ifinfomsg))
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xfrm_info.c | 207 struct ifinfomsg info; in setup_xfrmi_external_dev()
|
/openbmc/linux/net/bridge/ |
H A D | br_netlink.c | 220 return NLMSG_ALIGN(sizeof(struct ifinfomsg)) in br_nlmsg_size() 462 struct ifinfomsg *hdr; in br_fill_ifinfo() 1096 protinfo = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_PROTINFO); in br_setlink() 1097 afspec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in br_setlink() 1152 afspec = nlmsg_find_attr(nlh, sizeof(struct ifinfomsg), IFLA_AF_SPEC); in br_dellink()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | xsk.c | 88 struct ifinfomsg msg; 401 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in xsk_set_mtu()
|