Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * NET      Generic infrastructure for INET6 connection oriented protocols.
0004  *
0005  * Authors: Many people, see the TCPv6 sources
0006  *
0007  *      From code originally in TCPv6
0008  */
0009 #ifndef _INET6_CONNECTION_SOCK_H
0010 #define _INET6_CONNECTION_SOCK_H
0011 
0012 #include <linux/types.h>
0013 
0014 struct flowi;
0015 struct flowi6;
0016 struct request_sock;
0017 struct sk_buff;
0018 struct sock;
0019 struct sockaddr;
0020 
0021 struct dst_entry *inet6_csk_route_req(const struct sock *sk, struct flowi6 *fl6,
0022                       const struct request_sock *req, u8 proto);
0023 
0024 void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr);
0025 
0026 int inet6_csk_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
0027 
0028 struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu);
0029 #endif /* _INET6_CONNECTION_SOCK_H */