Path: blob/master/include/net/inet6_connection_sock.h
10818 views
/*1* NET Generic infrastructure for INET6 connection oriented protocols.2*3* Authors: Many people, see the TCPv6 sources4*5* From code originally in TCPv66*7* This program is free software; you can redistribute it and/or8* modify it under the terms of the GNU General Public License9* as published by the Free Software Foundation; either version10* 2 of the License, or (at your option) any later version.11*/12#ifndef _INET6_CONNECTION_SOCK_H13#define _INET6_CONNECTION_SOCK_H1415#include <linux/types.h>1617struct in6_addr;18struct inet_bind_bucket;19struct request_sock;20struct sk_buff;21struct sock;22struct sockaddr;2324extern int inet6_csk_bind_conflict(const struct sock *sk,25const struct inet_bind_bucket *tb);2627extern struct dst_entry* inet6_csk_route_req(struct sock *sk,28const struct request_sock *req);2930extern struct request_sock *inet6_csk_search_req(const struct sock *sk,31struct request_sock ***prevp,32const __be16 rport,33const struct in6_addr *raddr,34const struct in6_addr *laddr,35const int iif);3637extern void inet6_csk_reqsk_queue_hash_add(struct sock *sk,38struct request_sock *req,39const unsigned long timeout);4041extern void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr);4243extern int inet6_csk_xmit(struct sk_buff *skb, struct flowi *fl);44#endif /* _INET6_CONNECTION_SOCK_H */454647