Lines Matching refs:nlh
232 struct nlmsghdr *nlh; in crypto_report_alg() local
236 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, info->nlmsg_seq, in crypto_report_alg()
238 if (!nlh) { in crypto_report_alg()
243 ualg = nlmsg_data(nlh); in crypto_report_alg()
247 nlmsg_cancel(skb, nlh); in crypto_report_alg()
251 nlmsg_end(skb, nlh); in crypto_report_alg()
307 info.nlmsg_seq = cb->nlh->nlmsg_seq; in crypto_dump_report()
327 static int crypto_update_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_update_alg() argument
331 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_update_alg()
363 static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_alg() argument
367 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_del_alg()
400 static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_add_alg() argument
406 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_add_alg()
448 static int crypto_del_rng(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_rng() argument
486 static int crypto_user_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_user_rcv_msg() argument
493 type = nlh->nlmsg_type; in crypto_user_rcv_msg()
501 (nlh->nlmsg_flags & NLM_F_DUMP))) { in crypto_user_rcv_msg()
518 err = netlink_dump_start(crypto_nlsk, skb, nlh, &c); in crypto_user_rcv_msg()
525 err = nlmsg_parse(nlh, crypto_msg_min[type], attrs, CRYPTOCFGA_MAX, in crypto_user_rcv_msg()
533 return link->doit(skb, nlh, attrs); in crypto_user_rcv_msg()