Searched refs:nlmsg (Results 1 – 7 of 7) sorted by relevance
/system/netd/server/ |
D | NetlinkListener.cpp | 52 const NetlinkListener::DispatchFn kDefaultDispatchFn = [](const nlmsghdr& nlmsg, const Slice) { in __anoncbe671fe0202() argument 54 ss << nlmsg; in __anoncbe671fe0202() 62 const auto rxErrorHandler = [](const nlmsghdr& nlmsg, const Slice msg) { in __anoncbe671fe0402() argument 64 ss << nlmsg << " " << msg << " " << netdutils::toHex(msg, 32); in __anoncbe671fe0402() 102 const auto rxHandler = [this](const nlmsghdr& nlmsg, const Slice& buf) { in run() argument 104 const auto& fn = findWithDefault(mDispatchMap, nlmsg.nlmsg_type, kDefaultDispatchFn); in run() 105 fn(nlmsg, buf); in run()
|
D | NFLogListenerTest.cpp | 89 nlmsghdr nlmsg; in sendEmptyMsg() member 93 msg.nlmsg.nlmsg_type = kNFLogPacketMsgType; in sendEmptyMsg() 94 msg.nlmsg.nlmsg_len = sizeof(msg); in sendEmptyMsg() 96 mPacketFn(msg.nlmsg, drop(makeSlice(msg), sizeof(msg.nlmsg))); in sendEmptyMsg()
|
D | WakeupControllerTest.cpp | 85 nlmsghdr nlmsg; in TEST_F() member 116 mMessageHandler(msg.nlmsg, msg.nfmsg, payload); in TEST_F() 127 nlmsghdr nlmsg; in TEST_F() member 165 mMessageHandler(msg.nlmsg, msg.nfmsg, payload); in TEST_F() 173 nlmsghdr nlmsg; in TEST_F() member 186 mMessageHandler(msg.nlmsg, msg.nfmsg, payload); in TEST_F()
|
D | NetlinkCommands.cpp | 78 nlmsghdr nlmsg = { in sendNetlinkRequest() local 82 iov[0].iov_base = &nlmsg; in sendNetlinkRequest() 83 iov[0].iov_len = sizeof(nlmsg); in sendNetlinkRequest() 85 nlmsg.nlmsg_len += iov[i].iov_len; in sendNetlinkRequest()
|
D | NFLogListener.cpp | 54 const NFLogListener::DispatchFn kDefaultDispatchFn = [](const nlmsghdr& nlmsg, 57 ss << nlmsg << " " << nfmsg << " " << msg << " " << netdutils::toHex(msg, 32); in __anon5a1cf7df0202() 150 const auto rxHandler = [this](const nlmsghdr& nlmsg, const Slice msg) { in NFLogListener() argument 155 fn(nlmsg, nfmsg, drop(msg, sizeof(nfmsg))); in NFLogListener()
|
D | NFLogListener.h | 30 std::function<void(const nlmsghdr& nlmsg, const nfgenmsg& nfmsg,
|
D | NetlinkListener.h | 35 using DispatchFn = std::function<void(const nlmsghdr& nlmsg, const netdutils::Slice msg)>;
|