Lines Matching refs:hdrlen
72 struct nlattr *nla = NLMSG_ATTR(nlh, hdrlen); \
75 .nla_len = msg_len - NLMSG_SPACE(hdrlen) \
86 msg_len - NLMSG_SPACE(hdrlen) - NLA_HDRLEN); \
174 const unsigned int hdrlen = sizeof(struct ifinfomsg); in main() local
175 void *nlh0 = midtail_alloc(NLMSG_SPACE(hdrlen), 3 * NLA_HDRLEN + 256); in main()
182 TEST_NESTED_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
188 TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, in main()
193 TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, in main()
201 TEST_NESTED_NLATTR_ARRAY_EX(fd, nlh0, hdrlen, in main()
207 TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, in main()
212 TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, in main()
231 TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, in main()
242 TEST_NESTED_NLATTR_ARRAY_EX(fd, nlh0, hdrlen, in main()
249 TEST_NESTED_NLATTR_ARRAY_EX(fd, nlh0, hdrlen, in main()
255 TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, in main()
265 TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, in main()
281 TEST_NESTED_NLATTR_ARRAY_EX(fd, nlh0, hdrlen, in main()
291 TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, in main()
310 TEST_NESTED_NLATTR_OBJECT_EX_(fd, nlh0, hdrlen, in main()