Home
last modified time | relevance | path

Searched refs:net (Results 1 – 4 of 4) sorted by relevance

/crypto/
Dcrypto_user_base.c187 struct net *net = sock_net(in_skb->sk); in crypto_report() local
221 return nlmsg_unicast(net->crypto_nlsk, skb, NETLINK_CB(in_skb).portid); in crypto_report()
425 struct net *net = sock_net(skb->sk); in crypto_user_rcv_msg() local
456 err = netlink_dump_start(net->crypto_nlsk, skb, nlh, &c); in crypto_user_rcv_msg()
480 static int __net_init crypto_netlink_init(struct net *net) in crypto_netlink_init() argument
486 net->crypto_nlsk = netlink_kernel_create(net, NETLINK_CRYPTO, &cfg); in crypto_netlink_init()
487 return net->crypto_nlsk == NULL ? -ENOMEM : 0; in crypto_netlink_init()
490 static void __net_exit crypto_netlink_exit(struct net *net) in crypto_netlink_exit() argument
492 netlink_kernel_release(net->crypto_nlsk); in crypto_netlink_exit()
493 net->crypto_nlsk = NULL; in crypto_netlink_exit()
Dcrypto_user_stat.c298 struct net *net = sock_net(in_skb->sk); in crypto_reportstat() local
332 return nlmsg_unicast(net->crypto_nlsk, skb, NETLINK_CB(in_skb).portid); in crypto_reportstat()
Daf_alg.c372 static int alg_create(struct net *net, struct socket *sock, int protocol, in alg_create() argument
384 sk = sk_alloc(net, PF_ALG, GFP_KERNEL, &alg_proto, kern); in alg_create()
DKconfig757 See https://blake2.net for further information.