20180730-2
mss更改
This commit is contained in:
2
kni.c
2
kni.c
@@ -964,6 +964,7 @@ int tcprepair_get_state(struct kni_tcp_state* fake_client,struct kni_tcp_state*
|
||||
fake_client->seq=ntohl(tcphdr->seq);
|
||||
fake_client->ack=ntohl(tcphdr->ack_seq);
|
||||
fake_client->mss_src=pmeinfo->mss[KNI_DIR_C2S];
|
||||
fake_client->mss_dst=pmeinfo->mss[KNI_DIR_S2C];
|
||||
fake_client->wscale_src=pmeinfo->wnscal[KNI_DIR_C2S];
|
||||
fake_client->wscale_dst=pmeinfo->wnscal[KNI_DIR_S2C];
|
||||
fake_client->sack_src=pmeinfo->sack[KNI_DIR_C2S];
|
||||
@@ -978,6 +979,7 @@ int tcprepair_get_state(struct kni_tcp_state* fake_client,struct kni_tcp_state*
|
||||
fake_server->seq=ntohl(tcphdr->ack_seq);
|
||||
fake_server->ack=ntohl(tcphdr->seq);
|
||||
fake_server->mss_src=pmeinfo->mss[KNI_DIR_S2C];
|
||||
fake_server->mss_dst=pmeinfo->mss[KNI_DIR_C2S];
|
||||
fake_server->wscale_src=pmeinfo->wnscal[KNI_DIR_S2C];
|
||||
fake_server->wscale_dst=pmeinfo->wnscal[KNI_DIR_C2S];
|
||||
fake_server->sack_src=pmeinfo->sack[KNI_DIR_S2C];
|
||||
|
||||
Reference in New Issue
Block a user