Searched refs:msgBuf (Results 1 – 1 of 1) sorted by relevance
77 void appendRTAttr(std::string& msgBuf, unsigned short type, in appendRTAttr() argument80 const auto rta_begin = msgBuf.size(); in appendRTAttr()81 msgBuf.append(RTA_SPACE(data.size()), '\0'); in appendRTAttr()82 auto& rta = *reinterpret_cast<rtattr*>(msgBuf.data() + rta_begin); in appendRTAttr()86 msgBuf.data() + rta_begin + RTA_LENGTH(0)); in appendRTAttr()97 std::string msgBuf; in sendmsg_link_dump() local98 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()[all …]