Lines Matching defs:hdr
312 struct genlmsghdr *hdr = (void *) &info->user_ptr[0];
316 info->genlhdr = hdr;
317 hdr->cmd = cmd;
448 * @hdr: user specific header
450 static inline void genlmsg_end(struct sk_buff *skb, void *hdr)
452 nlmsg_end(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN);
458 * @hdr: generic netlink message header
460 static inline void genlmsg_cancel(struct sk_buff *skb, void *hdr)
462 if (hdr)
463 nlmsg_cancel(skb, hdr - GENL_HDRLEN - NLMSG_HDRLEN);