Searched refs:gnlh (Results 1 – 4 of 4) sorted by relevance
274 struct genlmsghdr *gnlh;281 gnlh = mnl_nlmsg_put_extra_header(nlh, sizeof(*gnlh));284 gnlh->reserved = 0;295 struct genlmsghdr *gnlh;302 gnlh = mnl_nlmsg_put_extra_header(nlh, sizeof(*gnlh));305 gnlh->reserved = 0;319 struct genlmsghdr *gnlh;326 gnlh = mnl_nlmsg_put_extra_header(nlh, sizeof(*gnlh));329 gnlh->reserved = 0;344 gnlh = mnl_nlmsg_put_extra_header(nlh, sizeof(*gnlh));[all …]
368 static inline void *genlmsg_data(const struct genlmsghdr *gnlh) in genlmsg_data() argument370 return ((unsigned char *) gnlh + GENL_HDRLEN); in genlmsg_data()377 static inline int genlmsg_len(const struct genlmsghdr *gnlh) in genlmsg_len() argument379 struct nlmsghdr *nlh = (struct nlmsghdr *)((unsigned char *)gnlh - in genlmsg_len()
177 struct genlmsghdr *gnlh = (struct genlmsghdr *)nlmsg_data(nlh); in reset_per_cpu_data() local179 genlmsg_end(skb, genlmsg_data(gnlh)); in reset_per_cpu_data()
4385 struct genlmsghdr *gnlh; in hwsim_virtio_handle_cmd() local4391 gnlh = nlmsg_data(nlh); in hwsim_virtio_handle_cmd()4401 switch (gnlh->cmd) { in hwsim_virtio_handle_cmd()4409 pr_err_ratelimited("hwsim: invalid cmd: %d\n", gnlh->cmd); in hwsim_virtio_handle_cmd()
Completed in 25 milliseconds