/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 | 20 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() 55 static int pvc_connect(struct socket *sock,struct sockaddr *sockaddr, in pvc_connect() 61 static int pvc_setsockopt(struct socket *sock, int level, int optname, in pvc_setsockopt() 74 static int pvc_getsockopt(struct socket *sock, int level, int optname, in pvc_getsockopt() 87 static int pvc_getname(struct socket *sock,struct sockaddr *sockaddr, in pvc_getname() 130 static int pvc_create(struct net *net, struct socket *sock,int protocol) in pvc_create()
|
D | svc.c | 28 static int svc_create(struct net *net, struct socket *sock,int protocol); 37 static int svc_shutdown(struct socket *sock,int how) in svc_shutdown() 72 static int svc_release(struct socket *sock) in svc_release() 91 static int svc_bind(struct socket *sock,struct sockaddr *sockaddr, in svc_bind() 147 static int svc_connect(struct socket *sock,struct sockaddr *sockaddr, in svc_connect() 282 static int svc_listen(struct socket *sock,int backlog) in svc_listen() 322 static int svc_accept(struct socket *sock,struct socket *newsock,int flags) in svc_accept() 416 static int svc_getname(struct socket *sock,struct sockaddr *sockaddr, in svc_getname() 448 static int svc_setsockopt(struct socket *sock, int level, int optname, in svc_setsockopt() 496 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, unsigned long arg, int compat) in do_vcc_ioctl() 189 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in vcc_ioctl() 195 int vcc_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in vcc_compat_ioctl()
|
/net/ |
D | socket.c | 253 init_waitqueue_head(&ei->socket.wait); in sock_alloc_inode() 255 ei->socket.fasync_list = NULL; in sock_alloc_inode() 256 ei->socket.state = SS_UNCONNECTED; in sock_alloc_inode() 257 ei->socket.flags = 0; in sock_alloc_inode() 258 ei->socket.ops = NULL; in sock_alloc_inode() 259 ei->socket.sk = NULL; in sock_alloc_inode() 260 ei->socket.file = NULL; in sock_alloc_inode() 375 static int sock_attach_fd(struct socket *sock, struct file *file, int flags) in sock_attach_fd() 404 int sock_map_fd(struct socket *sock, int flags) in sock_map_fd() 422 static struct socket *sock_from_file(struct file *file, int *err) in sock_from_file() [all …]
|
/net/rxrpc/ |
D | ar-local.c | 68 &local->socket); in rxrpc_create_local() 77 ret = kernel_bind(local->socket, in rxrpc_create_local() 88 ret = kernel_setsockopt(local->socket, SOL_IP, IP_RECVERR, in rxrpc_create_local() 97 ret = kernel_setsockopt(local->socket, SOL_IP, IP_MTU_DISCOVER, in rxrpc_create_local() 109 sock = local->socket->sk; in rxrpc_create_local() 117 kernel_sock_shutdown(local->socket, SHUT_RDWR); in rxrpc_create_local() 118 local->socket->sk->sk_user_data = NULL; in rxrpc_create_local() 119 sock_release(local->socket); in rxrpc_create_local() 120 local->socket = NULL; in rxrpc_create_local() 258 local->socket->sk->sk_user_data = NULL; in rxrpc_destroy_local() [all …]
|
D | af_rxrpc.c | 118 static int rxrpc_bind(struct socket *sock, struct sockaddr *saddr, int len) in rxrpc_bind() 184 static int rxrpc_listen(struct socket *sock, int backlog) in rxrpc_listen() 219 static struct rxrpc_transport *rxrpc_name_to_transport(struct socket *sock, in rxrpc_name_to_transport() 265 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *sock, in rxrpc_kernel_begin_call() 336 rxrpc_remove_user_ID(call->socket, call); in rxrpc_kernel_end_call() 353 void rxrpc_kernel_intercept_rx_messages(struct socket *sock, in rxrpc_kernel_intercept_rx_messages() 369 static int rxrpc_connect(struct socket *sock, struct sockaddr *addr, in rxrpc_connect() 440 static int rxrpc_sendmsg(struct kiocb *iocb, struct socket *sock, in rxrpc_sendmsg() 509 static int rxrpc_setsockopt(struct socket *sock, int level, int optname, in rxrpc_setsockopt() 585 static unsigned int rxrpc_poll(struct file *file, struct socket *sock, in rxrpc_poll() [all …]
|
D | ar-output.c | 218 lock_sock(&call->socket->sk); in rxrpc_kernel_send_data() 232 ret = rxrpc_send_data(NULL, call->socket, call, msg, len); in rxrpc_kernel_send_data() 236 release_sock(&call->socket->sk); in rxrpc_kernel_send_data() 254 lock_sock(&call->socket->sk); in rxrpc_kernel_abort_call() 262 release_sock(&call->socket->sk); in rxrpc_kernel_abort_call() 360 ret = kernel_sendmsg(trans->local->socket, &msg, iov, 1, in rxrpc_send_packet() 377 ret = kernel_setsockopt(trans->local->socket, SOL_IP, IP_MTU_DISCOVER, in rxrpc_send_packet() 380 ret = kernel_sendmsg(trans->local->socket, &msg, iov, 1, in rxrpc_send_packet() 384 kernel_setsockopt(trans->local->socket, SOL_IP, in rxrpc_send_packet()
|
/net/unix/ |
D | af_unix.c | 452 static int unix_listen(struct socket *sock, int backlog) in unix_listen() 482 static int unix_release(struct socket *); 483 static int unix_bind(struct socket *, struct sockaddr *, int); 484 static int unix_stream_connect(struct socket *, struct sockaddr *, 486 static int unix_socketpair(struct socket *, struct socket *); 487 static int unix_accept(struct socket *, struct socket *, int); 488 static int unix_getname(struct socket *, struct sockaddr *, int *, int); 489 static unsigned int unix_poll(struct file *, struct socket *, poll_table *); 490 static unsigned int unix_dgram_poll(struct file *, struct socket *, 492 static int unix_ioctl(struct socket *, unsigned int, unsigned long); [all …]
|
/net/phonet/ |
D | socket.c | 37 static int pn_socket_release(struct socket *sock) in pn_socket_release() 116 static int pn_socket_bind(struct socket *sock, struct sockaddr *addr, int len) in pn_socket_bind() 158 static int pn_socket_autobind(struct socket *sock) in pn_socket_autobind() 173 static int pn_socket_accept(struct socket *sock, struct socket *newsock, in pn_socket_accept() 191 static int pn_socket_getname(struct socket *sock, struct sockaddr *addr, in pn_socket_getname() 207 static unsigned int pn_socket_poll(struct file *file, struct socket *sock, in pn_socket_poll() 236 static int pn_socket_ioctl(struct socket *sock, unsigned int cmd, in pn_socket_ioctl() 274 static int pn_socket_listen(struct socket *sock, int backlog) in pn_socket_listen() 298 static int pn_socket_sendmsg(struct kiocb *iocb, struct socket *sock, in pn_socket_sendmsg()
|
/net/bluetooth/hidp/ |
D | hidp.h | 120 int hidp_add_connection(struct hidp_connadd_req *req, struct socket *ctrl_sock, struct socket *intr… 129 struct socket *ctrl_sock; 130 struct socket *intr_sock;
|
D | sock.c | 42 static int hidp_sock_release(struct socket *sock) in hidp_sock_release() 57 static int hidp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in hidp_sock_ioctl() 64 struct socket *csock; in hidp_sock_ioctl() 65 struct socket *isock; in hidp_sock_ioctl() 158 static int hidp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in hidp_sock_compat_ioctl() 244 static int hidp_sock_create(struct net *net, struct socket *sock, int protocol) in hidp_sock_create()
|
/net/can/ |
D | Kconfig | 25 the BSD socket API. You probably want to use the raw socket in 27 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 | 46 static int cmtp_sock_release(struct socket *sock) in cmtp_sock_release() 61 static int cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in cmtp_sock_ioctl() 67 struct socket *nsock; in cmtp_sock_ioctl() 136 static int cmtp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in cmtp_sock_compat_ioctl() 193 static int cmtp_sock_create(struct net *net, struct socket *sock, int protocol) in cmtp_sock_create()
|
/net/bluetooth/bnep/ |
D | sock.c | 49 static int bnep_sock_release(struct socket *sock) in bnep_sock_release() 63 static int bnep_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_ioctl() 69 struct socket *nsock; in bnep_sock_ioctl() 141 static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_compat_ioctl() 198 static int bnep_sock_create(struct net *net, struct socket *sock, int protocol) in bnep_sock_create()
|
/net/bluetooth/rfcomm/ |
D | sock.c | 285 static struct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) in rfcomm_sock_alloc() 326 static int rfcomm_sock_create(struct net *net, struct socket *sock, int protocol) in rfcomm_sock_create() 347 static int rfcomm_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in rfcomm_sock_bind() 388 static int rfcomm_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in rfcomm_sock_connect() 429 static int rfcomm_sock_listen(struct socket *sock, int backlog) in rfcomm_sock_listen() 478 static int rfcomm_sock_accept(struct socket *sock, struct socket *newsock, int flags) in rfcomm_sock_accept() 539 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() 643 static int rfcomm_sock_recvmsg(struct kiocb *iocb, struct socket *sock, in rfcomm_sock_recvmsg() 733 static int rfcomm_sock_setsockopt_old(struct socket *sock, int optname, char __user *optval, int op… in rfcomm_sock_setsockopt_old() [all …]
|
/net/llc/ |
D | af_llc.c | 128 static void llc_ui_sk_init(struct socket *sock, struct sock *sk) in llc_ui_sk_init() 150 static int llc_ui_create(struct net *net, struct socket *sock, int protocol) in llc_ui_create() 178 static int llc_ui_release(struct socket *sock) in llc_ui_release() 245 static int llc_ui_autobind(struct socket *sock, struct sockaddr_llc *addr) in llc_ui_autobind() 290 static int llc_ui_bind(struct socket *sock, struct sockaddr *uaddr, int addrlen) in llc_ui_bind() 366 static int llc_ui_shutdown(struct socket *sock, int how) in llc_ui_shutdown() 401 static int llc_ui_connect(struct socket *sock, struct sockaddr *uaddr, in llc_ui_connect() 474 static int llc_ui_listen(struct socket *sock, int backlog) in llc_ui_listen() 600 static int llc_ui_accept(struct socket *sock, struct socket *newsock, int flags) in llc_ui_accept() 662 static int llc_ui_recvmsg(struct kiocb *iocb, struct socket *sock, in llc_ui_recvmsg() [all …]
|
/net/tipc/ |
D | socket.c | 187 static int tipc_create(struct net *net, struct socket *sock, int protocol) in tipc_create() 274 static int release(struct socket *sock) in release() 353 static int bind(struct socket *sock, struct sockaddr *uaddr, int uaddr_len) in bind() 390 static int get_name(struct socket *sock, struct sockaddr *uaddr, in get_name() 441 static unsigned int poll(struct file *file, struct socket *sock, in poll() 509 static int send_msg(struct kiocb *iocb, struct socket *sock, in send_msg() 617 static int send_packet(struct kiocb *iocb, struct socket *sock, in send_packet() 676 static int send_stream(struct kiocb *iocb, struct socket *sock, in send_stream() 770 static int auto_connect(struct socket *sock, struct tipc_msg *msg) in auto_connect() 892 static int recv_msg(struct kiocb *iocb, struct socket *sock, in recv_msg() [all …]
|
/net/bluetooth/ |
D | sco.c | 413 static struct sock *sco_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) in sco_sock_alloc() 438 static int sco_sock_create(struct net *net, struct socket *sock, int protocol) in sco_sock_create() 459 static int sco_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in sco_sock_bind() 495 static int sco_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in sco_sock_connect() 529 static int sco_sock_listen(struct socket *sock, int backlog) in sco_sock_listen() 552 static int sco_sock_accept(struct socket *sock, struct socket *newsock, int flags) in sco_sock_accept() 608 static int sco_sock_getname(struct socket *sock, struct sockaddr *addr, int *len, int peer) in sco_sock_getname() 626 static int sco_sock_sendmsg(struct kiocb *iocb, struct socket *sock, in sco_sock_sendmsg() 652 static int sco_sock_setsockopt(struct socket *sock, int level, int optname, char __user *optval, in… in sco_sock_setsockopt() 671 static int sco_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __use… in sco_sock_getsockopt_old() [all …]
|
D | af_bluetooth.c | 84 static inline void bt_sock_reclassify_lock(struct socket *sock, int proto) in bt_sock_reclassify_lock() 160 static int bt_sock_create(struct net *net, struct socket *sock, int proto) in bt_sock_create() 233 struct sock *bt_accept_dequeue(struct sock *parent, struct socket *newsock) in bt_accept_dequeue() 267 int bt_sock_recvmsg(struct kiocb *iocb, struct socket *sock, in bt_sock_recvmsg() 322 unsigned int bt_sock_poll(struct file * file, struct socket *sock, poll_table *wait) in bt_sock_poll() 364 int bt_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bt_sock_ioctl()
|
D | hci_sock.c | 140 static int hci_sock_release(struct socket *sock) in hci_sock_release() 204 static int hci_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in hci_sock_ioctl() 265 static int hci_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in hci_sock_bind() 301 static int hci_sock_getname(struct socket *sock, struct sockaddr *addr, int *addr_len, int peer) in hci_sock_getname() 354 static int hci_sock_recvmsg(struct kiocb *iocb, struct socket *sock, in hci_sock_recvmsg() 391 static int hci_sock_sendmsg(struct kiocb *iocb, struct socket *sock, in hci_sock_sendmsg() 469 static int hci_sock_setsockopt(struct socket *sock, int level, int optname, char __user *optval, in… in hci_sock_setsockopt() 545 static int hci_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval, in… in hci_sock_getsockopt() 624 static int hci_sock_create(struct net *net, struct socket *sock, int protocol) in hci_sock_create()
|
/net/core/ |
D | sock.c | 440 int sock_setsockopt(struct socket *sock, int level, int optname, in sock_setsockopt() 680 int sock_getsockopt(struct socket *sock, int level, int optname, in sock_getsockopt() 1526 int sock_no_bind(struct socket *sock, struct sockaddr *saddr, int len) in sock_no_bind() 1531 int sock_no_connect(struct socket *sock, struct sockaddr *saddr, in sock_no_connect() 1537 int sock_no_socketpair(struct socket *sock1, struct socket *sock2) in sock_no_socketpair() 1542 int sock_no_accept(struct socket *sock, struct socket *newsock, int flags) in sock_no_accept() 1547 int sock_no_getname(struct socket *sock, struct sockaddr *saddr, in sock_no_getname() 1553 unsigned int sock_no_poll(struct file * file, struct socket *sock, poll_table *pt) in sock_no_poll() 1558 int sock_no_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in sock_no_ioctl() 1563 int sock_no_listen(struct socket *sock, int backlog) in sock_no_listen() [all …]
|
/net/sunrpc/ |
D | xprtsock.c | 218 struct socket * sock; 407 static int xs_send_kvec(struct socket *sock, struct sockaddr *addr, int addrlen, struct kvec *vec, … in xs_send_kvec() 424 static int xs_send_pagedata(struct socket *sock, struct xdr_buf *xdr, unsigned int base, int more) in xs_send_pagedata() 464 static int xs_sendpages(struct socket *sock, struct sockaddr *addr, int addrlen, struct xdr_buf *xd… in xs_sendpages() 632 struct socket *sock = transport->sock; in xs_tcp_shutdown() 780 struct socket *sock = transport->sock; in xs_close() 1244 struct socket *sock; in xs_udp_write_space() 1279 struct socket *sock; in xs_tcp_write_space() 1378 static unsigned short xs_get_srcport(struct sock_xprt *transport, struct socket *sock) in xs_get_srcport() 1387 static unsigned short xs_next_srcport(struct sock_xprt *transport, struct socket *sock, unsigned sh… in xs_next_srcport() [all …]
|
/net/netfilter/ipvs/ |
D | ip_vs_sync.c | 72 struct socket *sock; 569 static int bind_mcastif_addr(struct socket *sock, char *ifname) in bind_mcastif_addr() 597 static struct socket * make_send_sock(void) in make_send_sock() 599 struct socket *sock; in make_send_sock() 642 static struct socket * make_receive_sock(void) in make_receive_sock() 644 struct socket *sock; in make_receive_sock() 682 ip_vs_send_async(struct socket *sock, const char *buffer, const size_t length) in ip_vs_send_async() 699 ip_vs_send_sync_msg(struct socket *sock, struct ip_vs_sync_mesg *msg) in ip_vs_send_sync_msg() 713 ip_vs_receive(struct socket *sock, char *buffer, const size_t buflen) in ip_vs_receive() 822 struct socket *sock; in start_sync_thread()
|
/net/iucv/ |
D | af_iucv.c | 211 static struct sock *iucv_sock_alloc(struct socket *sock, int proto, gfp_t prio) in iucv_sock_alloc() 244 static int iucv_sock_create(struct net *net, struct socket *sock, int protocol) in iucv_sock_create() 303 struct sock *iucv_accept_dequeue(struct sock *parent, struct socket *newsock) in iucv_accept_dequeue() 371 static int iucv_sock_bind(struct socket *sock, struct sockaddr *addr, in iucv_sock_bind() 448 static int iucv_sock_connect(struct socket *sock, struct sockaddr *addr, in iucv_sock_connect() 537 static int iucv_sock_listen(struct socket *sock, int backlog) in iucv_sock_listen() 559 static int iucv_sock_accept(struct socket *sock, struct socket *newsock, in iucv_sock_accept() 613 static int iucv_sock_getname(struct socket *sock, struct sockaddr *addr, in iucv_sock_getname() 636 static int iucv_sock_sendmsg(struct kiocb *iocb, struct socket *sock, in iucv_sock_sendmsg() 793 static int iucv_sock_recvmsg(struct kiocb *iocb, struct socket *sock, in iucv_sock_recvmsg() [all …]
|