/external/strace/ |
netlink.h | 47 #undef NLMSG_HDRLEN 48 #define NLMSG_HDRLEN ((unsigned int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
|
/external/strace/tests/ |
nlattr_nlmsgerr.c | 49 .nlmsg_len = NLMSG_HDRLEN + 4, 64 msg_len, NLMSG_HDRLEN + 4);
|
netlink_selinux.c | 57 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, 4); 72 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 86 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg));
|
netlink_protocol.c | 208 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(*err) + 4); 213 nlh->nlmsg_len = NLMSG_HDRLEN + 4; 222 fd, nlh->nlmsg_len, nlh0 + NLMSG_HDRLEN, 225 nlh->nlmsg_len = NLMSG_HDRLEN + 2; 230 rc = sendto(fd, nlh, NLMSG_HDRLEN + 2, MSG_DONTWAIT, NULL, 0); 234 fd, NLMSG_HDRLEN + 2, NLMSG_HDRLEN + 2, sprintrc(rc)); 238 nlh->nlmsg_len = NLMSG_HDRLEN + sizeof(err->error); 265 fd, nlh->nlmsg_len, nlh0 + NLMSG_HDRLEN, 270 nlh->nlmsg_len = NLMSG_HDRLEN + sizeof(*err) [all...] |
netlink_route.c | 148 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(num)); 160 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(buf)); 215 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(ifinfo)); 236 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 261 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 288 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 312 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 328 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 346 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 363 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)) [all...] |
netlink_sock_diag.c | 132 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(buf)); 182 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(buf)); 233 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(req)); 255 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 276 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(req)); 312 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 337 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(req)); 358 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 386 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(req)); 452 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(req)) [all...] |
netlink_crypto.c | 110 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(alg)); 152 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, 4);
|
netlink_netfilter.c | 92 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(num)); 115 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN,
|
/external/strace/tests-m32/ |
nlattr_nlmsgerr.c | 49 .nlmsg_len = NLMSG_HDRLEN + 4, 64 msg_len, NLMSG_HDRLEN + 4);
|
netlink_selinux.c | 57 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, 4); 72 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 86 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg));
|
netlink_protocol.c | 208 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(*err) + 4); 213 nlh->nlmsg_len = NLMSG_HDRLEN + 4; 222 fd, nlh->nlmsg_len, nlh0 + NLMSG_HDRLEN, 225 nlh->nlmsg_len = NLMSG_HDRLEN + 2; 230 rc = sendto(fd, nlh, NLMSG_HDRLEN + 2, MSG_DONTWAIT, NULL, 0); 234 fd, NLMSG_HDRLEN + 2, NLMSG_HDRLEN + 2, sprintrc(rc)); 238 nlh->nlmsg_len = NLMSG_HDRLEN + sizeof(err->error); 265 fd, nlh->nlmsg_len, nlh0 + NLMSG_HDRLEN, 270 nlh->nlmsg_len = NLMSG_HDRLEN + sizeof(*err) [all...] |
netlink_route.c | 148 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(num)); 160 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(buf)); 215 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(ifinfo)); 236 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 261 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 288 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 312 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 328 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 346 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 363 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)) [all...] |
netlink_sock_diag.c | 132 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(buf)); 182 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(buf)); 233 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(req)); 255 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 276 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(req)); 312 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 337 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(req)); 358 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 386 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(req)); 452 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(req)) [all...] |
netlink_crypto.c | 110 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(alg)); 152 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, 4);
|
/external/strace/tests-mx32/ |
nlattr_nlmsgerr.c | 49 .nlmsg_len = NLMSG_HDRLEN + 4, 64 msg_len, NLMSG_HDRLEN + 4);
|
netlink_selinux.c | 57 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, 4); 72 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 86 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg));
|
netlink_protocol.c | 208 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(*err) + 4); 213 nlh->nlmsg_len = NLMSG_HDRLEN + 4; 222 fd, nlh->nlmsg_len, nlh0 + NLMSG_HDRLEN, 225 nlh->nlmsg_len = NLMSG_HDRLEN + 2; 230 rc = sendto(fd, nlh, NLMSG_HDRLEN + 2, MSG_DONTWAIT, NULL, 0); 234 fd, NLMSG_HDRLEN + 2, NLMSG_HDRLEN + 2, sprintrc(rc)); 238 nlh->nlmsg_len = NLMSG_HDRLEN + sizeof(err->error); 265 fd, nlh->nlmsg_len, nlh0 + NLMSG_HDRLEN, 270 nlh->nlmsg_len = NLMSG_HDRLEN + sizeof(*err) [all...] |
netlink_route.c | 148 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(num)); 160 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(buf)); 215 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(ifinfo)); 236 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 261 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 288 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 312 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 328 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 346 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 363 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)) [all...] |
netlink_sock_diag.c | 132 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(buf)); 182 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(buf)); 233 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(req)); 255 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 276 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(req)); 312 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 337 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(req)); 358 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(msg)); 386 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(req)); 452 void *const nlh0 = midtail_alloc(NLMSG_HDRLEN, sizeof(req)) [all...] |
/external/libnl/include/linux-private/linux/ |
netlink.h | 77 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 78 #define NLMSG_LENGTH(len) ((len)+NLMSG_ALIGN(NLMSG_HDRLEN))
|
/external/libnl/lib/genl/ |
genl.c | 228 nlh = (const struct nlmsghdr *)((const unsigned char *) gnlh - NLMSG_HDRLEN); 229 return (nlh->nlmsg_len - GENL_HDRLEN - NLMSG_HDRLEN);
|
/external/libnl/include/netlink/ |
netlink-kernel.h | 213 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
|
/bionic/libc/kernel/uapi/linux/ |
netlink.h | 80 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 81 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN)
|
/external/iproute2/include/uapi/linux/ |
netlink.h | 91 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 92 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN)
|
/external/kernel-headers/original/uapi/linux/ |
netlink.h | 91 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) 92 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN)
|