Searched defs:nlh (Results 1 - 5 of 5) sorted by relevance
/system/core/logd/ |
H A D | libaudit.h | 45 struct nlmsghdr nlh; member in struct:audit_message
|
/system/netd/server/ |
H A D | SockDiag.h | 59 nlmsghdr nlh; member in struct:android::net::SockDiag::DestroyRequest
|
H A D | NetlinkCommands.cpp | 129 for (nlmsghdr *nlh = reinterpret_cast<nlmsghdr *>(buf); 130 NLMSG_OK(nlh, len); 131 nlh = NLMSG_NEXT(nlh, len)) { 132 switch (nlh->nlmsg_type) { 136 nlmsgerr *err = reinterpret_cast<nlmsgerr *>(NLMSG_DATA(nlh)); 140 callback(nlh); 161 NetlinkDumpCallback callback = [writeSock, deleteAction, shouldDelete, what] (nlmsghdr *nlh) { 162 if (!shouldDelete(nlh)) return; 164 nlh 203 getRtmU32Attribute(const nlmsghdr *nlh, int attribute) argument [all...] |
H A D | SockDiag.cpp | 98 nlmsghdr nlh; member in struct:android::net::__anon2099 101 .nlh = { 119 request.nlh.nlmsg_len = len; 207 NetlinkDumpCallback callback = [this, proto, shouldDestroy] (nlmsghdr *nlh) { 208 const inet_diag_msg *msg = reinterpret_cast<inet_diag_msg *>(NLMSG_DATA(nlh)); 218 NetlinkDumpCallback callback = [tcpInfoReader] (nlmsghdr *nlh) { 219 if (nlh->nlmsg_type != SOCK_DIAG_BY_FAMILY) { 220 ALOGE("expected nlmsg_type=SOCK_DIAG_BY_FAMILY, got nlmsg_type=%d", nlh->nlmsg_type); 226 inet_diag_msg *msg = reinterpret_cast<inet_diag_msg *>(NLMSG_DATA(nlh)); 227 uint32_t attr_len = nlh [all...] |
H A D | RouteController.cpp | 904 uint32_t getRulePriority(const nlmsghdr *nlh) { argument 905 return getRtmU32Attribute(nlh, FRA_PRIORITY); 908 uint32_t getRouteTable(const nlmsghdr *nlh) { argument 909 return getRtmU32Attribute(nlh, RTA_TABLE); 913 NetlinkDumpFilter shouldDelete = [] (nlmsghdr *nlh) { 915 return getRulePriority(nlh) != 0; 921 NetlinkDumpFilter shouldDelete = [table] (nlmsghdr *nlh) { 922 return getRouteTable(nlh) == table;
|
Completed in 146 milliseconds