Home
last modified time | relevance | path

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

12

/include/net/
Dinet_common.h14 struct socket;
16 int inet_release(struct socket *sock);
17 int inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
19 int __inet_stream_connect(struct socket *sock, struct sockaddr *uaddr,
21 int inet_dgram_connect(struct socket *sock, struct sockaddr *uaddr,
23 int inet_accept(struct socket *sock, struct socket *newsock, int flags);
24 int inet_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
26 ssize_t inet_sendpage(struct socket *sock, struct page *page, int offset,
28 int inet_recvmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg,
30 int inet_shutdown(struct socket *sock, int how);
[all …]
Daf_rxrpc.h34 void rxrpc_kernel_intercept_rx_messages(struct socket *, rxrpc_interceptor_t);
35 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *,
48 struct rxrpc_call *rxrpc_kernel_accept_call(struct socket *, unsigned long);
49 int rxrpc_kernel_reject_call(struct socket *);
Dudp_tunnel.h38 struct socket **sockp);
42 struct socket **sockp);
45 struct socket **sockp) in udp_sock_create6()
53 struct socket **sockp) in udp_sock_create()
76 void setup_udp_tunnel_sock(struct net *net, struct socket *sock,
80 int udp_tunnel_xmit_skb(struct socket *sock, struct rtable *rt,
86 int udp_tunnel6_xmit_skb(struct socket *sock, struct dst_entry *dst,
93 void udp_tunnel_sock_release(struct socket *sock);
112 static inline void udp_tunnel_encap_enable(struct socket *sock) in udp_tunnel_encap_enable()
Dscm.h38 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm);
43 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
48 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
74 static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, in scm_send()
89 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
105 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
109 static __inline__ void scm_recv(struct socket *sock, struct msghdr *msg, in scm_recv()
Dsock.h416 struct socket *sk_socket;
1392 struct socket *sock;
1410 struct socket socket; member
1414 static inline struct socket *SOCKET_I(struct inode *inode) in SOCKET_I()
1416 return &container_of(inode, struct socket_alloc, vfs_inode)->socket; in SOCKET_I()
1419 static inline struct inode *SOCK_INODE(struct socket *socket) in SOCK_INODE() argument
1421 return &container_of(socket, struct socket_alloc, socket)->vfs_inode; in SOCK_INODE()
1593 int sock_setsockopt(struct socket *sock, int level, int op,
1596 int sock_getsockopt(struct socket *sock, int level, int op,
1611 int sock_no_bind(struct socket *, struct sockaddr *, int);
[all …]
Dgeneve.h75 struct socket *sock;
Dvxlan.h29 struct socket *sock;
/include/linux/
Dnet.h105 struct socket { struct
131 int (*release) (struct socket *sock); argument
132 int (*bind) (struct socket *sock,
135 int (*connect) (struct socket *sock,
138 int (*socketpair)(struct socket *sock1,
139 struct socket *sock2);
140 int (*accept) (struct socket *sock,
141 struct socket *newsock, int flags);
142 int (*getname) (struct socket *sock,
145 unsigned int (*poll) (struct file *file, struct socket *sock,
[all …]
Dif_tun.h21 struct socket *tun_get_socket(struct file *);
26 struct socket;
27 static inline struct socket *tun_get_socket(struct file *f) in tun_get_socket()
Dsecurity.h108 struct socket;
1655 int (*unix_may_send) (struct socket *sock, struct socket *other);
1658 int (*socket_post_create) (struct socket *sock, int family,
1660 int (*socket_bind) (struct socket *sock,
1662 int (*socket_connect) (struct socket *sock,
1664 int (*socket_listen) (struct socket *sock, int backlog);
1665 int (*socket_accept) (struct socket *sock, struct socket *newsock);
1666 int (*socket_sendmsg) (struct socket *sock,
1668 int (*socket_recvmsg) (struct socket *sock,
1670 int (*socket_getsockname) (struct socket *sock);
[all …]
Dif_macvlan.h13 struct socket *macvtap_get_socket(struct file *);
18 struct socket;
19 static inline struct socket *macvtap_get_socket(struct file *f) in macvtap_get_socket()
Dif_pppox.h96 int (*create)(struct net *net, struct socket *sock);
97 int (*ioctl)(struct socket *sock, unsigned int cmd,
105 extern int pppox_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
Dnbd.h27 struct socket * sock; /* If == NULL, device is not ready, yet */
Datmdev.h128 static inline struct atm_vcc *ATM_SD(struct socket *sock) in ATM_SD()
290 int (*ioctl)(struct socket *, unsigned int cmd, unsigned long arg);
/include/trace/events/
Dsunrpc.h205 struct socket *socket
208 TP_ARGS(xprt, socket),
221 struct inode *inode = SOCK_INODE(socket);
222 __entry->socket_state = socket->state;
223 __entry->sock_state = socket->sk->sk_state;
245 struct socket *socket \
247 TP_ARGS(xprt, socket))
253 struct socket *socket,
257 TP_ARGS(xprt, socket, error),
271 struct inode *inode = SOCK_INODE(socket);
[all …]
/include/linux/netfilter/
Dxt_qtaguid.h13 int qtaguid_untag(struct socket *sock, bool kernel);
/include/pcmcia/
Dss.h135 socket_state_t socket; member
258 extern void pcmcia_parse_events(struct pcmcia_socket *socket,
262 extern int pcmcia_register_socket(struct pcmcia_socket *socket);
263 extern void pcmcia_unregister_socket(struct pcmcia_socket *socket);
/include/crypto/
Dif_alg.h71 int af_alg_release(struct socket *sock);
73 int af_alg_accept(struct sock *sk, struct socket *newsock);
/include/net/bluetooth/
Dbluetooth.h248 int bt_sock_recvmsg(struct kiocb *iocb, struct socket *sock,
250 int bt_sock_stream_recvmsg(struct kiocb *iocb, struct socket *sock,
252 uint bt_sock_poll(struct file *file, struct socket *sock, poll_table *wait);
253 int bt_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
259 struct sock *bt_accept_dequeue(struct sock *parent, struct socket *newsock);
/include/net/iucv/
Daf_iucv.h155 unsigned int iucv_sock_poll(struct file *file, struct socket *sock,
161 struct sock *iucv_accept_dequeue(struct sock *parent, struct socket *newsock);
/include/linux/can/
Dcore.h58 extern int can_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg);
/include/linux/sunrpc/
Dsvcsock.h20 struct socket * sk_sock; /* berkeley socket layer */
/include/uapi/asm-generic/
DKbuild27 header-y += socket.h
DKbuild.asm32 header-y += socket.h
/include/net/sctp/
Dsctp.h102 int sctp_inet_listen(struct socket *sock, int backlog);
105 unsigned int sctp_poll(struct file *file, struct socket *sock,
339 int sctp_do_peeloff(struct sock *sk, sctp_assoc_t id, struct socket **sockp);

12