Searched refs:genlhdr (Results 1 – 4 of 4) sorted by relevance
46 struct genlmsghdr * genlhdr; member
68 .genlhdr = ghdr, in cmd_msg_parser()
592 struct genlmsghdr* genlhdr = (struct genlmsghdr*)NLMSG_DATA(hdr); in syz_genetlink_get_family_id() local593 struct nlattr* attr = (struct nlattr*)(genlhdr + 1); in syz_genetlink_get_family_id()594 hdr->nlmsg_len = sizeof(*hdr) + sizeof(*genlhdr) + sizeof(*attr) + GENL_NAMSIZ; in syz_genetlink_get_family_id()597 genlhdr->cmd = CTRL_CMD_GETFAMILY; in syz_genetlink_get_family_id()
1182 struct genlmsghdr* genlhdr = (struct genlmsghdr*)NLMSG_DATA(hdr);1183 struct nlattr* attr = (struct nlattr*)(genlhdr + 1);1184 hdr->nlmsg_len = sizeof(*hdr) + sizeof(*genlhdr) + sizeof(*attr) + GENL_NAMSIZ;1187 genlhdr->cmd = CTRL_CMD_GETFAMILY;