Lines Matching refs:ghdr
148 struct genlmsghdr *ghdr; in genlmsg_valid_hdr() local
153 ghdr = nlmsg_data(nlh); in genlmsg_valid_hdr()
154 if (genlmsg_len(ghdr) < NLMSG_ALIGN(hdrlen)) in genlmsg_valid_hdr()
163 struct genlmsghdr *ghdr; in genlmsg_validate() local
168 ghdr = nlmsg_data(nlh); in genlmsg_validate()
169 return nla_validate(genlmsg_attrdata(ghdr, hdrlen), in genlmsg_validate()
170 genlmsg_attrlen(ghdr, hdrlen), maxtype, policy); in genlmsg_validate()
176 struct genlmsghdr *ghdr; in genlmsg_parse() local
181 ghdr = nlmsg_data(nlh); in genlmsg_parse()
182 return nla_parse(tb, maxtype, genlmsg_attrdata(ghdr, hdrlen), in genlmsg_parse()
183 genlmsg_attrlen(ghdr, hdrlen), policy); in genlmsg_parse()