Lines Matching refs:nlh
129 struct nlmsghdr *nlh;
185 nlh = (struct nlmsghdr *)buf;
186 if (nlh->nlmsg_flags & MSG_TRUNC || nlh->nlmsg_len > status) {
272 struct nlmsghdr nlh;
277 req.nlh.nlmsg_len = NLMSG_LENGTH(sizeof(req));
278 req.nlh.nlmsg_flags = NLM_F_REQUEST;
279 req.nlh.nlmsg_type = IPQM_MODE;
280 req.nlh.nlmsg_pid = h->local.nl_pid;
283 return ipq_netlink_sendto(h, (void *)&req, req.nlh.nlmsg_len);
321 struct nlmsghdr nlh;
326 memset(&nlh, 0, sizeof(nlh));
327 nlh.nlmsg_flags = NLM_F_REQUEST;
328 nlh.nlmsg_type = IPQM_VERDICT;
329 nlh.nlmsg_pid = h->local.nl_pid;
334 iov[0].iov_base = &nlh;
335 iov[0].iov_len = sizeof(nlh);
338 tlen = sizeof(nlh) + sizeof(pm);
353 nlh.nlmsg_len = tlen;