/include/net/ |
D | af_rxrpc.h | 16 struct socket; 39 void rxrpc_kernel_new_call_notification(struct socket *, 42 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *, 52 int rxrpc_kernel_send_data(struct socket *, struct rxrpc_call *, 55 int rxrpc_kernel_recv_data(struct socket *, struct rxrpc_call *, 57 bool rxrpc_kernel_abort_call(struct socket *, struct rxrpc_call *, 59 void rxrpc_kernel_end_call(struct socket *, struct rxrpc_call *); 60 void rxrpc_kernel_get_peer(struct socket *, struct rxrpc_call *, 62 bool rxrpc_kernel_get_srtt(struct socket *, struct rxrpc_call *, u32 *); 63 int rxrpc_kernel_charge_accept(struct socket *, rxrpc_notify_rx_t, [all …]
|
D | inet_common.h | 17 struct socket; 19 int inet_release(struct socket *sock); 20 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, 22 int __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr, 24 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr, 26 int inet_accept(struct socket *sock, struct socket *newsock, int flags, 29 int inet_sendmsg(struct socket *sock, struct msghdr *msg, size_t size); 30 ssize_t inet_sendpage(struct socket *sock, struct page *page, int offset, 32 int inet_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, 34 int inet_shutdown(struct socket *sock, int how); [all …]
|
D | scm.h | 42 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm); 47 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram() 52 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram() 78 static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, in scm_send() 93 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec() 109 static inline bool scm_has_secdata(struct socket *sock) in scm_has_secdata() 114 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec() 117 static inline bool scm_has_secdata(struct socket *sock) in scm_has_secdata() 123 static __inline__ void scm_recv(struct socket *sock, struct msghdr *msg, in scm_recv()
|
D | udp_tunnel.h | 41 struct socket **sockp); 45 struct socket **sockp); 48 struct socket **sockp) in udp_sock_create6() 56 struct socket **sockp) in udp_sock_create() 93 void setup_udp_tunnel_sock(struct net *net, struct socket *sock, 126 void udp_tunnel_push_rx_port(struct net_device *dev, struct socket *sock, 128 void udp_tunnel_drop_rx_port(struct net_device *dev, struct socket *sock, 130 void udp_tunnel_notify_add_rx_port(struct socket *sock, unsigned short type); 131 void udp_tunnel_notify_del_rx_port(struct socket *sock, unsigned short type); 162 void udp_tunnel_sock_release(struct socket *sock); [all …]
|
D | sock.h | 516 struct socket *sk_socket; 1506 struct socket socket; member 1510 static inline struct socket *SOCKET_I(struct inode *inode) in SOCKET_I() 1512 return &container_of(inode, struct socket_alloc, vfs_inode)->socket; in SOCKET_I() 1515 static inline struct inode *SOCK_INODE(struct socket *socket) in SOCK_INODE() argument 1517 return &container_of(socket, struct socket_alloc, socket)->vfs_inode; in SOCK_INODE() 1804 int sock_setsockopt(struct socket *sock, int level, int op, 1807 int sock_getsockopt(struct socket *sock, int level, int op, 1809 int sock_gettstamp(struct socket *sock, void __user *userstamp, 1842 int sock_no_bind(struct socket *, struct sockaddr *, int); [all …]
|
D | ipv6.h | 1039 struct net *net, struct socket *sock, 1119 int inet6_release(struct socket *sock); 1120 int inet6_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len); 1121 int inet6_getname(struct socket *sock, struct sockaddr *uaddr, 1123 int inet6_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 1124 int inet6_compat_ioctl(struct socket *sock, unsigned int cmd, 1129 int inet6_sendmsg(struct socket *sock, struct msghdr *msg, size_t size); 1130 int inet6_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
|
/include/linux/ |
D | net.h | 115 struct socket { struct 141 int (*release) (struct socket *sock); argument 142 int (*bind) (struct socket *sock, 145 int (*connect) (struct socket *sock, 148 int (*socketpair)(struct socket *sock1, 149 struct socket *sock2); 150 int (*accept) (struct socket *sock, 151 struct socket *newsock, int flags, bool kern); 152 int (*getname) (struct socket *sock, 155 __poll_t (*poll) (struct file *file, struct socket *sock, [all …]
|
D | if_tap.h | 6 struct socket *tap_get_socket(struct file *); 12 struct socket; 13 static inline struct socket *tap_get_socket(struct file *f) in tap_get_socket() 64 struct socket sock;
|
D | if_tun.h | 28 struct socket *tun_get_socket(struct file *); 47 struct socket; 48 static inline struct socket *tun_get_socket(struct file *f) in tun_get_socket()
|
D | if_pppox.h | 73 int (*create)(struct net *net, struct socket *sock, int kern); 74 int (*ioctl)(struct socket *sock, unsigned int cmd, 82 extern int pppox_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 83 extern int pppox_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
|
D | security.h | 176 struct socket; 1396 int security_unix_may_send(struct socket *sock, struct socket *other); 1398 int security_socket_post_create(struct socket *sock, int family, 1400 int security_socket_socketpair(struct socket *socka, struct socket *sockb); 1401 int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen); 1402 int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen); 1403 int security_socket_listen(struct socket *sock, int backlog); 1404 int security_socket_accept(struct socket *sock, struct socket *newsock); 1405 int security_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size); 1406 int security_socket_recvmsg(struct socket *sock, struct msghdr *msg, [all …]
|
D | lsm_hook_defs.h | 286 LSM_HOOK(int, 0, unix_may_send, struct socket *sock, struct socket *other) 288 LSM_HOOK(int, 0, socket_post_create, struct socket *sock, int family, int type, 290 LSM_HOOK(int, 0, socket_socketpair, struct socket *socka, struct socket *sockb) 291 LSM_HOOK(int, 0, socket_bind, struct socket *sock, struct sockaddr *address, 293 LSM_HOOK(int, 0, socket_connect, struct socket *sock, struct sockaddr *address, 295 LSM_HOOK(int, 0, socket_listen, struct socket *sock, int backlog) 296 LSM_HOOK(int, 0, socket_accept, struct socket *sock, struct socket *newsock) 297 LSM_HOOK(int, 0, socket_sendmsg, struct socket *sock, struct msghdr *msg, 299 LSM_HOOK(int, 0, socket_recvmsg, struct socket *sock, struct msghdr *msg, 301 LSM_HOOK(int, 0, socket_getsockname, struct socket *sock) [all …]
|
D | socket.h | 16 struct socket; 399 extern long __sys_sendmsg_sock(struct socket *sock, struct msghdr *msg, 401 extern long __sys_recvmsg_sock(struct socket *sock, struct msghdr *msg, 446 extern int __sys_shutdown_sock(struct socket *sock, int how);
|
D | atmdev.h | 130 static inline struct atm_vcc *ATM_SD(struct socket *sock) in ATM_SD() 299 int (*ioctl)(struct socket *, unsigned int cmd, unsigned long arg);
|
/include/linux/qed/ |
D | qed_nvmetcp_ip_services_if.h | 24 void qed_return_tcp_port(struct socket *sock); 26 struct socket **sock, u16 *port);
|
/include/crypto/ |
D | if_alg.h | 167 int af_alg_release(struct socket *sock); 169 int af_alg_accept(struct sock *sk, struct socket *newsock, bool kern); 236 int af_alg_sendmsg(struct socket *sock, struct msghdr *msg, size_t size, 238 ssize_t af_alg_sendpage(struct socket *sock, struct page *page, 242 __poll_t af_alg_poll(struct file *file, struct socket *sock,
|
/include/pcmcia/ |
D | ss.h | 132 socket_state_t socket; member 255 extern void pcmcia_parse_events(struct pcmcia_socket *socket, 259 extern int pcmcia_register_socket(struct pcmcia_socket *socket); 260 extern void pcmcia_unregister_socket(struct pcmcia_socket *socket);
|
/include/xen/interface/io/ |
D | pvcalls.h | 46 } socket; member 93 } socket; member
|
/include/linux/sunrpc/ |
D | xprtsock.h | 26 struct socket * sock;
|
D | svcsock.h | 21 struct socket * sk_sock; /* berkeley socket layer */
|
/include/trace/events/ |
D | sunrpc.h | 794 struct socket *socket 797 TP_ARGS(xprt, socket), 810 struct inode *inode = SOCK_INODE(socket); 811 __entry->socket_state = socket->state; 812 __entry->sock_state = socket->sk->sk_state; 834 struct socket *socket \ 836 TP_ARGS(xprt, socket)) 842 struct socket *socket, 846 TP_ARGS(xprt, socket, error), 860 struct inode *inode = SOCK_INODE(socket); [all …]
|
/include/net/bluetooth/ |
D | bluetooth.h | 317 int bt_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, 319 int bt_sock_stream_recvmsg(struct socket *sock, struct msghdr *msg, 321 __poll_t bt_sock_poll(struct file *file, struct socket *sock, poll_table *wait); 322 int bt_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 328 struct sock *bt_accept_dequeue(struct sock *parent, struct socket *newsock);
|
/include/linux/soc/qcom/ |
D | qmi.h | 16 struct socket; 217 struct socket *sock;
|
/include/uapi/asm-generic/ |
D | Kbuild | 28 mandatory-y += socket.h
|
/include/net/sctp/ |
D | sctp.h | 93 int sctp_inet_connect(struct socket *sock, struct sockaddr *uaddr, 96 int sctp_inet_listen(struct socket *sock, int backlog); 99 __poll_t sctp_poll(struct file *file, struct socket *sock, 372 int sctp_do_peeloff(struct sock *sk, sctp_assoc_t id, struct socket **sockp);
|