Lines Matching refs:nlh
159 struct nlmsghdr *nlh; in crypto_report_alg() local
163 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, info->nlmsg_seq, in crypto_report_alg()
165 if (!nlh) { in crypto_report_alg()
170 ualg = nlmsg_data(nlh); in crypto_report_alg()
174 nlmsg_cancel(skb, nlh); in crypto_report_alg()
178 nlmsg_end(skb, nlh); in crypto_report_alg()
234 info.nlmsg_seq = cb->nlh->nlmsg_seq; in crypto_dump_report()
260 static int crypto_update_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_update_alg() argument
264 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_update_alg()
296 static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_alg() argument
300 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_del_alg()
334 static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_add_alg() argument
340 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_add_alg()
382 static int crypto_del_rng(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_rng() argument
422 static int crypto_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_user_rcv_msg() argument
430 type = nlh->nlmsg_type; in crypto_user_rcv_msg()
438 (nlh->nlmsg_flags & NLM_F_DUMP))) { in crypto_user_rcv_msg()
456 err = netlink_dump_start(net->crypto_nlsk, skb, nlh, &c); in crypto_user_rcv_msg()
462 err = nlmsg_parse_deprecated(nlh, crypto_msg_min[type], attrs, in crypto_user_rcv_msg()
470 return link->doit(skb, nlh, attrs); in crypto_user_rcv_msg()