Home
last modified time | relevance | path

Searched defs:sock (Results 1 – 25 of 107) sorted by relevance

12345

/net/atm/
Dsvc.c40 static int svc_shutdown(struct socket *sock, int how) in svc_shutdown()
74 static int svc_release(struct socket *sock) in svc_release()
94 static int svc_bind(struct socket *sock, struct sockaddr *sockaddr, in svc_bind()
150 static int svc_connect(struct socket *sock, struct sockaddr *sockaddr, in svc_connect()
281 static int svc_listen(struct socket *sock, int backlog) in svc_listen()
321 static int svc_accept(struct socket *sock, struct socket *newsock, int flags) in svc_accept()
419 static int svc_getname(struct socket *sock, struct sockaddr *sockaddr, in svc_getname()
452 static int svc_setsockopt(struct socket *sock, int level, int optname, in svc_setsockopt()
497 static int svc_getsockopt(struct socket *sock, int level, int optname, in svc_getsockopt()
525 static int svc_addparty(struct socket *sock, struct sockaddr *sockaddr, in svc_addparty()
[all …]
Dpvc.c21 static int pvc_shutdown(struct socket *sock, int how) in pvc_shutdown()
26 static int pvc_bind(struct socket *sock, struct sockaddr *sockaddr, in pvc_bind()
58 static int pvc_connect(struct socket *sock, struct sockaddr *sockaddr, in pvc_connect()
64 static int pvc_setsockopt(struct socket *sock, int level, int optname, in pvc_setsockopt()
76 static int pvc_getsockopt(struct socket *sock, int level, int optname, in pvc_getsockopt()
88 static int pvc_getname(struct socket *sock, struct sockaddr *sockaddr, in pvc_getname()
132 static int pvc_create(struct net *net, struct socket *sock, int protocol, in pvc_create()
Dioctl.c50 static int do_vcc_ioctl(struct socket *sock, unsigned int cmd, in do_vcc_ioctl()
186 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in vcc_ioctl()
245 static int do_atm_iobuf(struct socket *sock, unsigned int cmd, in do_atm_iobuf()
276 static int do_atmif_sioc(struct socket *sock, unsigned int cmd, in do_atmif_sioc()
305 static int do_atm_ioctl(struct socket *sock, unsigned int cmd32, in do_atm_ioctl()
358 int vcc_compat_ioctl(struct socket *sock, unsigned int cmd, in vcc_compat_ioctl()
/net/nfc/
Dllcp_sock.c70 static int llcp_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in llcp_sock_bind()
144 static int llcp_raw_sock_bind(struct socket *sock, struct sockaddr *addr, in llcp_raw_sock_bind()
199 static int llcp_sock_listen(struct socket *sock, int backlog) in llcp_sock_listen()
226 static int nfc_llcp_setsockopt(struct socket *sock, int level, int optname, in nfc_llcp_setsockopt()
299 static int nfc_llcp_getsockopt(struct socket *sock, int level, int optname, in nfc_llcp_getsockopt()
444 static int llcp_sock_accept(struct socket *sock, struct socket *newsock, in llcp_sock_accept()
498 static int llcp_sock_getname(struct socket *sock, struct sockaddr *uaddr, in llcp_sock_getname()
545 static unsigned int llcp_sock_poll(struct file *file, struct socket *sock, in llcp_sock_poll()
584 static int llcp_sock_release(struct socket *sock) in llcp_sock_release()
648 static int llcp_sock_connect(struct socket *sock, struct sockaddr *_addr, in llcp_sock_connect()
[all …]
/net/rds/
Daf_rds.c67 static int rds_release(struct socket *sock) in rds_release()
127 static int rds_getname(struct socket *sock, struct sockaddr *uaddr, in rds_getname()
170 static unsigned int rds_poll(struct file *file, struct socket *sock, in rds_poll()
210 static int rds_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in rds_ioctl()
273 static int rds_setsockopt(struct socket *sock, int level, int optname, in rds_setsockopt()
310 static int rds_getsockopt(struct socket *sock, int level, int optname, in rds_getsockopt()
349 static int rds_connect(struct socket *sock, struct sockaddr *uaddr, in rds_connect()
409 static int __rds_create(struct socket *sock, struct sock *sk, int protocol) in __rds_create()
435 static int rds_create(struct net *net, struct socket *sock, int protocol, in rds_create()
466 static void rds_sock_inc_info(struct socket *sock, unsigned int len, in rds_sock_inc_info()
[all …]
Dtcp.c56 void rds_tcp_nonagle(struct socket *sock) in rds_tcp_nonagle()
67 void rds_tcp_tune(struct socket *sock) in rds_tcp_tune()
94 void rds_tcp_restore_callbacks(struct socket *sock, in rds_tcp_restore_callbacks()
121 void rds_tcp_set_callbacks(struct socket *sock, struct rds_connection *conn) in rds_tcp_set_callbacks()
152 static void rds_tcp_tc_info(struct socket *sock, unsigned int len, in rds_tcp_tc_info()
Dtcp_listen.c48 static int rds_tcp_accept_one(struct socket *sock) in rds_tcp_accept_one()
141 struct socket *sock = NULL; in rds_tcp_listen_init() local
178 struct socket *sock = rds_tcp_listen_sock; in rds_tcp_listen_stop() local
/net/rxrpc/
Daf_rxrpc.c122 static int rxrpc_bind(struct socket *sock, struct sockaddr *saddr, int len) in rxrpc_bind()
188 static int rxrpc_listen(struct socket *sock, int backlog) in rxrpc_listen()
223 static struct rxrpc_transport *rxrpc_name_to_transport(struct socket *sock, in rxrpc_name_to_transport()
269 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *sock, in rxrpc_kernel_begin_call()
357 void rxrpc_kernel_intercept_rx_messages(struct socket *sock, in rxrpc_kernel_intercept_rx_messages()
373 static int rxrpc_connect(struct socket *sock, struct sockaddr *addr, in rxrpc_connect()
444 static int rxrpc_sendmsg(struct kiocb *iocb, struct socket *sock, in rxrpc_sendmsg()
513 static int rxrpc_setsockopt(struct socket *sock, int level, int optname, in rxrpc_setsockopt()
589 static unsigned int rxrpc_poll(struct file *file, struct socket *sock, in rxrpc_poll()
615 static int rxrpc_create(struct net *net, struct socket *sock, int protocol, in rxrpc_create()
[all …]
/net/bluetooth/rfcomm/
Dsock.c272 static struct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) in rfcomm_sock_alloc()
313 static int rfcomm_sock_create(struct net *net, struct socket *sock, in rfcomm_sock_create()
335 static int rfcomm_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in rfcomm_sock_bind()
381 static int rfcomm_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in rfcomm_sock_connect()
424 static int rfcomm_sock_listen(struct socket *sock, int backlog) in rfcomm_sock_listen()
473 static int rfcomm_sock_accept(struct socket *sock, struct socket *newsock, int flags) in rfcomm_sock_accept()
534 static int rfcomm_sock_getname(struct socket *sock, struct sockaddr *addr, int *len, int peer) in rfcomm_sock_getname()
557 static int rfcomm_sock_sendmsg(struct kiocb *iocb, struct socket *sock, in rfcomm_sock_sendmsg()
623 static int rfcomm_sock_recvmsg(struct kiocb *iocb, struct socket *sock, in rfcomm_sock_recvmsg()
648 static int rfcomm_sock_setsockopt_old(struct socket *sock, int optname, char __user *optval, unsign… in rfcomm_sock_setsockopt_old()
[all …]
/net/llc/
Daf_llc.c132 static void llc_ui_sk_init(struct socket *sock, struct sock *sk) in llc_ui_sk_init()
157 static int llc_ui_create(struct net *net, struct socket *sock, int protocol, in llc_ui_create()
186 static int llc_ui_release(struct socket *sock) in llc_ui_release()
251 static int llc_ui_autobind(struct socket *sock, struct sockaddr_llc *addr) in llc_ui_autobind()
303 static int llc_ui_bind(struct socket *sock, struct sockaddr *uaddr, int addrlen) in llc_ui_bind()
397 static int llc_ui_shutdown(struct socket *sock, int how) in llc_ui_shutdown()
432 static int llc_ui_connect(struct socket *sock, struct sockaddr *uaddr, in llc_ui_connect()
505 static int llc_ui_listen(struct socket *sock, int backlog) in llc_ui_listen()
646 static int llc_ui_accept(struct socket *sock, struct socket *newsock, int flags) in llc_ui_accept()
708 static int llc_ui_recvmsg(struct kiocb *iocb, struct socket *sock, in llc_ui_recvmsg()
[all …]
/net/
Dsocket.c358 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname) in sock_alloc_file()
395 static int sock_map_fd(struct socket *sock, int flags) in sock_map_fd()
438 struct socket *sock; in sockfd_lookup() local
456 struct socket *sock; in sockfd_lookup_light() local
532 struct socket *sock = SOCKET_I(dentry->d_inode); in sockfs_setattr() local
557 struct socket *sock; in sock_alloc() local
602 void sock_release(struct socket *sock) in sock_release()
647 static inline int __sock_sendmsg_nosec(struct kiocb *iocb, struct socket *sock, in __sock_sendmsg_nosec()
660 static inline int __sock_sendmsg(struct kiocb *iocb, struct socket *sock, in __sock_sendmsg()
668 int sock_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) in sock_sendmsg()
[all …]
/net/bluetooth/
Dl2cap_sock.c48 bool l2cap_is_socket(struct socket *sock) in l2cap_is_socket()
80 static int l2cap_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in l2cap_sock_bind()
173 static int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, in l2cap_sock_connect()
251 static int l2cap_sock_listen(struct socket *sock, int backlog) in l2cap_sock_listen()
296 static int l2cap_sock_accept(struct socket *sock, struct socket *newsock, in l2cap_sock_accept()
353 static int l2cap_sock_getname(struct socket *sock, struct sockaddr *addr, in l2cap_sock_getname()
386 static int l2cap_sock_getsockopt_old(struct socket *sock, int optname, in l2cap_sock_getsockopt_old()
489 static int l2cap_sock_getsockopt(struct socket *sock, int level, int optname, in l2cap_sock_getsockopt()
625 static int l2cap_sock_setsockopt_old(struct socket *sock, int optname, in l2cap_sock_setsockopt_old()
737 static int l2cap_sock_setsockopt(struct socket *sock, int level, int optname, in l2cap_sock_setsockopt()
[all …]
Dsco.c463 static struct sock *sco_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) in sco_sock_alloc()
490 static int sco_sock_create(struct net *net, struct socket *sock, int protocol, in sco_sock_create()
512 static int sco_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in sco_sock_bind()
547 static int sco_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in sco_sock_connect()
582 static int sco_sock_listen(struct socket *sock, int backlog) in sco_sock_listen()
622 static int sco_sock_accept(struct socket *sock, struct socket *newsock, int flags) in sco_sock_accept()
678 static int sco_sock_getname(struct socket *sock, struct sockaddr *addr, int *len, int peer) in sco_sock_getname()
696 static int sco_sock_sendmsg(struct kiocb *iocb, struct socket *sock, in sco_sock_sendmsg()
766 static int sco_sock_recvmsg(struct kiocb *iocb, struct socket *sock, in sco_sock_recvmsg()
788 static int sco_sock_setsockopt(struct socket *sock, int level, int optname, char __user *optval, un… in sco_sock_setsockopt()
[all …]
/net/irda/
Daf_irda.c707 static int irda_getname(struct socket *sock, struct sockaddr *uaddr, in irda_getname()
744 static int irda_listen(struct socket *sock, int backlog) in irda_listen()
775 static int irda_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in irda_bind()
840 static int irda_accept(struct socket *sock, struct socket *newsock, int flags) in irda_accept()
966 static int irda_connect(struct socket *sock, struct sockaddr *uaddr, in irda_connect()
1098 static int irda_create(struct net *net, struct socket *sock, int protocol, in irda_create()
1223 static int irda_release(struct socket *sock) in irda_release()
1287 static int irda_sendmsg(struct kiocb *iocb, struct socket *sock, in irda_sendmsg()
1378 static int irda_recvmsg_dgram(struct kiocb *iocb, struct socket *sock, in irda_recvmsg_dgram()
1427 static int irda_recvmsg_stream(struct kiocb *iocb, struct socket *sock, in irda_recvmsg_stream()
[all …]
/net/ipv4/
Dudp_tunnel.c15 struct socket *sock = NULL; in udp_sock_create4() local
57 void setup_udp_tunnel_sock(struct net *net, struct socket *sock, in setup_udp_tunnel_sock()
78 int udp_tunnel_xmit_skb(struct socket *sock, struct rtable *rt, in udp_tunnel_xmit_skb()
100 void udp_tunnel_sock_release(struct socket *sock) in udp_tunnel_sock_release()
Daf_inet.c206 int inet_listen(struct socket *sock, int backlog) in inet_listen()
265 static int inet_create(struct net *net, struct socket *sock, int protocol, in inet_create()
412 int inet_release(struct socket *sock) in inet_release()
445 int inet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in inet_bind()
539 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr, in inet_dgram_connect()
584 int __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, in __inet_stream_connect()
671 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, in inet_stream_connect()
687 int inet_accept(struct socket *sock, struct socket *newsock, int flags) in inet_accept()
717 int inet_getname(struct socket *sock, struct sockaddr *uaddr, in inet_getname()
745 int inet_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, in inet_sendmsg()
[all …]
/net/ieee802154/
Daf_ieee802154.c96 static int ieee802154_sock_release(struct socket *sock) in ieee802154_sock_release()
106 static int ieee802154_sock_sendmsg(struct kiocb *iocb, struct socket *sock, in ieee802154_sock_sendmsg()
114 static int ieee802154_sock_bind(struct socket *sock, struct sockaddr *uaddr, in ieee802154_sock_bind()
125 static int ieee802154_sock_connect(struct socket *sock, struct sockaddr *uaddr, in ieee802154_sock_connect()
167 static int ieee802154_sock_ioctl(struct socket *sock, unsigned int cmd, in ieee802154_sock_ioctl()
242 static int ieee802154_create(struct net *net, struct socket *sock, in ieee802154_create()
/net/bluetooth/bnep/
Dsock.c36 static int bnep_sock_release(struct socket *sock) in bnep_sock_release()
52 static int bnep_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_ioctl()
131 static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_compat_ioctl()
188 static int bnep_sock_create(struct net *net, struct socket *sock, int protocol, in bnep_sock_create()
/net/bluetooth/cmtp/
Dsock.c49 static int cmtp_sock_release(struct socket *sock) in cmtp_sock_release()
66 static int cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in cmtp_sock_ioctl()
141 static int cmtp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in cmtp_sock_compat_ioctl()
198 static int cmtp_sock_create(struct net *net, struct socket *sock, int protocol, in cmtp_sock_create()
/net/vmw_vsock/
Daf_vsock.c581 struct socket *sock, in __vsock_create()
719 static int vsock_release(struct socket *sock) in vsock_release()
729 vsock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in vsock_bind()
747 static int vsock_getname(struct socket *sock, in vsock_getname()
790 static int vsock_shutdown(struct socket *sock, int mode) in vsock_shutdown()
839 static unsigned int vsock_poll(struct file *file, struct socket *sock, in vsock_poll()
952 static int vsock_dgram_sendmsg(struct kiocb *kiocb, struct socket *sock, in vsock_dgram_sendmsg()
1023 static int vsock_dgram_connect(struct socket *sock, in vsock_dgram_connect()
1065 static int vsock_dgram_recvmsg(struct kiocb *kiocb, struct socket *sock, in vsock_dgram_recvmsg()
1113 static int vsock_stream_connect(struct socket *sock, struct sockaddr *addr, in vsock_stream_connect()
[all …]
/net/tipc/
Dsocket.c292 static int tipc_sk_create(struct net *net, struct socket *sock, in tipc_sk_create()
400 void tipc_sock_release_local(struct socket *sock) in tipc_sock_release_local()
417 int tipc_sock_accept_local(struct socket *sock, struct socket **newsock, in tipc_sock_accept_local()
453 static int tipc_release(struct socket *sock) in tipc_release()
534 static int tipc_bind(struct socket *sock, struct sockaddr *uaddr, in tipc_bind()
592 static int tipc_getname(struct socket *sock, struct sockaddr *uaddr, in tipc_getname()
659 static unsigned int tipc_poll(struct file *file, struct socket *sock, in tipc_poll()
702 static int tipc_sendmcast(struct socket *sock, struct tipc_name_seq *seq, in tipc_sendmcast()
854 static int tipc_wait_for_sndmsg(struct socket *sock, long *timeo_p) in tipc_wait_for_sndmsg()
893 static int tipc_sendmsg(struct kiocb *iocb, struct socket *sock, in tipc_sendmsg()
[all …]
/net/netrom/
Daf_netrom.c299 static int nr_setsockopt(struct socket *sock, int level, int optname, in nr_setsockopt()
351 static int nr_getsockopt(struct socket *sock, int level, int optname, in nr_getsockopt()
401 static int nr_listen(struct socket *sock, int backlog) in nr_listen()
424 static int nr_create(struct net *net, struct socket *sock, int protocol, in nr_create()
516 static int nr_release(struct socket *sock) in nr_release()
562 static int nr_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in nr_bind()
633 static int nr_connect(struct socket *sock, struct sockaddr *uaddr, in nr_connect()
768 static int nr_accept(struct socket *sock, struct socket *newsock, int flags) in nr_accept()
830 static int nr_getname(struct socket *sock, struct sockaddr *uaddr, in nr_getname()
1026 static int nr_sendmsg(struct kiocb *iocb, struct socket *sock, in nr_sendmsg()
[all …]
/net/decnet/
Daf_decnet.c471 static struct sock *dn_alloc_sock(struct net *net, struct socket *sock, gfp_t gfp) in dn_alloc_sock()
676 static int dn_create(struct net *net, struct socket *sock, int protocol, in dn_create()
709 dn_release(struct socket *sock) in dn_release()
725 static int dn_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in dn_bind()
786 static int dn_auto_bind(struct socket *sock) in dn_auto_bind()
909 struct socket *sock = sk->sk_socket; in __dn_connect() local
975 static int dn_connect(struct socket *sock, struct sockaddr *uaddr, int addrlen, int flags) in dn_connect()
1073 static int dn_accept(struct socket *sock, struct socket *newsock, int flags) in dn_accept()
1182 static int dn_getname(struct socket *sock, struct sockaddr *uaddr,int *uaddr_len,int peer) in dn_getname()
1211 static unsigned int dn_poll(struct file *file, struct socket *sock, poll_table *wait) in dn_poll()
[all …]
/net/x25/
Daf_x25.c439 static int x25_setsockopt(struct socket *sock, int level, int optname, in x25_setsockopt()
466 static int x25_getsockopt(struct socket *sock, int level, int optname, in x25_getsockopt()
495 static int x25_listen(struct socket *sock, int backlog) in x25_listen()
537 static int x25_create(struct net *net, struct socket *sock, int protocol, in x25_create()
635 static int x25_release(struct socket *sock) in x25_release()
677 static int x25_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in x25_bind()
737 static int x25_connect(struct socket *sock, struct sockaddr *uaddr, in x25_connect()
855 static int x25_accept(struct socket *sock, struct socket *newsock, int flags) in x25_accept()
896 static int x25_getname(struct socket *sock, struct sockaddr *uaddr, in x25_getname()
1080 static int x25_sendmsg(struct kiocb *iocb, struct socket *sock, in x25_sendmsg()
[all …]
/net/phonet/
Dsocket.c39 static int pn_socket_release(struct socket *sock) in pn_socket_release()
165 static int pn_socket_bind(struct socket *sock, struct sockaddr *addr, int len) in pn_socket_bind()
211 static int pn_socket_autobind(struct socket *sock) in pn_socket_autobind()
226 static int pn_socket_connect(struct socket *sock, struct sockaddr *addr, in pn_socket_connect()
303 static int pn_socket_accept(struct socket *sock, struct socket *newsock, in pn_socket_accept()
324 static int pn_socket_getname(struct socket *sock, struct sockaddr *addr, in pn_socket_getname()
340 static unsigned int pn_socket_poll(struct file *file, struct socket *sock, in pn_socket_poll()
366 static int pn_socket_ioctl(struct socket *sock, unsigned int cmd, in pn_socket_ioctl()
404 static int pn_socket_listen(struct socket *sock, int backlog) in pn_socket_listen()
428 static int pn_socket_sendmsg(struct kiocb *iocb, struct socket *sock, in pn_socket_sendmsg()

12345