Home
last modified time | relevance | path

Searched refs:nlh0 (Results 1 – 16 of 16) sorted by relevance

/external/strace/tests-m32/
Dnetlink_sock_diag.c90 void *const nlh0 = tail_alloc(NLMSG_HDRLEN); in test_odd_family_req() local
94 nlh = nlh0 - sizeof(*family); in test_odd_family_req()
130 memmove(nlh0, nlh, NLMSG_HDRLEN); in test_odd_family_req()
131 nlh = nlh0; in test_odd_family_req()
145 nlh = nlh0 - (sizeof(*family) + 4); in test_odd_family_req()
187 void *const nlh0 = tail_alloc(NLMSG_HDRLEN); in test_odd_family_msg() local
191 nlh = nlh0 - sizeof(*family); in test_odd_family_msg()
227 memmove(nlh0, nlh, NLMSG_HDRLEN); in test_odd_family_msg()
228 nlh = nlh0; in test_odd_family_msg()
242 nlh = nlh0 - (sizeof(*family) + 4); in test_odd_family_msg()
[all …]
Dnlattr_inet_diag_msg.c97 void *const nlh0 = tail_alloc(NLMSG_SPACE(hdrlen)); in main() local
108 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
123 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
140 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
157 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
168 TEST_NLATTR_ARRAY(fd, nlh0, hdrlen, in main()
173 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
179 TEST_NLATTR(fd, nlh0, hdrlen, in main()
186 TEST_NLATTR(fd, nlh0, hdrlen, in main()
191 TEST_NLATTR(fd, nlh0, hdrlen, in main()
Dnetlink_protocol.c202 void *const nlh0 = tail_alloc(NLMSG_HDRLEN); in test_nlmsgerr() local
206 nlh = nlh0; in test_nlmsgerr()
216 fd, nlh->nlmsg_len, nlh0 + NLMSG_HDRLEN, in test_nlmsgerr()
220 nlh = nlh0 - 2; in test_nlmsgerr()
221 memmove(nlh, nlh0, sizeof(*nlh)); in test_nlmsgerr()
230 nlh = nlh0 - sizeof(err->error); in test_nlmsgerr()
258 fd, nlh->nlmsg_len, nlh0 + NLMSG_HDRLEN, in test_nlmsgerr()
262 nlh = nlh0 - sizeof(*err); in test_nlmsgerr()
286 nlh = nlh0 - sizeof(*err) - 4; in test_nlmsgerr()
316 void *const nlh0 = tail_alloc(NLMSG_HDRLEN); in test_nlmsg_done() local
[all …]
Dnlattr_unix_diag_msg.c80 void *const nlh0 = tail_alloc(NLMSG_SPACE(hdrlen)); in main() local
89 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
102 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
110 TEST_NLATTR_ARRAY(fd, nlh0, hdrlen, in main()
Dnlattr_netlink_diag_msg.c81 void *const nlh0 = tail_alloc(NLMSG_SPACE(hdrlen)); in main() local
90 TEST_NLATTR_ARRAY(fd, nlh0, hdrlen, in main()
100 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
111 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
/external/strace/tests/
Dnetlink_sock_diag.c90 void *const nlh0 = tail_alloc(NLMSG_HDRLEN); in test_odd_family_req() local
94 nlh = nlh0 - sizeof(*family); in test_odd_family_req()
130 memmove(nlh0, nlh, NLMSG_HDRLEN); in test_odd_family_req()
131 nlh = nlh0; in test_odd_family_req()
145 nlh = nlh0 - (sizeof(*family) + 4); in test_odd_family_req()
187 void *const nlh0 = tail_alloc(NLMSG_HDRLEN); in test_odd_family_msg() local
191 nlh = nlh0 - sizeof(*family); in test_odd_family_msg()
227 memmove(nlh0, nlh, NLMSG_HDRLEN); in test_odd_family_msg()
228 nlh = nlh0; in test_odd_family_msg()
242 nlh = nlh0 - (sizeof(*family) + 4); in test_odd_family_msg()
[all …]
Dnlattr_inet_diag_msg.c97 void *const nlh0 = tail_alloc(NLMSG_SPACE(hdrlen)); in main() local
108 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
123 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
140 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
157 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
168 TEST_NLATTR_ARRAY(fd, nlh0, hdrlen, in main()
173 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
179 TEST_NLATTR(fd, nlh0, hdrlen, in main()
186 TEST_NLATTR(fd, nlh0, hdrlen, in main()
191 TEST_NLATTR(fd, nlh0, hdrlen, in main()
Dnetlink_protocol.c202 void *const nlh0 = tail_alloc(NLMSG_HDRLEN); in test_nlmsgerr() local
206 nlh = nlh0; in test_nlmsgerr()
216 fd, nlh->nlmsg_len, nlh0 + NLMSG_HDRLEN, in test_nlmsgerr()
220 nlh = nlh0 - 2; in test_nlmsgerr()
221 memmove(nlh, nlh0, sizeof(*nlh)); in test_nlmsgerr()
230 nlh = nlh0 - sizeof(err->error); in test_nlmsgerr()
258 fd, nlh->nlmsg_len, nlh0 + NLMSG_HDRLEN, in test_nlmsgerr()
262 nlh = nlh0 - sizeof(*err); in test_nlmsgerr()
286 nlh = nlh0 - sizeof(*err) - 4; in test_nlmsgerr()
316 void *const nlh0 = tail_alloc(NLMSG_HDRLEN); in test_nlmsg_done() local
[all …]
Dnlattr_unix_diag_msg.c80 void *const nlh0 = tail_alloc(NLMSG_SPACE(hdrlen)); in main() local
89 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
102 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
110 TEST_NLATTR_ARRAY(fd, nlh0, hdrlen, in main()
Dnlattr_netlink_diag_msg.c81 void *const nlh0 = tail_alloc(NLMSG_SPACE(hdrlen)); in main() local
90 TEST_NLATTR_ARRAY(fd, nlh0, hdrlen, in main()
100 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
111 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
/external/strace/tests-mx32/
Dnetlink_sock_diag.c90 void *const nlh0 = tail_alloc(NLMSG_HDRLEN); in test_odd_family_req() local
94 nlh = nlh0 - sizeof(*family); in test_odd_family_req()
130 memmove(nlh0, nlh, NLMSG_HDRLEN); in test_odd_family_req()
131 nlh = nlh0; in test_odd_family_req()
145 nlh = nlh0 - (sizeof(*family) + 4); in test_odd_family_req()
187 void *const nlh0 = tail_alloc(NLMSG_HDRLEN); in test_odd_family_msg() local
191 nlh = nlh0 - sizeof(*family); in test_odd_family_msg()
227 memmove(nlh0, nlh, NLMSG_HDRLEN); in test_odd_family_msg()
228 nlh = nlh0; in test_odd_family_msg()
242 nlh = nlh0 - (sizeof(*family) + 4); in test_odd_family_msg()
[all …]
Dnlattr_inet_diag_msg.c97 void *const nlh0 = tail_alloc(NLMSG_SPACE(hdrlen)); in main() local
108 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
123 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
140 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
157 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
168 TEST_NLATTR_ARRAY(fd, nlh0, hdrlen, in main()
173 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
179 TEST_NLATTR(fd, nlh0, hdrlen, in main()
186 TEST_NLATTR(fd, nlh0, hdrlen, in main()
191 TEST_NLATTR(fd, nlh0, hdrlen, in main()
Dnetlink_protocol.c202 void *const nlh0 = tail_alloc(NLMSG_HDRLEN); in test_nlmsgerr() local
206 nlh = nlh0; in test_nlmsgerr()
216 fd, nlh->nlmsg_len, nlh0 + NLMSG_HDRLEN, in test_nlmsgerr()
220 nlh = nlh0 - 2; in test_nlmsgerr()
221 memmove(nlh, nlh0, sizeof(*nlh)); in test_nlmsgerr()
230 nlh = nlh0 - sizeof(err->error); in test_nlmsgerr()
258 fd, nlh->nlmsg_len, nlh0 + NLMSG_HDRLEN, in test_nlmsgerr()
262 nlh = nlh0 - sizeof(*err); in test_nlmsgerr()
286 nlh = nlh0 - sizeof(*err) - 4; in test_nlmsgerr()
316 void *const nlh0 = tail_alloc(NLMSG_HDRLEN); in test_nlmsg_done() local
[all …]
Dnlattr_unix_diag_msg.c80 void *const nlh0 = tail_alloc(NLMSG_SPACE(hdrlen)); in main() local
89 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
102 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
110 TEST_NLATTR_ARRAY(fd, nlh0, hdrlen, in main()
Dnlattr_netlink_diag_msg.c81 void *const nlh0 = tail_alloc(NLMSG_SPACE(hdrlen)); in main() local
90 TEST_NLATTR_ARRAY(fd, nlh0, hdrlen, in main()
100 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
111 TEST_NLATTR_OBJECT(fd, nlh0, hdrlen, in main()
/external/iputils/ninfod/
Dni_ifaddrs.c353 struct nlmsghdr *nlh, *nlh0; in ni_ifaddrs() local
383 if (!(nlh0 = nlm->nlh)) in ni_ifaddrs()
385 for (nlh = nlh0; NLMSG_OK(nlh, nlmlen); nlh = NLMSG_NEXT(nlh, nlmlen)) { in ni_ifaddrs()