Searched refs:NLMSG_HDRLEN (Results 1 – 9 of 9) sorted by relevance
230 nlh = (const struct nlmsghdr *)((const unsigned char *) gnlh - NLMSG_HDRLEN); in genlmsg_len()231 return (nlh->nlmsg_len - GENL_HDRLEN - NLMSG_HDRLEN); in genlmsg_len()
91 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) macro92 #define NLMSG_LENGTH(len) ((len) + NLMSG_HDRLEN)
213 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr)))
58 return NLMSG_HDRLEN + payload; in nlmsg_size()109 return (unsigned char *) nlh + NLMSG_HDRLEN; in nlmsg_data()125 return nlh->nlmsg_len - NLMSG_HDRLEN; in nlmsg_datalen()515 if (n->nm_nlh->nlmsg_len < NLMSG_HDRLEN) in nlmsg_put()
50 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) macro
383 int len = hdr->nlmsg_len - NLMSG_HDRLEN; in nl80211_nlmsg_clear()
386 int len = hdr->nlmsg_len - NLMSG_HDRLEN; in nl80211_nlmsg_clear()
1228 <---- NLMSG_HDRLEN -----> <- NLMSG_ALIGN(len) -> <---- NLMSG_HDRLEN ---