Home | History | Annotate | Download | only in libipq

Lines Matching defs:nlh

129 	struct nlmsghdr *nlh;
185 nlh = (struct nlmsghdr *)buf;
186 if (nlh->nlmsg_flags & MSG_TRUNC || nlh->nlmsg_len > status) {
273 struct nlmsghdr nlh;
278 req.nlh.nlmsg_len = NLMSG_LENGTH(sizeof(req));
279 req.nlh.nlmsg_flags = NLM_F_REQUEST;
280 req.nlh.nlmsg_type = IPQM_MODE;
281 req.nlh.nlmsg_pid = h->local.nl_pid;
284 return ipq_netlink_sendto(h, (void *)&req, req.nlh.nlmsg_len);
322 struct nlmsghdr nlh;
327 memset(&nlh, 0, sizeof(nlh));
328 nlh.nlmsg_flags = NLM_F_REQUEST;
329 nlh.nlmsg_type = IPQM_VERDICT;
330 nlh.nlmsg_pid = h->local.nl_pid;
335 iov[0].iov_base = &nlh;
336 iov[0].iov_len = sizeof(nlh);
339 tlen = sizeof(nlh) + sizeof(pm);
354 nlh.nlmsg_len = tlen;