/linux-master/net/rxrpc/ |
H A D | rxkad.c | 672 ret = kernel_sendmsg(conn->local->socket, &msg, iov, 2, len); 730 ret = kernel_sendmsg(conn->local->socket, &msg, iov, 3, len);
|
/linux-master/net/mptcp/ |
H A D | protocol.c | 71 struct socket *ssock; 412 /* called under the msk socket lock */ 773 * Orphaned socket will see such state change via 798 /* In most cases we will be able to lock the mptcp socket. If its already 816 * it's time to ack the DATA_FIN and change socket state, but 870 /* attach to msk socket only after we are sure we will deal with it 989 /* called under both the msk socket lock and the data lock */ 1431 /* init pacing rate from socket */ 1616 /* at this point we held the socket lock for the last subflow we used */ 1728 /* do the blocking bits of inet_stream_connect outside the ssk socket loc [all...] |
/linux-master/net/l2tp/ |
H A D | l2tp_eth.c | 11 #include <linux/socket.h> 217 * because tunnel->sock was NULL or the socket's
|
/linux-master/net/ipv6/ |
H A D | udp.c | 13 * YOSHIFUJI Hideaki @USAGI and: Support IPV6_V6ONLY socket option, which 23 #include <linux/socket.h> 242 /* Got non-wildcard socket or error on first lookup */ 288 * Does increment socket refcount. 458 /* Handler for tunnels with arbitrary destination ports: no socket lookup, go 483 /* Try to match ICMP errors to UDP tunnels by looking up a socket without 490 * If this doesn't match any socket, probe tunnels with arbitrary destination 491 * ports (e.g. FoU, GUE): there, the receiving socket is useless, as the port 497 * Return an error if we can't find a match, the socket if we need further 574 /* No socket fo [all...] |
H A D | ip6_offload.c | 8 #include <linux/socket.h>
|
/linux-master/net/ipv4/ |
H A D | udp.c | 46 * Alan Cox : Cache last socket 53 * David S. Miller : New socket lookup architecture. 54 * Last socket cache retained as it 63 * bound-to-device socket 68 * YOSHIFUJI Hideaki @USAGI and: Support IPV6_V6ONLY socket option, which 85 #include <linux/socket.h> 175 * can insert/delete a socket with local_port == num 234 * @sk: socket struct in question 483 /* Lookup connected or non-wildcard socket */ 502 /* Got non-wildcard socket o [all...] |
H A D | raw.c | 29 * Alan Cox : BSD style RAW socket demultiplexing. 33 * David S. Miller : New socket lookup architecture. 49 #include <linux/socket.h> 157 /* IP input processing comes here for RAW socket delivery. 224 /* Report error on raw socket, if: 300 /* Charge it to the socket. */
|
H A D | ip_output.c | 56 #include <linux/socket.h> 1335 * data. Each piece will be held on the socket until 1380 * Combined all pending IP fragments on the socket as one IP datagram 1516 * Throw away all pending data on the socket.
|
H A D | af_inet.c | 7 * PF_INET protocol family socket handler. 23 * Alan Cox : Keep correct socket pointer on sock 40 * Alan Cox : memzero the socket structure for 58 * David S. Miller : New socket lookup architecture. 69 #include <linux/socket.h> 127 * build a new socket. 144 pr_err("Attempt to release TCP socket in state %d %p\n", 149 pr_err("Attempt to release alive inet socket %p\n", sk); 166 * socket object. Mostly it punts to the subprotocols of IP to do 171 * Automatically bind an unbound socket [all...] |
H A D | route.c | 68 #include <linux/socket.h> 2693 * They bind socket to loopback, set ttl to zero
|
H A D | icmp.c | 67 #include <linux/socket.h>
|
/linux-master/net/core/ |
H A D | skmsg.c | 579 /* This will transition ownership of the data from the socket where 580 * the BPF program was run initiating the redirect to the socket 592 /* Puts an skb on the ingress queue of the socket already assigned to the 918 /* This error indicates the socket is being torn down or had another 920 * a socket that is in this state so we drop the skb. 1106 /* Called with socket lock held. */ 1212 struct socket *sock = sk->sk_socket;
|
H A D | skbuff.c | 563 * the socket is later found to be SOCK_MEMALLOC then PFMEMALLOC reserves 1740 /* realloc only when socket is locked (TCP, UDP cork), 2035 * Duplicate an &sk_buff. The new one is not owned by a socket. Both 2306 * when skb is orphaned (not attached to a socket). 3208 struct socket *sock = sk->sk_socket; 3222 struct socket *sock = sk->sk_socket; 3328 /* Send skb data on a socket. Socket must be locked. */ 3336 /* Send skb data on a socket. Socket must be unlocked. */ 3909 * out-of-order queue is protected by the socket lock). 5113 * skb_to_sgvec - Fill a scatter-gather list from a socket buffe [all...] |
H A D | filter.c | 3 * Linux Socket Filter - Kernel level socket filtering 26 #include <linux/socket.h> 117 * sk_filter_trim_cap - run a packet through a socket filter 124 * than pkt_len we keep whole skb->data. This is the socket level 136 * allow SOCK_MEMALLOC sockets to use it as this socket is 1047 * bpf_check_classic - verify socket filter code 1188 * sk_filter_release_rcu - Release a socket filter by rcu_head 1199 * sk_filter_release - release a socket filter 1202 * Remove a filter from a socket and release its resources. 1218 /* try to charge the socket memor [all...] |
/linux-master/kernel/bpf/ |
H A D | verifier.c | 6391 BTF_TYPE_SAFE_TRUSTED(struct socket) { argument 6426 BTF_TYPE_EMIT(BTF_TYPE_SAFE_TRUSTED(struct socket)); 8302 * allows bpf_sk_release to work for multiple socket types. 11947 verbose(env, "expected %s or socket\n", 15326 verbose(env, "BPF_LD_[ABS|IND] cannot be mixed with socket references\n"); 18135 verbose(env, "socket filter progs cannot use bpf_spin_lock yet\n");
|
/linux-master/drivers/nvme/target/ |
H A D | tcp.c | 55 /* Define the socket priority to use for connections were it is desirable 63 MODULE_PARM_DESC(so_priority, "nvmet tcp socket optimize priority: Default 0"); 67 * can enable NIC solutions that support socket optimized packet processing 150 struct socket *sock; 205 struct socket *sock; 1554 struct socket *sock = queue->sock; 1688 struct socket *sock = queue->sock; 1703 * Cleanup whatever is sitting in the TCP transmit queue on socket 1712 /* Set socket type of service */ 1720 * If the socket i [all...] |
/linux-master/drivers/nvme/host/ |
H A D | tcp.c | 29 /* Define the socket priority to use for connections were it is desirable 37 MODULE_PARM_DESC(so_priority, "nvme tcp socket optimize priority"); 61 * a separate class prevents lockdep from conflating nvme-tcp socket use with 62 * user-space socket API use. 67 static void nvme_tcp_reclassify_socket(struct socket *sock) 92 static void nvme_tcp_reclassify_socket(struct socket *sock) { } 140 struct socket *sock; 1004 "queue %d socket state %d\n", 1254 struct socket *sock = queue->sock; 1671 "failed to create socket [all...] |
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_core.c | 74 /* Find VXLAN socket based on network namespace, address family, UDP port, 75 * enabled unshareable flags and socket device binding (see l3mdev with 3495 static struct socket *vxlan_create_sock(struct net *net, bool ipv6, 3498 struct socket *sock; 3516 /* Open UDP socket */ 3525 /* Create new listen socket if needed */ 3532 struct socket *sock; 3561 /* Mark socket as an encapsulation socket. */
|
/linux-master/net/sunrpc/ |
H A D | xprtsock.c | 13 * Fix behaviour when socket buffer is full. 16 * IP socket transport implementation, (C) 2005 Chuck Lever <cel@netapp.com> 29 #include <linux/socket.h> 66 static void xs_set_srcport(struct sock_xprt *transport, struct socket *sock); 68 struct socket *sock); 108 * socket buffers for existing UDP transports 172 * Delay if a UDP socket connect error occurs. This is most likely some 189 * TCP idle timeout; client drops the transport socket if it is idle 361 xs_sock_process_cmsg(struct socket *sock, struct msghdr *msg, 390 xs_sock_recv_cmsg(struct socket *soc [all...] |
/linux-master/fs/smb/client/ |
H A D | transport.c | 176 * @sent: amount of data sent on socket is stored here 187 struct socket *ssocket = server->ssocket; 201 * socket to clear. The overall time we wait in either 202 * case to send on the socket is about 15 seconds. 212 * after the retries we will kill the socket and 232 /* should never happen, letting socket clear before 282 struct socket *ssocket = server->ssocket; 306 /* cork the socket */ 396 * socket so the server throws away the partial SMB 409 cifs_server_dbg(VFS, "Error %d sending data on socket t [all...] |
/linux-master/tools/net/ynl/lib/ |
H A D | ynl.py | 7 import socket namespace 23 # Netlink socket 261 with socket.socket(socket.AF_NETLINK, socket.SOCK_RAW, Netlink.NETLINK_GENERIC) as sock: 432 # the first dump recv() on the socket, our setting will only matter 441 self.sock = socket.socket(socket [all...] |
/linux-master/net/unix/ |
H A D | garbage.c | 8 * Chopped about by Alan Cox 22/3/96 to make it fit the AF_UNIX socket problem. 44 * such socket and closed it (descriptor). That would happen on 63 * wrt receive and holding up unrelated socket operations. 68 #include <linux/socket.h> 90 struct socket *sock = SOCKET_I(inode); 110 * descriptor if it is for an AF_UNIX socket. 170 /* Process the descriptors of this socket */ 175 /* Get the socket the fd matches if it indeed does so */ 207 /* For a listening socket collect the queued embryos 282 * passed socket [all...] |
/linux-master/net/tls/ |
H A D | tls.h | 153 void tls_sw_splice_eof(struct socket *sock); 163 ssize_t tls_sw_splice_read(struct socket *sock, loff_t *ppos, 170 void tls_device_splice_eof(struct socket *sock);
|
/linux-master/net/ethernet/ |
H A D | eth.c | 41 #include <linux/socket.h> 148 * @skb: received socket data 275 * @p: socket address 292 * @p: socket address 305 * @p: socket address
|
/linux-master/net/bluetooth/ |
H A D | sco.c | 62 /* ----- SCO socket info ----- */ 155 * Must be called on the locked socket. */ 191 /* Kill socket */ 289 /* Update source addr of the socket */ 363 /* Find socket listening on source bdaddr. 414 /* Kill socket (only if zapped and orphan) 415 * Must be called on unlocked socket. 432 BT_DBG("sk %p state %d socket %p", sk, sk->sk_state, sk->sk_socket); 465 /* Must be called on unlocked socket. */ 491 static struct sock *sco_sock_alloc(struct net *net, struct socket *soc [all...] |