Home
last modified time | relevance | path

Searched refs:socket (Results 1 – 25 of 25) sorted by relevance

/include/net/
Dinet_common.h14 struct socket;
16 extern int inet_release(struct socket *sock);
17 extern int inet_stream_connect(struct socket *sock,
20 extern int inet_dgram_connect(struct socket *sock,
23 extern int inet_accept(struct socket *sock,
24 struct socket *newsock, int flags);
26 struct socket *sock,
29 extern int inet_shutdown(struct socket *sock, int how);
30 extern int inet_listen(struct socket *sock, int backlog);
34 extern int inet_bind(struct socket *sock,
[all …]
Daf_rxrpc.h36 extern void rxrpc_kernel_intercept_rx_messages(struct socket *,
38 extern struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *,
52 extern struct rxrpc_call *rxrpc_kernel_accept_call(struct socket *,
54 extern int rxrpc_kernel_reject_call(struct socket *);
Dscm.h34 extern int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm);
39 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
44 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
54 static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, in scm_send()
70 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
86 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
90 static __inline__ void scm_recv(struct socket *sock, struct msghdr *msg, in scm_recv()
Dsock.h277 struct socket *sk_socket;
761 struct socket *sock;
779 struct socket socket; member
783 static inline struct socket *SOCKET_I(struct inode *inode) in SOCKET_I()
785 return &container_of(inode, struct socket_alloc, vfs_inode)->socket; in SOCKET_I()
788 static inline struct inode *SOCK_INODE(struct socket *socket) in SOCK_INODE() argument
790 return &container_of(socket, struct socket_alloc, socket)->vfs_inode; in SOCK_INODE()
936 extern int sock_setsockopt(struct socket *sock, int level,
940 extern int sock_getsockopt(struct socket *sock, int level,
956 extern int sock_no_bind(struct socket *,
[all …]
Dipv6.h552 extern int inet6_release(struct socket *sock);
553 extern int inet6_bind(struct socket *sock, struct sockaddr *uaddr,
555 extern int inet6_getname(struct socket *sock, struct sockaddr *uaddr,
557 extern int inet6_ioctl(struct socket *sock, unsigned int cmd,
Ddn_fib.h121 extern int dn_fib_ioctl(struct socket *sock, unsigned int cmd,
Dudp.h142 extern unsigned int udp_poll(struct file *file, struct socket *sock,
Dtcp.h285 extern int tcp_sendmsg(struct kiocb *iocb, struct socket *sock,
287 extern ssize_t tcp_sendpage(struct socket *sock, struct page *page, int offset, size_t size, int …
312 extern ssize_t tcp_splice_read(struct socket *sk, loff_t *ppos,
375 extern unsigned int tcp_poll(struct file * file, struct socket *sock, struct poll_table_struct *wa…
/include/linux/
Dnet.h128 struct socket { struct
149 int (*release) (struct socket *sock); argument
150 int (*bind) (struct socket *sock,
153 int (*connect) (struct socket *sock,
156 int (*socketpair)(struct socket *sock1,
157 struct socket *sock2);
158 int (*accept) (struct socket *sock,
159 struct socket *newsock, int flags);
160 int (*getname) (struct socket *sock,
163 unsigned int (*poll) (struct file *file, struct socket *sock,
[all …]
Dsecurity.h81 struct socket;
1544 int (*unix_stream_connect) (struct socket *sock,
1545 struct socket *other, struct sock *newsk);
1546 int (*unix_may_send) (struct socket *sock, struct socket *other);
1549 int (*socket_post_create) (struct socket *sock, int family,
1551 int (*socket_bind) (struct socket *sock,
1553 int (*socket_connect) (struct socket *sock,
1555 int (*socket_listen) (struct socket *sock, int backlog);
1556 int (*socket_accept) (struct socket *sock, struct socket *newsock);
1557 void (*socket_post_accept) (struct socket *sock,
[all …]
Dif_pppox.h193 int (*create)(struct net *net, struct socket *sock);
194 int (*ioctl)(struct socket *sock, unsigned int cmd,
202 extern int pppox_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
Dncp_fs_sb.h33 struct socket *ncp_sock;/* ncp socket */
35 struct socket *info_sock;
Dnbd.h54 struct socket * sock;
Datmdev.h334 static inline struct atm_vcc *ATM_SD(struct socket *sock) in ATM_SD()
495 int (*ioctl)(struct socket *, unsigned int cmd, unsigned long arg);
DKbuild335 unifdef-y += socket.h
Dskbuff.h1645 extern unsigned int datagram_poll(struct file *file, struct socket *sock,
/include/pcmcia/
Dss.h147 socket_state_t socket; member
286 extern void pcmcia_parse_events(struct pcmcia_socket *socket,
290 extern int pcmcia_register_socket(struct pcmcia_socket *socket);
291 extern void pcmcia_unregister_socket(struct pcmcia_socket *socket);
Dds.h75 struct pcmcia_socket *socket; member
187 pccard_get_first_tuple(p_dev->socket, p_dev->func, tuple)
192 pccard_get_next_tuple(p_dev->socket, p_dev->func, tuple)
196 pccard_get_tuple_data(p_dev->socket, tuple)
/include/net/bluetooth/
Dbluetooth.h134 int bt_sock_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t len, int f…
135 uint bt_sock_poll(struct file * file, struct socket *sock, poll_table *wait);
136 int bt_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
141 struct sock *bt_accept_dequeue(struct sock *parent, struct socket *newsock);
Drfcomm.h156 struct socket *sock;
/include/net/iucv/
Daf_iucv.h84 unsigned int iucv_sock_poll(struct file *file, struct socket *sock,
93 struct sock *iucv_accept_dequeue(struct sock *parent, struct socket *newsock);
/include/linux/sunrpc/
Dsvcsock.h20 struct socket * sk_sock; /* berkeley socket layer */
/include/asm-generic/
DKbuild.asm30 unifdef-y += socket.h
/include/net/sctp/
Dsctp.h136 int sctp_inet_listen(struct socket *sock, int backlog);
138 unsigned int sctp_poll(struct file *file, struct socket *sock,
/include/scsi/
Dlibiscsi.h40 struct socket;