Lines Matching refs:hdr
49 struct genlmsghdr *hdr;
419 void *hdr;
421 hdr = genlmsg_put(msg, info->snd_pid, info->snd_seq, &switch_fam,
423 if (IS_ERR(hdr))
433 return genlmsg_end(msg, hdr);
435 genlmsg_cancel(msg, hdr);
485 struct genlmsghdr *hdr = nlmsg_data(info->nlhdr);
501 switch(hdr->cmd) {
571 struct genlmsghdr *hdr = nlmsg_data(info->nlhdr);
584 switch(hdr->cmd) {
823 struct genlmsghdr *hdr = nlmsg_data(info->nlhdr);
829 int cmd = hdr->cmd;
854 hdr = genlmsg_put(msg, info->snd_pid, info->snd_seq, &switch_fam,
856 if (IS_ERR(hdr))
877 err = genlmsg_end(msg, hdr);
898 void *hdr;
900 hdr = genlmsg_put(msg, pid, seq, &switch_fam, flags,
902 if (IS_ERR(hdr))
913 return genlmsg_end(msg, hdr);
915 genlmsg_cancel(msg, hdr);