Lines Matching refs:nlh
193 struct nlmsghdr *nlh; in crypto_report_alg() local
197 nlh = nlmsg_put(skb, NETLINK_CB(in_skb).portid, info->nlmsg_seq, in crypto_report_alg()
199 if (!nlh) { in crypto_report_alg()
204 ualg = nlmsg_data(nlh); in crypto_report_alg()
208 nlmsg_cancel(skb, nlh); in crypto_report_alg()
212 nlmsg_end(skb, nlh); in crypto_report_alg()
268 info.nlmsg_seq = cb->nlh->nlmsg_seq; in crypto_dump_report()
288 static int crypto_update_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_update_alg() argument
292 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_update_alg()
324 static int crypto_del_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_alg() argument
328 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_del_alg()
387 static int crypto_add_alg(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_add_alg() argument
393 struct crypto_user_alg *p = nlmsg_data(nlh); in crypto_add_alg()
444 static int crypto_del_rng(struct sk_buff *skb, struct nlmsghdr *nlh, in crypto_del_rng() argument
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()