Lines Matching refs:nlmsg_len
52 .nlmsg_len = sizeof(struct msg), in test_nlattr()
70 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nlattr()
84 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nlattr()
97 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nlattr()
124 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nlattr()
144 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nlattr()
163 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nlattr()
181 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nlattr()
216 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nlattr()
250 .nlmsg_len = sizeof(struct msg), in test_nla_type()
267 memcpy(&msg->nlh.nlmsg_len, &msg_len, sizeof(msg_len)); in test_nla_type()
303 rc = sendto(fd, msg, msg->nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0); in test_nla_type()
310 fd, msg->nlh.nlmsg_len, nla->nla_len, UNIX_DIAG_SHUTDOWN + 1, in test_nla_type()
311 msg->nlh.nlmsg_len, sprintrc(rc)); in test_nla_type()