Lines Matching refs:nlh
98 nlmsghdr nlh; in sendDumpRequest() member
101 .nlh = { in sendDumpRequest()
119 request.nlh.nlmsg_len = len; in sendDumpRequest()
207 NetlinkDumpCallback callback = [this, proto, shouldDestroy] (nlmsghdr *nlh) { in readDiagMsg() argument
208 const inet_diag_msg *msg = reinterpret_cast<inet_diag_msg *>(NLMSG_DATA(nlh)); in readDiagMsg()
218 NetlinkDumpCallback callback = [tcpInfoReader] (nlmsghdr *nlh) { in readDiagMsgWithTcpInfo() argument
219 if (nlh->nlmsg_type != SOCK_DIAG_BY_FAMILY) { in readDiagMsgWithTcpInfo()
220 ALOGE("expected nlmsg_type=SOCK_DIAG_BY_FAMILY, got nlmsg_type=%d", nlh->nlmsg_type); in readDiagMsgWithTcpInfo()
226 inet_diag_msg *msg = reinterpret_cast<inet_diag_msg *>(NLMSG_DATA(nlh)); in readDiagMsgWithTcpInfo()
227 uint32_t attr_len = nlh->nlmsg_len - NLMSG_LENGTH(sizeof(*msg)); in readDiagMsgWithTcpInfo()
274 .nlh = { in sockDestroy()
285 request.nlh.nlmsg_len = sizeof(request); in sockDestroy()