Lines Matching refs:ghdr
119 struct genlmsghdr *ghdr; in genlmsg_valid_hdr() local
124 ghdr = nlmsg_data(nlh); in genlmsg_valid_hdr()
125 if (genlmsg_len(ghdr) < NLMSG_ALIGN(hdrlen)) in genlmsg_valid_hdr()
154 struct genlmsghdr *ghdr; in genlmsg_validate() local
159 ghdr = nlmsg_data(nlh); in genlmsg_validate()
160 return nla_validate(genlmsg_attrdata(ghdr, hdrlen), in genlmsg_validate()
161 genlmsg_attrlen(ghdr, hdrlen), maxtype, policy); in genlmsg_validate()
194 struct genlmsghdr *ghdr; in genlmsg_parse() local
199 ghdr = nlmsg_data(nlh); in genlmsg_parse()
200 return nla_parse(tb, maxtype, genlmsg_attrdata(ghdr, hdrlen), in genlmsg_parse()
201 genlmsg_attrlen(ghdr, hdrlen), policy); in genlmsg_parse()