Lines Matching refs:nlh
171 struct nlmsghdr *nlh; in crypto_report_alg() local
175 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, info->nlmsg_seq, in crypto_report_alg()
177 if (!nlh) { in crypto_report_alg()
182 ualg = nlmsg_data(nlh); in crypto_report_alg()
186 nlmsg_cancel(skb, nlh); in crypto_report_alg()
190 nlmsg_end(skb, nlh); in crypto_report_alg()
246 info.nlmsg_seq = cb->nlh->nlmsg_seq; in crypto_dump_report()
266 static int crypto_update_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_update_alg() argument
270 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_update_alg()
302 static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_alg() argument
306 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_del_alg()
393 static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_add_alg() argument
399 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_add_alg()
481 static int crypto_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh) in crypto_user_rcv_msg() argument
487 type = nlh->nlmsg_type; in crypto_user_rcv_msg()
495 (nlh->nlmsg_flags & NLM_F_DUMP))) { in crypto_user_rcv_msg()
512 err = netlink_dump_start(crypto_nlsk, skb, nlh, &c); in crypto_user_rcv_msg()
519 err = nlmsg_parse(nlh, crypto_msg_min[type], attrs, CRYPTOCFGA_MAX, in crypto_user_rcv_msg()
527 return link->doit(skb, nlh, attrs); in crypto_user_rcv_msg()