Home
last modified time | relevance | path

Searched full:netlink (Results 1 – 25 of 64) sorted by relevance

123

/openbmc/phosphor-networkd/src/
H A Dnetlink.hpp2 #include <linux/netlink.h>
16 namespace netlink namespace
33 /** @brief Receives all outstanding messages on a netlink socket
62 /** @brief Performs a netlink request of the specified type with the given
65 * @param[in] protocol - The netlink protocol to use when opening the socket
66 * @param[in] type - The netlink message type
67 * @param[in] flags - Additional netlink flags for the request
90 } // namespace netlink
H A Dnetlink.cpp1 #include "netlink.hpp"
3 #include <linux/netlink.h>
21 namespace netlink namespace
102 "netlink sendmsg"); in requestSend()
110 auto sock = socket(SocketDomain::Netlink, SocketType::Raw, in makeSocket()
132 // it gets truncated. The netlink docs guarantee packets will not exceed 8K in receive()
157 "netlink recvmsg"); in receive()
163 throw std::runtime_error("netlink recvmsg: Got empty payload"); in receive()
177 throw std::runtime_error("Extra unprocessed netlink messages"); in receive()
202 } // namespace netlink
H A Drtnetlink.cpp3 #include "netlink.hpp"
8 namespace phosphor::network::netlink namespace
21 auto [hdr, data] = netlink::extractRtAttr(msg); in parseVlanInfo()
36 auto [hdr, data] = netlink::extractRtAttr(msg); in parseLinkInfo()
56 const auto& ifinfo = netlink::extractRtData<ifinfomsg>(msg); in intfFromRtm()
63 auto [hdr, data] = netlink::extractRtAttr(msg); in intfFromRtm()
164 const auto& ndm = netlink::extractRtData<ndmsg>(msg); in neighFromRtm()
171 auto [hdr, data] = netlink::extractRtAttr(msg); in neighFromRtm()
184 } // namespace phosphor::network::netlink
H A Dargument.cpp69 " ncsi-netlink -x 3 -p 0 -i\n" in usage()
71 " ncsi-netlink -x 3 -p 0 -s\n" in usage()
73 " ncsi-netlink -x 3 -p 0 -c 1 -s\n" in usage()
75 " ncsi-netlink -x 3 -p 0 -r\n" in usage()
77 " ncsi-netlink -x 3 -j 1\n" in usage()
79 " ncsi-netlink -x 3 -p 0 -k 1\n" in usage()
H A Drtnetlink_server.cpp3 #include "netlink.hpp"
7 #include <linux/netlink.h>
14 namespace phosphor::network::netlink namespace
92 lg2::error("Failed handling netlink event: {ERROR}", "ERROR", e); in handler()
109 auto sock = socket(SocketDomain::Netlink, SocketType::Raw, in makeSock()
138 } // namespace phosphor::network::netlink
H A Drtnetlink_server.hpp11 namespace netlink namespace
31 /** @brief Gets the socket associated with this netlink server */
42 } // namespace netlink
H A Drtnetlink.hpp8 namespace phosphor::network::netlink namespace
20 } // namespace phosphor::network::netlink
H A Dmeson.build6 'ncsi-netlink',
62 'netlink.cpp',
H A Dsystem_queries.cpp3 #include "netlink.hpp"
124 netlink::performRequest( in deleteIntf()
130 err = netlink::extractRtData<nlmsgerr>(data).error; in deleteIntf()
H A Dncsi_util.hpp79 * netlink messages.
111 * netlink messages.
121 * netlink messages.
/openbmc/openbmc/poky/meta/recipes-extended/ethtool/
H A Dethtool_6.14.bb22 PACKAGECONFIG ?= "netlink"
23 PACKAGECONFIG[netlink] = "--enable-netlink,--disable-netlink,libmnl,"
34 if ${@bb.utils.contains('PACKAGECONFIG', 'netlink', 'false', 'true', d)}; then
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/dropwatch/dropwatch/
H A D0001-fix-bug-build-with-sysroot-head-file-instead-of-loca.patch19 #include <netlink/netlink.h>
20 #include <netlink/genl/genl.h>
21 #include <netlink/genl/ctrl.h>
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ifmetric/ifmetric/
H A Difmetric.c_typo.patch13 - fprintf(stderr, "NETLINK: Recieved corrupt RTA_OIF payload.\n");
14 + fprintf(stderr, "NETLINK: Received corrupt RTA_OIF payload.\n");
22 - fprintf(stderr, "NETLINK: Recieved corrupt RTA_PRIORITY payload.\n");
23 + fprintf(stderr, "NETLINK: Received corrupt RTA_PRIORITY payload.\n");
/openbmc/openbmc/poky/meta/recipes-extended/libmnl/
H A Dlibmnl_1.0.5.bb1 SUMMARY = "Minimalistic user-space Netlink utility library"
2 DESCRIPTION = "Minimalistic user-space library oriented to Netlink developers, providing \
3 …functions for common tasks in parsing, validating, and constructing both the Netlink header and TL…
/openbmc/openbmc/meta-ibm/recipes-phosphor/network/
H A Dphosphor-network_%.bbappend14 SRC_URI += " file://ncsi-netlink-ifindex"
30 FILES:${PN} += "${libexecdir}/ncsi-netlink-ifindex"
45 install -m 0755 ${UNPACKDIR}/ncsi-netlink-ifindex ${D}${libexecdir}
/openbmc/openbmc/poky/meta/recipes-support/libnl/
H A Dlibnl_3.11.0.bb1 SUMMARY = "A library for applications dealing with netlink sockets"
3 APIs to netlink protocol based Linux kernel interfaces. libnl is the core \
4 library implementing the fundamentals required to use the netlink protocol \
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-extended/dlm/dlm/
H A D0001-dlm_controld-remove-unnecessary-header-include.patch6 The timewarn netlink functionality got dropped and will be removed by
27 #include <linux/netlink.h>
/openbmc/docs/designs/
H A Dncsi-coredump.md46 implemented in ncsi-netlink and ncsi-mctp utility in phosphor-networkd:
53 call ncsi-netlink or ncsi-mctp by different NICTarget and generate dump file
89 | DumpFile <-------+ NCSI-NetLink | | NCSI-MCTP +--------> DumpFile |
94 Kernel |Netlink |MCTP
/openbmc/openbmc/poky/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant/
H A D0001-macsec_linux-Hardware-offload-requires-Linux-headers.patch34 #include <netlink/route/link.h>
35 #include <netlink/route/link/macsec.h>
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/
H A Dparselogs-ignores-common.txt34 NETLINK INITIALIZATION FAILED
39 netlink init failed
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/mdio-tools/
H A Dmdio-tools_1.3.1.bb9 RRECOMMENDS:${PN} = "kernel-module-mdio-netlink"
H A Dmdio-netlink_1.3.1.bb14 RPROVIDES:${PN} += "kernel-module-mdio-netlink"
/openbmc/phosphor-networkd/test/
H A Dtest_rtnetlink.cpp3 #include <linux/netlink.h>
10 namespace phosphor::network::netlink namespace
171 } // namespace phosphor::network::netlink
H A Dtest_netlink.cpp2 #include "netlink.hpp"
5 #include <linux/netlink.h>
21 namespace netlink namespace
312 netlink::performRequest(NETLINK_ROUTE, RTM_GETLINK, NLM_F_DUMP, msg, in doLinkDump()
338 } // namespace netlink
/openbmc/openbmc/meta-ibm/recipes-phosphor/network/network/
H A Dncsi-netlink-ifindex12 ncsi-netlink -x "$(cat "${IFPATH}")" "$@"

123