Lines Matching defs:nlh
752 struct nlmsghdr *nlh;
755 nlh = nlmsg_put(skb, portid, seq, family->id, GENL_HDRLEN +
757 if (nlh == NULL)
760 hdr = nlmsg_data(nlh);
781 struct nlmsghdr *nlh,
801 err = __nlmsg_parse(nlh, hdrlen, attrbuf, ops->maxattr, ops->policy,
817 struct nlmsghdr *nlh;
833 ctx->nlh->nlmsg_len < nlmsg_msg_size(ctx->hdrlen))
836 attrs = genl_family_rcv_msg_attrs_parse(ctx->family, ctx->nlh, ctx->extack,
849 info->info.snd_seq = cb->nlh->nlmsg_seq;
851 info->info.nlhdr = cb->nlh;
852 info->info.genlhdr = nlmsg_data(cb->nlh);
909 struct nlmsghdr *nlh,
926 ctx.nlh = nlh;
932 err = __netlink_dump_start(net->genl_sock, skb, nlh, &c);
940 struct nlmsghdr *nlh,
949 attrbuf = genl_family_rcv_msg_attrs_parse(family, nlh, extack,
955 info.snd_seq = nlh->nlmsg_seq;
958 info.nlhdr = nlh;
959 info.genlhdr = nlmsg_data(nlh);
983 struct nlmsghdr *nlh, struct genlmsghdr *hdr,
1000 flags = nlh->nlmsg_flags;
1014 struct nlmsghdr *nlh,
1018 struct genlmsghdr *hdr = nlmsg_data(nlh);
1028 if (nlh->nlmsg_len < nlmsg_msg_size(hdrlen))
1031 if (genl_header_check(family, nlh, hdr, extack))
1034 flags = (nlh->nlmsg_flags & NLM_F_DUMP) == NLM_F_DUMP ?
1048 return genl_family_rcv_msg_dumpit(family, skb, nlh, extack,
1051 return genl_family_rcv_msg_doit(family, skb, nlh, extack,
1055 static int genl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh,
1061 family = genl_family_find_byid(nlh->nlmsg_type);
1066 err = genl_family_rcv_msg(family, skb, nlh, extack);
1225 cb->nlh->nlmsg_seq, NLM_F_MULTI,
1496 cb->nlh->nlmsg_seq, &genl_ctrl,