^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0-or-later */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) * NET Generic infrastructure for INET6 connection oriented protocols.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) * Authors: Many people, see the TCPv6 sources
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) * From code originally in TCPv6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) #ifndef _INET6_CONNECTION_SOCK_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #define _INET6_CONNECTION_SOCK_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #include <linux/types.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) struct request_sock;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) struct sk_buff;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) struct sock;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) struct sockaddr;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) struct dst_entry *inet6_csk_route_req(const struct sock *sk, struct flowi6 *fl6,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) const struct request_sock *req, u8 proto);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) int inet6_csk_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) #endif /* _INET6_CONNECTION_SOCK_H */