/net/atm/ |
D | common.h | 13 int vcc_create(struct net *net, struct socket *sock, int protocol, int family, int kern); 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 socket *sock, struct msghdr *msg, size_t size, 18 int vcc_sendmsg(struct socket *sock, struct msghdr *m, size_t total_len); 19 unsigned int vcc_poll(struct file *file, struct socket *sock, poll_table *wait); 20 int vcc_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 21 int vcc_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 22 int vcc_setsockopt(struct socket *sock, int level, int optname, 24 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() 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() [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 | local_object.c | 118 local->srx.transport_type, 0, &local->socket); in rxrpc_open_socket() 127 ret = kernel_bind(local->socket, in rxrpc_open_socket() 138 ret = kernel_setsockopt(local->socket, SOL_IP, IP_RECVERR, in rxrpc_open_socket() 147 ret = kernel_setsockopt(local->socket, SOL_IP, IP_MTU_DISCOVER, in rxrpc_open_socket() 155 sock = local->socket->sk; in rxrpc_open_socket() 163 kernel_sock_shutdown(local->socket, SHUT_RDWR); in rxrpc_open_socket() 164 local->socket->sk->sk_user_data = NULL; in rxrpc_open_socket() 165 sock_release(local->socket); in rxrpc_open_socket() 166 local->socket = NULL; in rxrpc_open_socket() 275 struct socket *socket = local->socket; in rxrpc_local_destroyer() local [all …]
|
D | af_rxrpc.c | 134 static int rxrpc_bind(struct socket *sock, struct sockaddr *saddr, int len) in rxrpc_bind() 196 static int rxrpc_listen(struct socket *sock, int backlog) in rxrpc_listen() 253 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *sock, in rxrpc_kernel_begin_call() 302 void rxrpc_kernel_end_call(struct socket *sock, struct rxrpc_call *call) in rxrpc_kernel_end_call() 319 struct socket *sock, in rxrpc_kernel_new_call_notification() 335 static int rxrpc_connect(struct socket *sock, struct sockaddr *addr, in rxrpc_connect() 385 static int rxrpc_sendmsg(struct socket *sock, struct msghdr *m, size_t len) in rxrpc_sendmsg() 460 static int rxrpc_setsockopt(struct socket *sock, int level, int optname, in rxrpc_setsockopt() 536 static unsigned int rxrpc_poll(struct file *file, struct socket *sock, in rxrpc_poll() 563 static int rxrpc_create(struct net *net, struct socket *sock, int protocol, in rxrpc_create() [all …]
|
D | output.c | 183 ret = kernel_sendmsg(conn->params.local->socket, &msg, iov, 2, len); in rxrpc_send_ack_packet() 255 ret = kernel_sendmsg(conn->params.local->socket, in rxrpc_send_abort_packet() 341 ret = kernel_sendmsg(conn->params.local->socket, &msg, iov, 2, len); in rxrpc_send_data_packet() 372 ret = kernel_setsockopt(conn->params.local->socket, in rxrpc_send_data_packet() 376 ret = kernel_sendmsg(conn->params.local->socket, &msg, in rxrpc_send_data_packet() 380 kernel_setsockopt(conn->params.local->socket, SOL_IP, in rxrpc_send_data_packet() 389 ret = kernel_setsockopt(conn->params.local->socket, in rxrpc_send_data_packet() 393 ret = kernel_sendmsg(conn->params.local->socket, &msg, in rxrpc_send_data_packet() 397 kernel_setsockopt(conn->params.local->socket, in rxrpc_send_data_packet() 456 kernel_sendmsg(local->socket, &msg, iov, 2, size); in rxrpc_reject_packets()
|
/net/rds/ |
D | tcp.h | 20 struct socket *t_sock; 51 void rds_tcp_tune(struct socket *sock); 52 void rds_tcp_nonagle(struct socket *sock); 53 void rds_tcp_set_callbacks(struct socket *sock, struct rds_conn_path *cp); 54 void rds_tcp_reset_callbacks(struct socket *sock, struct rds_conn_path *cp); 55 void rds_tcp_restore_callbacks(struct socket *sock, 69 struct socket *rds_tcp_listen_init(struct net *); 70 void rds_tcp_listen_stop(struct socket *sock, struct work_struct *acceptor); 72 int rds_tcp_accept_one(struct socket *sock); 73 int rds_tcp_keepalive(struct socket *sock);
|
D | af_rds.c | 58 static int rds_release(struct socket *sock) in rds_release() 112 static int rds_getname(struct socket *sock, struct sockaddr *uaddr, in rds_getname() 155 static unsigned int rds_poll(struct file *file, struct socket *sock, in rds_poll() 195 static int rds_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in rds_ioctl() 301 static int rds_setsockopt(struct socket *sock, int level, int optname, in rds_setsockopt() 348 static int rds_getsockopt(struct socket *sock, int level, int optname, in rds_getsockopt() 401 static int rds_connect(struct socket *sock, struct sockaddr *uaddr, in rds_connect() 469 static int __rds_create(struct socket *sock, struct sock *sk, int protocol) in __rds_create() 496 static int rds_create(struct net *net, struct socket *sock, int protocol, in rds_create() 527 static void rds_sock_inc_info(struct socket *sock, unsigned int len, in rds_sock_inc_info() [all …]
|
D | tcp_listen.c | 41 int rds_tcp_keepalive(struct socket *sock) in rds_tcp_keepalive() 119 int rds_tcp_accept_one(struct socket *sock) in rds_tcp_accept_one() 121 struct socket *new_sock = NULL; in rds_tcp_accept_one() 245 struct socket *rds_tcp_listen_init(struct net *net) in rds_tcp_listen_init() 248 struct socket *sock = NULL; in rds_tcp_listen_init() 282 void rds_tcp_listen_stop(struct socket *sock, struct work_struct *acceptor) in rds_tcp_listen_stop()
|
D | tcp.c | 85 void rds_tcp_nonagle(struct socket *sock) in rds_tcp_nonagle() 106 void rds_tcp_restore_callbacks(struct socket *sock, in rds_tcp_restore_callbacks() 137 void rds_tcp_reset_callbacks(struct socket *sock, in rds_tcp_reset_callbacks() 141 struct socket *osock = tc->t_sock; in rds_tcp_reset_callbacks() 192 void rds_tcp_set_callbacks(struct socket *sock, struct rds_conn_path *cp) in rds_tcp_set_callbacks() 223 static void rds_tcp_tc_info(struct socket *sock, unsigned int len, in rds_tcp_tc_info() 368 struct socket *rds_tcp_listen_sock; 379 void rds_tcp_tune(struct socket *sock) in rds_tcp_tune() 482 struct socket *lsock = rtn->rds_tcp_listen_sock; in rds_tcp_exit_net() 522 struct socket *lsock = rtn->rds_tcp_listen_sock; in rds_tcp_kill_sock() [all …]
|
/net/unix/ |
D | af_unix.c | 602 static int unix_listen(struct socket *sock, int backlog) in unix_listen() 633 static int unix_release(struct socket *); 634 static int unix_bind(struct socket *, struct sockaddr *, int); 635 static int unix_stream_connect(struct socket *, struct sockaddr *, 637 static int unix_socketpair(struct socket *, struct socket *); 638 static int unix_accept(struct socket *, struct socket *, int); 639 static int unix_getname(struct socket *, struct sockaddr *, int *, int); 640 static unsigned int unix_poll(struct file *, struct socket *, poll_table *); 641 static unsigned int unix_dgram_poll(struct file *, struct socket *, 643 static int unix_ioctl(struct socket *, unsigned int, unsigned long); [all …]
|
/net/ |
D | socket.c | 261 RCU_INIT_POINTER(ei->socket.wq, wq); in sock_alloc_inode() 263 ei->socket.state = SS_UNCONNECTED; in sock_alloc_inode() 264 ei->socket.flags = 0; in sock_alloc_inode() 265 ei->socket.ops = NULL; in sock_alloc_inode() 266 ei->socket.sk = NULL; in sock_alloc_inode() 267 ei->socket.file = NULL; in sock_alloc_inode() 278 wq = rcu_dereference_protected(ei->socket.wq, 1); in sock_destroy_inode() 397 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname) in sock_alloc_file() 433 static int sock_map_fd(struct socket *sock, int flags) in sock_map_fd() 450 struct socket *sock_from_file(struct file *file, int *err) in sock_from_file() [all …]
|
/net/ipv4/ |
D | udp_tunnel.c | 13 struct socket **sockp) in udp_sock_create4() 16 struct socket *sock = NULL; in udp_sock_create4() 56 void setup_udp_tunnel_sock(struct net *net, struct socket *sock, in setup_udp_tunnel_sock() 79 void udp_tunnel_push_rx_port(struct net_device *dev, struct socket *sock, in udp_tunnel_push_rx_port() 97 void udp_tunnel_notify_add_rx_port(struct socket *sock, unsigned short type) in udp_tunnel_notify_add_rx_port() 119 void udp_tunnel_notify_del_rx_port(struct socket *sock, unsigned short type) in udp_tunnel_notify_del_rx_port() 163 void udp_tunnel_sock_release(struct socket *sock) in udp_tunnel_sock_release()
|
/net/bluetooth/hidp/ |
D | hidp.h | 125 int hidp_connection_add(struct hidp_connadd_req *req, struct socket *ctrl_sock, struct socket *intr… 152 struct socket *ctrl_sock; 153 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 | 70 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() 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() 551 static unsigned int llcp_sock_poll(struct file *file, struct socket *sock, in llcp_sock_poll() 590 static int llcp_sock_release(struct socket *sock) in llcp_sock_release() [all …]
|
/net/bluetooth/rfcomm/ |
D | sock.c | 272 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() 533 static int rfcomm_sock_getname(struct socket *sock, struct sockaddr *addr, int *len, int peer) in rfcomm_sock_getname() 556 static int rfcomm_sock_sendmsg(struct socket *sock, struct msghdr *msg, in rfcomm_sock_sendmsg() 622 static int rfcomm_sock_recvmsg(struct socket *sock, struct msghdr *msg, in rfcomm_sock_recvmsg() 647 static int rfcomm_sock_setsockopt_old(struct socket *sock, int optname, char __user *optval, unsign… in rfcomm_sock_setsockopt_old() [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() 138 static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_compat_ioctl() 195 static int bnep_sock_create(struct net *net, struct socket *sock, int protocol, in bnep_sock_create()
|
/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/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/tipc/ |
D | socket.c | 113 static int tipc_release(struct socket *sock); 114 static int tipc_accept(struct socket *sock, struct socket *new_sock, int flags); 115 static int tipc_wait_for_sndmsg(struct socket *sock, long *timeo_p); 124 static int __tipc_send_stream(struct socket *sock, struct msghdr *m, 126 static int __tipc_sendmsg(struct socket *sock, struct msghdr *m, size_t dsz); 296 static int tipc_sk_create(struct net *net, struct socket *sock, in tipc_sk_create() 399 static int tipc_release(struct socket *sock) in tipc_release() 478 static int tipc_bind(struct socket *sock, struct sockaddr *uaddr, in tipc_bind() 536 static int tipc_getname(struct socket *sock, struct sockaddr *uaddr, in tipc_getname() 604 static unsigned int tipc_poll(struct file *file, struct socket *sock, in tipc_poll() [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() 261 static int llc_ui_autobind(struct socket *sock, struct sockaddr_llc *addr) in llc_ui_autobind() 313 static int llc_ui_bind(struct socket *sock, struct sockaddr *uaddr, int addrlen) in llc_ui_bind() 410 static int llc_ui_shutdown(struct socket *sock, int how) in llc_ui_shutdown() 445 static int llc_ui_connect(struct socket *sock, struct sockaddr *uaddr, in llc_ui_connect() 518 static int llc_ui_listen(struct socket *sock, int backlog) in llc_ui_listen() 659 static int llc_ui_accept(struct socket *sock, struct socket *newsock, int flags) in llc_ui_accept() 721 static int llc_ui_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in llc_ui_recvmsg() [all …]
|
/net/bluetooth/ |
D | sco.c | 467 static struct sock *sco_sock_alloc(struct net *net, struct socket *sock, in sco_sock_alloc() 495 static int sco_sock_create(struct net *net, struct socket *sock, int protocol, in sco_sock_create() 517 static int sco_sock_bind(struct socket *sock, struct sockaddr *addr, in sco_sock_bind() 553 static int sco_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in sco_sock_connect() 588 static int sco_sock_listen(struct socket *sock, int backlog) in sco_sock_listen() 628 static int sco_sock_accept(struct socket *sock, struct socket *newsock, in sco_sock_accept() 683 static int sco_sock_getname(struct socket *sock, struct sockaddr *addr, in sco_sock_getname() 702 static int sco_sock_sendmsg(struct socket *sock, struct msghdr *msg, in sco_sock_sendmsg() 772 static int sco_sock_recvmsg(struct socket *sock, struct msghdr *msg, in sco_sock_recvmsg() 794 static int sco_sock_setsockopt(struct socket *sock, int level, int optname, in sco_sock_setsockopt() [all …]
|
/net/phonet/ |
D | socket.c | 39 static int pn_socket_release(struct socket *sock) in pn_socket_release() 167 static int pn_socket_bind(struct socket *sock, struct sockaddr *addr, int len) in pn_socket_bind() 213 static int pn_socket_autobind(struct socket *sock) in pn_socket_autobind() 228 static int pn_socket_connect(struct socket *sock, struct sockaddr *addr, in pn_socket_connect() 305 static int pn_socket_accept(struct socket *sock, struct socket *newsock, in pn_socket_accept() 326 static int pn_socket_getname(struct socket *sock, struct sockaddr *addr, in pn_socket_getname() 342 static unsigned int pn_socket_poll(struct file *file, struct socket *sock, in pn_socket_poll() 368 static int pn_socket_ioctl(struct socket *sock, unsigned int cmd, in pn_socket_ioctl() 406 static int pn_socket_listen(struct socket *sock, int backlog) in pn_socket_listen() 430 static int pn_socket_sendmsg(struct socket *sock, struct msghdr *m, in pn_socket_sendmsg()
|