Lines Matching refs:icmpv6_socket_cpu
75 #define icmpv6_socket_cpu(X) __icmpv6_socket[(X)] macro
631 icmpv6_socket_cpu(i) = sock_alloc(); in icmpv6_init()
632 if (icmpv6_socket_cpu(i) == NULL) { in icmpv6_init()
638 icmpv6_socket_cpu(i)->inode->i_uid = 0; in icmpv6_init()
639 icmpv6_socket_cpu(i)->inode->i_gid = 0; in icmpv6_init()
640 icmpv6_socket_cpu(i)->type = SOCK_RAW; in icmpv6_init()
642 if ((err = ops->create(icmpv6_socket_cpu(i), IPPROTO_ICMPV6)) < 0) { in icmpv6_init()
650 sk = icmpv6_socket_cpu(i)->sk; in icmpv6_init()
667 sock_release(icmpv6_socket_cpu(j)); in icmpv6_init()
668 icmpv6_socket_cpu(j) = NULL; in icmpv6_init()
678 sock_release(icmpv6_socket_cpu(i)); in icmpv6_cleanup()
679 icmpv6_socket_cpu(i) = NULL; in icmpv6_cleanup()