diff options
Diffstat (limited to 'include/net/inet_connection_sock.h')
-rw-r--r-- | include/net/inet_connection_sock.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h index dbf9aab34c82..7d83f90f203f 100644 --- a/include/net/inet_connection_sock.h +++ b/include/net/inet_connection_sock.h | |||
@@ -45,6 +45,7 @@ struct inet_connection_sock_af_ops { | |||
45 | struct dst_entry *dst); | 45 | struct dst_entry *dst); |
46 | struct inet_peer *(*get_peer)(struct sock *sk, bool *release_it); | 46 | struct inet_peer *(*get_peer)(struct sock *sk, bool *release_it); |
47 | u16 net_header_len; | 47 | u16 net_header_len; |
48 | u16 net_frag_header_len; | ||
48 | u16 sockaddr_len; | 49 | u16 sockaddr_len; |
49 | int (*setsockopt)(struct sock *sk, int level, int optname, | 50 | int (*setsockopt)(struct sock *sk, int level, int optname, |
50 | char __user *optval, unsigned int optlen); | 51 | char __user *optval, unsigned int optlen); |
@@ -60,7 +61,7 @@ struct inet_connection_sock_af_ops { | |||
60 | #endif | 61 | #endif |
61 | void (*addr2sockaddr)(struct sock *sk, struct sockaddr *); | 62 | void (*addr2sockaddr)(struct sock *sk, struct sockaddr *); |
62 | int (*bind_conflict)(const struct sock *sk, | 63 | int (*bind_conflict)(const struct sock *sk, |
63 | const struct inet_bind_bucket *tb); | 64 | const struct inet_bind_bucket *tb, bool relax); |
64 | }; | 65 | }; |
65 | 66 | ||
66 | /** inet_connection_sock - INET connection oriented sock | 67 | /** inet_connection_sock - INET connection oriented sock |
@@ -245,7 +246,7 @@ extern struct request_sock *inet_csk_search_req(const struct sock *sk, | |||
245 | const __be32 raddr, | 246 | const __be32 raddr, |
246 | const __be32 laddr); | 247 | const __be32 laddr); |
247 | extern int inet_csk_bind_conflict(const struct sock *sk, | 248 | extern int inet_csk_bind_conflict(const struct sock *sk, |
248 | const struct inet_bind_bucket *tb); | 249 | const struct inet_bind_bucket *tb, bool relax); |
249 | extern int inet_csk_get_port(struct sock *sk, unsigned short snum); | 250 | extern int inet_csk_get_port(struct sock *sk, unsigned short snum); |
250 | 251 | ||
251 | extern struct dst_entry* inet_csk_route_req(struct sock *sk, | 252 | extern struct dst_entry* inet_csk_route_req(struct sock *sk, |