diff options
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 992be858c370..42690daa924e 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -1303,7 +1303,7 @@ int tcp_md5_do_add(struct sock *sk, const union tcp_md5_addr *addr, | |||
1303 | int tcp_md5_do_del(struct sock *sk, const union tcp_md5_addr *addr, | 1303 | int tcp_md5_do_del(struct sock *sk, const union tcp_md5_addr *addr, |
1304 | int family); | 1304 | int family); |
1305 | struct tcp_md5sig_key *tcp_v4_md5_lookup(struct sock *sk, | 1305 | struct tcp_md5sig_key *tcp_v4_md5_lookup(struct sock *sk, |
1306 | struct sock *addr_sk); | 1306 | const struct sock *addr_sk); |
1307 | 1307 | ||
1308 | #ifdef CONFIG_TCP_MD5SIG | 1308 | #ifdef CONFIG_TCP_MD5SIG |
1309 | struct tcp_md5sig_key *tcp_md5_do_lookup(struct sock *sk, | 1309 | struct tcp_md5sig_key *tcp_md5_do_lookup(struct sock *sk, |
@@ -1614,7 +1614,7 @@ int tcp_conn_request(struct request_sock_ops *rsk_ops, | |||
1614 | struct tcp_sock_af_ops { | 1614 | struct tcp_sock_af_ops { |
1615 | #ifdef CONFIG_TCP_MD5SIG | 1615 | #ifdef CONFIG_TCP_MD5SIG |
1616 | struct tcp_md5sig_key *(*md5_lookup) (struct sock *sk, | 1616 | struct tcp_md5sig_key *(*md5_lookup) (struct sock *sk, |
1617 | struct sock *addr_sk); | 1617 | const struct sock *addr_sk); |
1618 | int (*calc_md5_hash)(char *location, | 1618 | int (*calc_md5_hash)(char *location, |
1619 | const struct tcp_md5sig_key *md5, | 1619 | const struct tcp_md5sig_key *md5, |
1620 | const struct sock *sk, | 1620 | const struct sock *sk, |
@@ -1628,8 +1628,8 @@ struct tcp_sock_af_ops { | |||
1628 | struct tcp_request_sock_ops { | 1628 | struct tcp_request_sock_ops { |
1629 | u16 mss_clamp; | 1629 | u16 mss_clamp; |
1630 | #ifdef CONFIG_TCP_MD5SIG | 1630 | #ifdef CONFIG_TCP_MD5SIG |
1631 | struct tcp_md5sig_key *(*md5_lookup) (struct sock *sk, | 1631 | struct tcp_md5sig_key *(*req_md5_lookup)(struct sock *sk, |
1632 | struct request_sock *req); | 1632 | const struct sock *addr_sk); |
1633 | int (*calc_md5_hash) (char *location, | 1633 | int (*calc_md5_hash) (char *location, |
1634 | const struct tcp_md5sig_key *md5, | 1634 | const struct tcp_md5sig_key *md5, |
1635 | const struct sock *sk, | 1635 | const struct sock *sk, |