Home
last modified time | relevance | path

Searched refs:hdrlen (Results 1 – 2 of 2) sorted by relevance

/system/core/libnl_2/
Dmsg.c92 struct nlattr *nlmsg_attrdata(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrdata() argument
95 return (struct nlattr *)(data + NLMSG_ALIGN(hdrlen)); in nlmsg_attrdata()
127 int nlmsg_attrlen(const struct nlmsghdr *nlh, int hdrlen) in nlmsg_attrlen() argument
129 return nlmsg_datalen(nlh) - NLMSG_ALIGN(hdrlen); in nlmsg_attrlen()
/system/core/libnl_2/genl/
Dgenl.c30 struct nlattr *genlmsg_attrdata(const struct genlmsghdr *gnlh, int hdrlen) in genlmsg_attrdata() argument
33 ((char *) gnlh + GENL_HDRLEN + NLMSG_ALIGN(hdrlen)); in genlmsg_attrdata()
38 int genlmsg_attrlen(const struct genlmsghdr *gnlh, int hdrlen) in genlmsg_attrlen() argument
43 nla = genlmsg_attrdata(gnlh, hdrlen); in genlmsg_attrlen()
50 int hdrlen, int flags, uint8_t cmd, uint8_t version) in genlmsg_put() argument
58 new_size = NLMSG_HDRLEN + GENL_HDRLEN + hdrlen; in genlmsg_put()