Home
last modified time | relevance | path

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

12

/openbmc/phosphor-networkd/src/
H A Drtnetlink_server.cpp33 return extractRtData<ifinfomsg>(data).ifi_index; in getIfIdx()
132 performRequest(NETLINK_ROUTE, RTM_GETLINK, NLM_F_DUMP, ifinfomsg{}, cb);
H A Dsystem_queries.cpp121 ifinfomsg msg = {}; in deleteIntf()
H A Drtnetlink.cpp56 const auto& ifinfo = netlink::extractRtData<ifinfomsg>(msg); in intfFromRtm()
/openbmc/linux/Documentation/networking/
H 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:
/openbmc/phosphor-networkd/test/
H A Dtest_rtnetlink.cpp25 ifinfomsg hdr __attribute__((aligned(NLMSG_ALIGNTO))); in TEST()
38 ifinfomsg hdr __attribute__((aligned(NLMSG_ALIGNTO))); in TEST()
H A Dmock_syscall.cpp106 msgBuf.append(NLMSG_SPACE(sizeof(ifinfomsg)), '\0'); in sendmsg_link_dump()
108 auto& info = *reinterpret_cast<ifinfomsg*>( in sendmsg_link_dump()
H A Dtest_netlink.cpp311 ifinfomsg msg{}; in doLinkDump()
/openbmc/linux/tools/bpf/bpftool/
H A Dmain.h237 struct ifinfomsg;
239 int do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb);
H A Dnet.c326 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 Dnetlink_dumper.c72 int do_xdp_dump(struct ifinfomsg *ifinfo, struct nlattr **tb) in do_xdp_dump()
/openbmc/linux/net/core/
H A Drtnetlink.c927 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 Dvxcan.c186 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 D0005-Use-list-for-changed-interfaces.patch81 - result |= 1 << ((struct ifinfomsg*) NLMSG_DATA(pNLMsg))->ifi_index;
82 + AddInterfaceIndexToList(changedInterfaces, ((struct ifinfomsg*) NLMSG_DATA(pNLMsg))->i…
H A D0007-Mark-deleted-interfaces-as-being-changed.patch35 … AddInterfaceIndexToList(changedInterfaces, ((struct ifinfomsg*) NLMSG_DATA(pNLMsg))->ifi_index);
/openbmc/linux/tools/lib/bpf/
H A Dnlattr.h60 struct ifinfomsg ifinfo;
H A Dnetlink.c294 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 Dinarp.c287 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 Dtap.c89 struct ifinfomsg info; in dev_create()
147 struct ifinfomsg info; in dev_delete()
H A Dtun.c71 struct ifinfomsg ifm; in tun_delete()
/openbmc/linux/include/net/
H A Drtnetlink.h208 int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm,
/openbmc/linux/tools/include/uapi/linux/
H A Dif_link.h371 #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 Dif_link.h397 #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 Dxfrm_info.c207 struct ifinfomsg info; in setup_xfrmi_external_dev()
/openbmc/linux/net/bridge/
H A Dbr_netlink.c220 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 Dxsk.c88 struct ifinfomsg msg;
401 req.nh.nlmsg_len = NLMSG_LENGTH(sizeof(struct ifinfomsg)); in xsk_set_mtu()

12