mirror of
https://github.com/torvalds/linux.git
synced 2024-11-18 18:11:56 +00:00
aa078842b7
The only difference between inet6_csk_bind_conflict and inet_csk_bind_conflict is how they check the rcv_saddr, so delete this call back and simply change inet_csk_bind_conflict to call inet_rcv_saddr_equal. Signed-off-by: Josef Bacik <jbacik@fb.com> Signed-off-by: David S. Miller <davem@davemloft.net>
32 lines
976 B
C
32 lines
976 B
C
/*
|
|
* NET Generic infrastructure for INET6 connection oriented protocols.
|
|
*
|
|
* Authors: Many people, see the TCPv6 sources
|
|
*
|
|
* From code originally in TCPv6
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version
|
|
* 2 of the License, or (at your option) any later version.
|
|
*/
|
|
#ifndef _INET6_CONNECTION_SOCK_H
|
|
#define _INET6_CONNECTION_SOCK_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct request_sock;
|
|
struct sk_buff;
|
|
struct sock;
|
|
struct sockaddr;
|
|
|
|
struct dst_entry *inet6_csk_route_req(const struct sock *sk, struct flowi6 *fl6,
|
|
const struct request_sock *req, u8 proto);
|
|
|
|
void inet6_csk_addr2sockaddr(struct sock *sk, struct sockaddr *uaddr);
|
|
|
|
int inet6_csk_xmit(struct sock *sk, struct sk_buff *skb, struct flowi *fl);
|
|
|
|
struct dst_entry *inet6_csk_update_pmtu(struct sock *sk, u32 mtu);
|
|
#endif /* _INET6_CONNECTION_SOCK_H */
|