projects/linux·blob master · refs

31 lines · 784 B

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
14struct flowi;
15struct flowi6;
16struct request_sock;
17struct sk_buff;
18struct sock;
19struct sockaddr;
20
21struct dst_entry *inet6_csk_route_socket(struct sock *sk,
22 struct flowi6 *fl6);
23
24struct 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
29int inet6_csk_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
30
31#endif /* _INET6_CONNECTION_SOCK_H */