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