TCPCT part 1a: add request_values parameter for sending SYNACK
Add optional function parameters associated with sending SYNACK. These parameters are not needed after sending SYNACK, and are not used for retransmission. Avoids extending struct tcp_request_sock, and avoids allocating kernel memory. Also affects DCCP as it uses common struct request_sock_ops, but this parameter is currently reserved for future use. Signed-off-by: William.Allen.Simpson@gmail.com Acked-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e00484023e
commit
e6b4d11367
10 changed files with 42 additions and 33 deletions
|
@ -440,7 +440,8 @@ extern int tcp_connect(struct sock *sk);
|
|||
|
||||
extern struct sk_buff * tcp_make_synack(struct sock *sk,
|
||||
struct dst_entry *dst,
|
||||
struct request_sock *req);
|
||||
struct request_sock *req,
|
||||
struct request_values *rvp);
|
||||
|
||||
extern int tcp_disconnect(struct sock *sk, int flags);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue