xref: /linux/include/net/inet6_connection_sock.h (revision b0249c0d41b306ddd79de58ca7fea543ab5e7a2e)
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * NET		Generic infrastructure for INET6 connection oriented protocols.
4  *
5  * Authors:	Many people, see the TCPv6 sources
6  *
7  * 		From code originally in TCPv6
8  */
9 #ifndef _INET6_CONNECTION_SOCK_H
10 #define _INET6_CONNECTION_SOCK_H
11 
12 #include <linux/types.h>
13 
14 struct flowi;
15 struct flowi6;
16 struct request_sock;
17 struct sk_buff;
18 struct sock;
19 struct sockaddr;
20 
21 struct dst_entry *inet6_csk_route_socket(struct sock *sk,
22 					 struct flowi6 *fl6);
23 
24 struct dst_entry *inet6_csk_route_req(const struct sock *sk,
25 				      struct dst_entry *dst,
26 				      struct flowi6 *fl6,
27 				      const struct request_sock *req, u8 proto);
28 
29 int inet6_csk_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
30 
31 #endif /* _INET6_CONNECTION_SOCK_H */
32