Lines Matching refs:igmp6_socket
128 static struct socket *igmp6_socket; variable
1239 struct sock *sk = igmp6_socket->sk; in mld_newpack()
1583 struct sock *sk = igmp6_socket->sk; in igmp6_send()
2225 igmp6_socket = sock_alloc(); in igmp6_init()
2226 if (igmp6_socket == NULL) { in igmp6_init()
2231 igmp6_socket->inode->i_uid = 0; in igmp6_init()
2232 igmp6_socket->inode->i_gid = 0; in igmp6_init()
2233 igmp6_socket->type = SOCK_RAW; in igmp6_init()
2235 if((err = ops->create(igmp6_socket, IPPROTO_ICMPV6)) < 0) { in igmp6_init()
2239 sock_release(igmp6_socket); in igmp6_init()
2240 igmp6_socket = NULL; /* For safety. */ in igmp6_init()
2244 sk = igmp6_socket->sk; in igmp6_init()
2259 sock_release(igmp6_socket); in igmp6_cleanup()
2260 igmp6_socket = NULL; /* for safety */ in igmp6_cleanup()