Home
last modified time | relevance | path

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

/openbmc/phosphor-networkd/test/
H A Dmock_syscall.cpp80 const auto rta_begin = msgBuf.size(); in appendRTAttr()
97 std::string msgBuf; in sendmsg_link_dump() local
98 msgBuf.reserve(8192); in sendmsg_link_dump()
101 if (msgBuf.size() > 4096) in sendmsg_link_dump()
103 msgs.emplace(std::move(msgBuf)); in sendmsg_link_dump()
105 const auto nlbegin = msgBuf.size(); in sendmsg_link_dump()
119 appendRTAttr(msgBuf, IFLA_ADDRESS, in sendmsg_link_dump()
130 msgBuf.resize(NLMSG_ALIGN(msgBuf.size()), '\0'); in sendmsg_link_dump()
132 const auto nlbegin = msgBuf.size(); in sendmsg_link_dump()
133 msgBuf.append(NLMSG_SPACE(0), '\0'); in sendmsg_link_dump()
[all …]