Lines Matching defs:socket
28 * socket's error_report().
40 * Set or clear the Don't Fragment flag on a socket.
45 ip_sock_set_mtu_discover(local->socket->sk, IP_PMTUDISC_DO);
47 ip_sock_set_mtu_discover(local->socket->sk, IP_PMTUDISC_DONT);
159 * create the local socket
187 ret = udp_sock_create(net, &udp_conf, &local->socket);
189 _leave(" = %d [socket]", ret);
197 setup_udp_tunnel_sock(net, local->socket, &tuncfg);
199 /* set the socket up */
200 usk = local->socket->sk;
209 * errors from IPv4 packets sent through the IPv6 socket.
240 kernel_sock_shutdown(local->socket, SHUT_RDWR);
241 local->socket->sk->sk_user_data = NULL;
242 sock_release(local->socket);
243 local->socket = NULL;
282 * Attempting to bind the transport socket may still fail if
417 * Destroy a local endpoint's socket and then hand the record to RCU to dispose
420 * Closing the socket cannot be done from bottom half context or RCU callback
425 struct socket *socket = local->socket;
440 if (socket) {
441 local->socket = NULL;
442 kernel_sock_shutdown(socket, SHUT_RDWR);
443 socket->sk->sk_user_data = NULL;
444 sock_release(socket);