Searched defs:nlmsg_len (Results 1 - 1 of 1) sorted by relevance

/system/core/libnl_2/
H A Dmsg.c52 nlh->nlmsg_len = NLMSG_HDRLEN;
101 return (void *)((char *)nlh + NLMSG_ALIGN(nlh->nlmsg_len));
108 int len = nlmsg_len(nlh);
123 return nlh->nlmsg_len - NLMSG_HDRLEN;
133 int nlmsg_len(const struct nlmsghdr *nlh) function
135 return nlh->nlmsg_len;
142 rem >= nlmsg_len(nlh) &&
143 nlmsg_len(nlh) >= (int) sizeof(struct nlmsghdr) &&
144 nlmsg_len(nlh) <= (rem);

Completed in 2 milliseconds