Lines Matching refs:nlh
142 struct nlmsghdr *nlh; in crypto_report_alg() local
146 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, info->nlmsg_seq, in crypto_report_alg()
148 if (!nlh) { in crypto_report_alg()
153 ualg = nlmsg_data(nlh); in crypto_report_alg()
157 nlmsg_cancel(skb, nlh); in crypto_report_alg()
161 nlmsg_end(skb, nlh); in crypto_report_alg()
217 info.nlmsg_seq = cb->nlh->nlmsg_seq; in crypto_dump_report()
243 static int crypto_update_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_update_alg() argument
247 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_update_alg()
279 static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_alg() argument
283 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_del_alg()
317 static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_add_alg() argument
323 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_add_alg()
365 static int crypto_del_rng(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_rng() argument
412 static int crypto_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_user_rcv_msg() argument
420 type = nlh->nlmsg_type; in crypto_user_rcv_msg()
428 (nlh->nlmsg_flags & NLM_F_DUMP))) { in crypto_user_rcv_msg()
446 err = netlink_dump_start(net->crypto_nlsk, skb, nlh, &c); in crypto_user_rcv_msg()
452 err = nlmsg_parse_deprecated(nlh, crypto_msg_min[type], attrs, in crypto_user_rcv_msg()
460 return link->doit(skb, nlh, attrs); in crypto_user_rcv_msg()