Searched refs:NLMSG_HDRLEN (Results 1 – 5 of 5) sorted by relevance
206 #define NLMSG_HDRLEN ((int)sizeof(struct nlmsghdr)) macro207 #define NLMSG_LENGTH(_len) ((_len) + NLMSG_HDRLEN)209 #define NLMSG_DATA(_hdr) NL_ITEM_DATA(_hdr, NLMSG_HDRLEN)212 #define NLMSG_OK(_hdr, _len) NL_ITEM_OK(_hdr, _len, NLMSG_HDRLEN, _NLMSG_LEN)219 #define NLMSG_HDRLEN ((int)NLMSG_ALIGN(sizeof(struct nlmsghdr))) macro
384 int off = NLMSG_HDRLEN + NETLINK_ALIGN(hdrlen); in snl_parse_attrs()
50 #define NLMSG_HDRLEN ((int) NLMSG_ALIGN(sizeof(struct nlmsghdr))) macro
448 int len = hdr->nlmsg_len - NLMSG_HDRLEN; in nl80211_nlmsg_clear()
46 char buf[NLMSG_HDRLEN]; /* align */118 m->u.nlmsg.nlmsg_len = NLMSG_HDRLEN; in nlmsg_new()