Lines Matching refs:nlh
54 if (rep.nlh.nlmsg_type == NLMSG_ERROR) {
62 if ((int16_t)rep.nlh.nlmsg_seq != seq) {
64 "expected %u got %u", seq, rep.nlh.nlmsg_seq);
97 req.nlh.nlmsg_type = type;
98 req.nlh.nlmsg_len = NLMSG_SPACE(size);
99 req.nlh.nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK;
117 memcpy(NLMSG_DATA(&req.nlh), data, size);
132 req.nlh.nlmsg_seq = ++sequence;
136 rc = TEMP_FAILURE_RETRY(sendto(fd, &req, req.nlh.nlmsg_len, 0,
144 } else if ((uint32_t) rc != req.nlh.nlmsg_len) {
259 if (!NLMSG_OK(&rep->nlh, (size_t)len)) {