/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() 89 void setup_udp_tunnel_sock(struct net *net, struct socket *sock, 122 void udp_tunnel_push_rx_port(struct net_device *dev, struct socket *sock, 124 void udp_tunnel_drop_rx_port(struct net_device *dev, struct socket *sock, 126 void udp_tunnel_notify_add_rx_port(struct socket *sock, unsigned short type); 127 void udp_tunnel_notify_del_rx_port(struct socket *sock, unsigned short type); 154 void udp_tunnel_sock_release(struct socket *sock); [all …]
|
D | sock.h | 504 struct socket *sk_socket; 1476 struct socket socket; member 1480 static inline struct socket *SOCKET_I(struct inode *inode) in SOCKET_I() 1482 return &container_of(inode, struct socket_alloc, vfs_inode)->socket; in SOCKET_I() 1485 static inline struct inode *SOCK_INODE(struct socket *socket) in SOCK_INODE() argument 1487 return &container_of(socket, struct socket_alloc, socket)->vfs_inode; in SOCK_INODE() 1741 int sock_setsockopt(struct socket *sock, int level, int op, 1744 int sock_getsockopt(struct socket *sock, int level, int op, 1746 int sock_gettstamp(struct socket *sock, void __user *userstamp, 1779 int sock_no_bind(struct socket *, struct sockaddr *, int); [all …]
|
D | ipv6.h | 1027 struct net *net, struct socket *sock, 1107 int inet6_release(struct socket *sock); 1108 int inet6_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len); 1109 int inet6_getname(struct socket *sock, struct sockaddr *uaddr, 1111 int inet6_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 1112 int inet6_compat_ioctl(struct socket *sock, unsigned int cmd, 1117 int inet6_sendmsg(struct socket *sock, struct msghdr *msg, size_t size); 1118 int inet6_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
|
/include/linux/ |
D | net.h | 115 struct socket { struct 143 int (*release) (struct socket *sock); argument 144 int (*bind) (struct socket *sock, 147 int (*connect) (struct socket *sock, 150 int (*socketpair)(struct socket *sock1, 151 struct socket *sock2); 152 int (*accept) (struct socket *sock, 153 struct socket *newsock, int flags, bool kern); 154 int (*getname) (struct socket *sock, 157 __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 | 171 struct socket; 1360 int security_unix_may_send(struct socket *sock, struct socket *other); 1362 int security_socket_post_create(struct socket *sock, int family, 1364 int security_socket_socketpair(struct socket *socka, struct socket *sockb); 1365 int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen); 1366 int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen); 1367 int security_socket_listen(struct socket *sock, int backlog); 1368 int security_socket_accept(struct socket *sock, struct socket *newsock); 1369 int security_socket_sendmsg(struct socket *sock, struct msghdr *msg, int size); 1370 int security_socket_recvmsg(struct socket *sock, struct msghdr *msg, [all …]
|
D | lsm_hook_defs.h | 277 LSM_HOOK(int, 0, unix_may_send, struct socket *sock, struct socket *other) 279 LSM_HOOK(int, 0, socket_post_create, struct socket *sock, int family, int type, 281 LSM_HOOK(int, 0, socket_socketpair, struct socket *socka, struct socket *sockb) 282 LSM_HOOK(int, 0, socket_bind, struct socket *sock, struct sockaddr *address, 284 LSM_HOOK(int, 0, socket_connect, struct socket *sock, struct sockaddr *address, 286 LSM_HOOK(int, 0, socket_listen, struct socket *sock, int backlog) 287 LSM_HOOK(int, 0, socket_accept, struct socket *sock, struct socket *newsock) 288 LSM_HOOK(int, 0, socket_sendmsg, struct socket *sock, struct msghdr *msg, 290 LSM_HOOK(int, 0, socket_recvmsg, struct socket *sock, struct msghdr *msg, 292 LSM_HOOK(int, 0, socket_getsockname, struct socket *sock) [all …]
|
D | socket.h | 16 struct socket; 395 extern long __sys_sendmsg_sock(struct socket *sock, struct msghdr *msg, 397 extern long __sys_recvmsg_sock(struct socket *sock, struct msghdr *msg, 442 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() 298 int (*ioctl)(struct socket *, unsigned int cmd, unsigned long arg);
|
/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);
|
D | ds.h | 91 struct pcmcia_socket *socket; member
|
/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 | 816 struct socket *socket 819 TP_ARGS(xprt, socket), 832 struct inode *inode = SOCK_INODE(socket); 833 __entry->socket_state = socket->state; 834 __entry->sock_state = socket->sk->sk_state; 856 struct socket *socket \ 858 TP_ARGS(xprt, socket)) 864 struct socket *socket, 868 TP_ARGS(xprt, socket, error), 882 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 | 91 int sctp_inet_connect(struct socket *sock, struct sockaddr *uaddr, 94 int sctp_inet_listen(struct socket *sock, int backlog); 97 __poll_t sctp_poll(struct file *file, struct socket *sock, 369 int sctp_do_peeloff(struct sock *sk, sctp_assoc_t id, struct socket **sockp);
|