Home
last modified time | relevance | path

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

/system/netd/server/
DNFLogListenerTest.cpp87 nlmsghdr nlmsg; in sendEmptyMsg() member
91 msg.nlmsg.nlmsg_type = kNFLogPacketMsgType; in sendEmptyMsg()
92 msg.nlmsg.nlmsg_len = sizeof(msg); in sendEmptyMsg()
94 mPacketFn(msg.nlmsg, drop(makeSlice(msg), sizeof(msg.nlmsg))); in sendEmptyMsg()
DNetlinkCommands.cpp93 nlmsghdr nlmsg = { in sendNetlinkRequest() local
97 iov[0].iov_base = &nlmsg; in sendNetlinkRequest()
98 iov[0].iov_len = sizeof(nlmsg); in sendNetlinkRequest()
100 nlmsg.nlmsg_len += iov[i].iov_len; in sendNetlinkRequest()
DWakeupControllerTest.cpp101 nlmsghdr nlmsg; in TEST_F() member
133 mMessageHandler(msg.nlmsg, msg.nfmsg, payload); in TEST_F()
151 nlmsghdr nlmsg; in TEST_F() member
209 mMessageHandler(msg.nlmsg, msg.nfmsg, payload); in TEST_F()
220 nlmsghdr nlmsg; in TEST_F() member
259 mMessageHandler(msg.nlmsg, msg.nfmsg, payload); in TEST_F()
267 nlmsghdr nlmsg; in TEST_F() member
281 mMessageHandler(msg.nlmsg, msg.nfmsg, payload); in TEST_F()
DNFLogListener.cpp53 const NFLogListener::DispatchFn kDefaultDispatchFn = [](const nlmsghdr& nlmsg,
56 ss << nlmsg << " " << nfmsg << " " << msg << " " << netdutils::toHex(msg, 32); in __anone8b324600202()
149 const auto rxHandler = [this](const nlmsghdr& nlmsg, const Slice msg) { in NFLogListener() argument
154 fn(nlmsg, nfmsg, drop(msg, sizeof(nfmsg))); in NFLogListener()
DNFLogListener.h31 std::function<void(const nlmsghdr& nlmsg, const nfgenmsg& nfmsg,
/system/netd/tests/
Dtun_interface.cpp169 nlmsghdr* nlmsg = reinterpret_cast<nlmsghdr*>(buf); in addAddress() local
170 if (nlmsg->nlmsg_type != RTM_NEWADDR) continue; in addAddress()
172 ifaddrmsg* ifaddr = reinterpret_cast<ifaddrmsg*>(NLMSG_DATA(nlmsg)); in addAddress()
177 int ifalen = IFA_PAYLOAD(nlmsg); in addAddress()