diff options
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 910cc29f9e97..ed0e81452827 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -1185,8 +1185,9 @@ struct tcp_md5sig_pool { | |||
1185 | 1185 | ||
1186 | /* - functions */ | 1186 | /* - functions */ |
1187 | extern int tcp_v4_md5_hash_skb(char *md5_hash, struct tcp_md5sig_key *key, | 1187 | extern int tcp_v4_md5_hash_skb(char *md5_hash, struct tcp_md5sig_key *key, |
1188 | struct sock *sk, struct request_sock *req, | 1188 | const struct sock *sk, |
1189 | struct sk_buff *skb); | 1189 | const struct request_sock *req, |
1190 | const struct sk_buff *skb); | ||
1190 | extern struct tcp_md5sig_key * tcp_v4_md5_lookup(struct sock *sk, | 1191 | extern struct tcp_md5sig_key * tcp_v4_md5_lookup(struct sock *sk, |
1191 | struct sock *addr_sk); | 1192 | struct sock *addr_sk); |
1192 | extern int tcp_v4_md5_do_add(struct sock *sk, __be32 addr, u8 *newkey, | 1193 | extern int tcp_v4_md5_do_add(struct sock *sk, __be32 addr, u8 *newkey, |
@@ -1448,9 +1449,9 @@ struct tcp_sock_af_ops { | |||
1448 | struct sock *addr_sk); | 1449 | struct sock *addr_sk); |
1449 | int (*calc_md5_hash) (char *location, | 1450 | int (*calc_md5_hash) (char *location, |
1450 | struct tcp_md5sig_key *md5, | 1451 | struct tcp_md5sig_key *md5, |
1451 | struct sock *sk, | 1452 | const struct sock *sk, |
1452 | struct request_sock *req, | 1453 | const struct request_sock *req, |
1453 | struct sk_buff *skb); | 1454 | const struct sk_buff *skb); |
1454 | int (*md5_add) (struct sock *sk, | 1455 | int (*md5_add) (struct sock *sk, |
1455 | struct sock *addr_sk, | 1456 | struct sock *addr_sk, |
1456 | u8 *newkey, | 1457 | u8 *newkey, |
@@ -1467,9 +1468,9 @@ struct tcp_request_sock_ops { | |||
1467 | struct request_sock *req); | 1468 | struct request_sock *req); |
1468 | int (*calc_md5_hash) (char *location, | 1469 | int (*calc_md5_hash) (char *location, |
1469 | struct tcp_md5sig_key *md5, | 1470 | struct tcp_md5sig_key *md5, |
1470 | struct sock *sk, | 1471 | const struct sock *sk, |
1471 | struct request_sock *req, | 1472 | const struct request_sock *req, |
1472 | struct sk_buff *skb); | 1473 | const struct sk_buff *skb); |
1473 | #endif | 1474 | #endif |
1474 | }; | 1475 | }; |
1475 | 1476 | ||