/net/atm/ |
D | common.h | 13 int vcc_create(struct net *net, struct socket *sock, int protocol, int family); 14 int vcc_release(struct socket *sock); 15 int vcc_connect(struct socket *sock, int itf, short vpi, int vci); 16 int vcc_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, 18 int vcc_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *m, 20 unsigned int vcc_poll(struct file *file, struct socket *sock, poll_table *wait); 21 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 22 int vcc_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 23 int vcc_setsockopt(struct socket *sock, int level, int optname, 25 int vcc_getsockopt(struct socket *sock, int level, int optname,
|
D | pvc.c | 21 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()
|
D | svc.c | 30 static int svc_create(struct net *net, struct socket *sock, int protocol, 40 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() 149 static int svc_connect(struct socket *sock, struct sockaddr *sockaddr, in svc_connect() 287 static int svc_listen(struct socket *sock, int backlog) in svc_listen() 326 static int svc_accept(struct socket *sock, struct socket *newsock, int flags) in svc_accept() 424 static int svc_getname(struct socket *sock, struct sockaddr *sockaddr, in svc_getname() 455 static int svc_setsockopt(struct socket *sock, int level, int optname, in svc_setsockopt() 500 static int svc_getsockopt(struct socket *sock, int level, int optname, in svc_getsockopt() [all …]
|
D | ioctl.c | 50 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/rxrpc/ |
D | ar-local.c | 69 &local->socket); in rxrpc_create_local() 78 ret = kernel_bind(local->socket, in rxrpc_create_local() 89 ret = kernel_setsockopt(local->socket, SOL_IP, IP_RECVERR, in rxrpc_create_local() 98 ret = kernel_setsockopt(local->socket, SOL_IP, IP_MTU_DISCOVER, in rxrpc_create_local() 110 sock = local->socket->sk; in rxrpc_create_local() 118 kernel_sock_shutdown(local->socket, SHUT_RDWR); in rxrpc_create_local() 119 local->socket->sk->sk_user_data = NULL; in rxrpc_create_local() 120 sock_release(local->socket); in rxrpc_create_local() 121 local->socket = NULL; in rxrpc_create_local() 259 local->socket->sk->sk_user_data = NULL; in rxrpc_destroy_local() [all …]
|
D | af_rxrpc.c | 122 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() 340 rxrpc_remove_user_ID(call->socket, call); in rxrpc_kernel_end_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() [all …]
|
/net/ |
D | socket.c | 255 RCU_INIT_POINTER(ei->socket.wq, wq); in sock_alloc_inode() 257 ei->socket.state = SS_UNCONNECTED; in sock_alloc_inode() 258 ei->socket.flags = 0; in sock_alloc_inode() 259 ei->socket.ops = NULL; in sock_alloc_inode() 260 ei->socket.sk = NULL; in sock_alloc_inode() 261 ei->socket.file = NULL; in sock_alloc_inode() 272 wq = rcu_dereference_protected(ei->socket.wq, 1); in sock_destroy_inode() 349 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname) in sock_alloc_file() 386 static int sock_map_fd(struct socket *sock, int flags) in sock_map_fd() 403 struct socket *sock_from_file(struct file *file, int *err) in sock_from_file() [all …]
|
/net/rds/ |
D | tcp.h | 15 struct socket *t_sock; 46 void rds_tcp_tune(struct socket *sock); 47 void rds_tcp_nonagle(struct socket *sock); 48 void rds_tcp_set_callbacks(struct socket *sock, struct rds_connection *conn); 49 void rds_tcp_restore_callbacks(struct socket *sock,
|
D | af_rds.c | 67 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 …]
|
D | tcp_listen.c | 46 static struct socket *rds_tcp_listen_sock; 48 static int rds_tcp_accept_one(struct socket *sock) in rds_tcp_accept_one() 50 struct socket *new_sock = NULL; in rds_tcp_accept_one() 141 struct socket *sock = NULL; in rds_tcp_listen_init() 178 struct socket *sock = rds_tcp_listen_sock; in rds_tcp_listen_stop()
|
/net/unix/ |
D | af_unix.c | 589 static int unix_listen(struct socket *sock, int backlog) in unix_listen() 620 static int unix_release(struct socket *); 621 static int unix_bind(struct socket *, struct sockaddr *, int); 622 static int unix_stream_connect(struct socket *, struct sockaddr *, 624 static int unix_socketpair(struct socket *, struct socket *); 625 static int unix_accept(struct socket *, struct socket *, int); 626 static int unix_getname(struct socket *, struct sockaddr *, int *, int); 627 static unsigned int unix_poll(struct file *, struct socket *, poll_table *); 628 static unsigned int unix_dgram_poll(struct file *, struct socket *, 630 static int unix_ioctl(struct socket *, unsigned int, unsigned long); [all …]
|
/net/bluetooth/rfcomm/ |
D | sock.c | 266 static struct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) in rfcomm_sock_alloc() 307 static int rfcomm_sock_create(struct net *net, struct socket *sock, in rfcomm_sock_create() 329 static int rfcomm_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in rfcomm_sock_bind() 374 static int rfcomm_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in rfcomm_sock_connect() 416 static int rfcomm_sock_listen(struct socket *sock, int backlog) in rfcomm_sock_listen() 465 static int rfcomm_sock_accept(struct socket *sock, struct socket *newsock, int flags) in rfcomm_sock_accept() 526 static int rfcomm_sock_getname(struct socket *sock, struct sockaddr *addr, int *len, int peer) in rfcomm_sock_getname() 545 static int rfcomm_sock_sendmsg(struct kiocb *iocb, struct socket *sock, in rfcomm_sock_sendmsg() 606 static int rfcomm_sock_recvmsg(struct kiocb *iocb, struct socket *sock, in rfcomm_sock_recvmsg() 632 static int rfcomm_sock_setsockopt_old(struct socket *sock, int optname, char __user *optval, unsign… in rfcomm_sock_setsockopt_old() [all …]
|
/net/bluetooth/hidp/ |
D | hidp.h | 124 int hidp_connection_add(struct hidp_connadd_req *req, struct socket *ctrl_sock, struct socket *intr… 150 struct socket *ctrl_sock; 151 struct socket *intr_sock;
|
D | sock.c | 32 static int hidp_sock_release(struct socket *sock) in hidp_sock_release() 49 static int hidp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in hidp_sock_ioctl() 56 struct socket *csock; in hidp_sock_ioctl() 57 struct socket *isock; in hidp_sock_ioctl() 142 static int hidp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in hidp_sock_compat_ioctl() 228 static int hidp_sock_create(struct net *net, struct socket *sock, int protocol, in hidp_sock_create()
|
/net/nfc/ |
D | llcp_sock.c | 72 static int llcp_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in llcp_sock_bind() 145 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() 404 struct socket *newsock) in nfc_llcp_accept_dequeue() 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() [all …]
|
/net/bluetooth/bnep/ |
D | sock.c | 36 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() 58 struct socket *nsock; 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/can/ |
D | Kconfig | 26 the BSD socket API. You probably want to use the raw socket in 28 socket has several filter options e.g. ID masking / error frames. 37 interaction. The BCM can be 'programmed' via the BSD socket API and 39 You probably want to use the bcm socket in most cases where cyclic
|
/net/bluetooth/cmtp/ |
D | sock.c | 49 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() 72 struct socket *nsock; 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/bluetooth/ |
D | l2cap_sock.c | 43 static struct sock *l2cap_sock_alloc(struct net *net, struct socket *sock, 46 bool l2cap_is_socket(struct socket *sock) in l2cap_is_socket() 52 static int l2cap_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in l2cap_sock_bind() 116 static int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, in l2cap_sock_connect() 152 static int l2cap_sock_listen(struct socket *sock, int backlog) in l2cap_sock_listen() 196 static int l2cap_sock_accept(struct socket *sock, struct socket *newsock, in l2cap_sock_accept() 253 static int l2cap_sock_getname(struct socket *sock, struct sockaddr *addr, in l2cap_sock_getname() 279 static int l2cap_sock_getsockopt_old(struct socket *sock, int optname, in l2cap_sock_getsockopt_old() 367 static int l2cap_sock_getsockopt(struct socket *sock, int level, int optname, in l2cap_sock_getsockopt() 482 static int l2cap_sock_setsockopt_old(struct socket *sock, int optname, in l2cap_sock_setsockopt_old() [all …]
|
D | sco.c | 404 static struct sock *sco_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) in sco_sock_alloc() 429 static int sco_sock_create(struct net *net, struct socket *sock, int protocol, in sco_sock_create() 451 static int sco_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in sco_sock_bind() 488 static int sco_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in sco_sock_connect() 531 static int sco_sock_listen(struct socket *sock, int backlog) in sco_sock_listen() 571 static int sco_sock_accept(struct socket *sock, struct socket *newsock, int flags) in sco_sock_accept() 627 static int sco_sock_getname(struct socket *sock, struct sockaddr *addr, int *len, int peer) in sco_sock_getname() 646 static int sco_sock_sendmsg(struct kiocb *iocb, struct socket *sock, in sco_sock_sendmsg() 708 static int sco_sock_recvmsg(struct kiocb *iocb, struct socket *sock, in sco_sock_recvmsg() 731 static int sco_sock_setsockopt(struct socket *sock, int level, int optname, char __user *optval, un… in sco_sock_setsockopt() [all …]
|
/net/tipc/ |
D | socket.c | 157 static int tipc_create(struct net *net, struct socket *sock, int protocol, in tipc_create() 238 static int release(struct socket *sock) in release() 309 static int bind(struct socket *sock, struct sockaddr *uaddr, int uaddr_len) in bind() 348 static int get_name(struct socket *sock, struct sockaddr *uaddr, in get_name() 415 static unsigned int poll(struct file *file, struct socket *sock, in poll() 491 static int send_msg(struct kiocb *iocb, struct socket *sock, in send_msg() 601 static int send_packet(struct kiocb *iocb, struct socket *sock, in send_packet() 662 static int send_stream(struct kiocb *iocb, struct socket *sock, in send_stream() 759 static int auto_connect(struct socket *sock, struct tipc_msg *msg) in auto_connect() 885 static int recv_msg(struct kiocb *iocb, struct socket *sock, in recv_msg() [all …]
|
/net/llc/ |
D | af_llc.c | 132 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() 645 static int llc_ui_accept(struct socket *sock, struct socket *newsock, int flags) in llc_ui_accept() 707 static int llc_ui_recvmsg(struct kiocb *iocb, struct socket *sock, in llc_ui_recvmsg() [all …]
|
/net/ieee802154/ |
D | af_ieee802154.c | 96 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() 243 static int ieee802154_create(struct net *net, struct socket *sock, in ieee802154_create()
|
/net/phonet/ |
D | socket.c | 39 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()
|
/net/vmw_vsock/ |
D | af_vsock.c | 570 struct socket *sock, in __vsock_create() 708 static int vsock_release(struct socket *sock) in vsock_release() 718 vsock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in vsock_bind() 736 static int vsock_getname(struct socket *sock, in vsock_getname() 779 static int vsock_shutdown(struct socket *sock, int mode) in vsock_shutdown() 828 static unsigned int vsock_poll(struct file *file, struct socket *sock, in vsock_poll() 941 static int vsock_dgram_sendmsg(struct kiocb *kiocb, struct socket *sock, in vsock_dgram_sendmsg() 1017 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 …]
|