Searched refs:nlh (Results 1 – 4 of 4) sorted by relevance
155 struct nlmsghdr *nlh in handleMessage() argument160 dataMsg = nlh; in handleMessage()236 struct nlmsghdr *nlh = NULL; in writeData() local250 nlh = (struct nlmsghdr *)malloc( in writeData()253 nlh->nlmsg_len = NLMSG_SPACE(len); in writeData()254 nlh->nlmsg_pid = selfPid; in writeData()255 nlh->nlmsg_flags = NLM_F_REQUEST; in writeData()256 nlh->nlmsg_seq = sequenceMagic; in writeData()259 memcpy(NLMSG_DATA(nlh), buffer, len); in writeData()261 iov.iov_base = (void *)nlh; in writeData()[all …]
204 struct nlmsghdr *nlh
72 struct nlmsghdr *nlh = NULL; in run() local92 nlh = (struct nlmsghdr *)malloc(NLMSG_SPACE(MAX_PAYLOAD)); in run()94 iov.iov_base = (void *)nlh; in run()101 memset(nlh, 0, NLMSG_SPACE(MAX_PAYLOAD)); in run()110 if (NLMSG_OK(nlh, len)) { in run()111 handleMessage(nlh); in run()123 struct nlmsghdr *nlh in handleMessage() argument126 uint32_t seq = nlh->nlmsg_seq; in handleMessage()127 uint32_t pid = nlh->nlmsg_pid; in handleMessage()142 connection->handleMessage(nlh); in handleMessage()
100 struct nlmsghdr *nlh