xref: /linux/include/net/inet6_connection_sock.h (revision 0526b56cbc3c489642bd6a5fe4b718dea7ef0ee8)
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_req(const struct sock *sk, struct flowi6 *fl6,
22 				      const struct request_sock *req, u8 proto);
23 
24 void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr);
25 
26 int inet6_csk_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
27 
28 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu);
29 #endif /* _INET6_CONNECTION_SOCK_H */
30