Commit 5e3b134
authored
Support Client Migration (Client Side) #1
## Description
This PR adds the support of Client Migration (Client Side).
This pull request includes significant changes to the QUIC connection ID management and introduces a new feature for manual connection ID generation for testing purposes. The most important changes include the replacement of `QUIC_CID_HASH_ENTRY` with `QUIC_CID_SLIST_ENTRY` to register connection IDs into more than one bindings, the addition of new APIs to add/remove local address in client, and the introduction of a conditional compilation feature for manual connection ID generation.
To manage opening new paths for a connection, Two functions (`QuicConnOpenNewPath` and `QuicConnOpenNewPaths`) are added. The former is called when an App adds a local address or the latter is called. The latter is called when the Handshake is confirmed. And `QuicConnAssignCids` is added to set Destination Connection ID for paths. This function is called when any Dest CID
is newly added.
## Testing
Three tests are newly added and one test is modified.
ParameterValidation.ValidateConnectionParam (modified)
Basic/WithProbePathArgs.ProbePath (new)
Basic/WithMigrationArgs.Migration (new)
Basic/WithProbePathArgs.MultipleLocalAddresses (new)
## Documentation
In this PR, the following two Connection level Parameters will be added.
QUIC_PARAM_CONN_ADD_LOCAL_ADDRESS
QUIC_PARAM_CONN_REMOVE_LOCAL_ADDRESS1 parent 44235f0 commit 5e3b134
35 files changed
Lines changed: 1979 additions & 301 deletions
File tree
- src
- core
- generated/linux
- inc
- manifest
- test
- bin
- winkernel
- lib
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
| 564 | + | |
| 565 | + | |
565 | 566 | | |
566 | 567 | | |
567 | | - | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
568 | 593 | | |
569 | 594 | | |
570 | 595 | | |
571 | 596 | | |
572 | 597 | | |
573 | 598 | | |
574 | | - | |
575 | | - | |
| 599 | + | |
576 | 600 | | |
577 | 601 | | |
578 | | - | |
| 602 | + | |
579 | 603 | | |
580 | 604 | | |
581 | 605 | | |
582 | 606 | | |
583 | | - | |
| 607 | + | |
584 | 608 | | |
585 | 609 | | |
586 | 610 | | |
587 | 611 | | |
588 | | - | |
589 | | - | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
| 636 | + | |
| 637 | + | |
590 | 638 | | |
591 | | - | |
592 | 639 | | |
593 | 640 | | |
594 | 641 | | |
595 | 642 | | |
596 | | - | |
597 | | - | |
598 | | - | |
599 | | - | |
| 643 | + | |
| 644 | + | |
| 645 | + | |
600 | 646 | | |
601 | 647 | | |
602 | | - | |
603 | | - | |
| 648 | + | |
604 | 649 | | |
605 | 650 | | |
606 | 651 | | |
| |||
1285 | 1330 | | |
1286 | 1331 | | |
1287 | 1332 | | |
1288 | | - | |
| 1333 | + | |
1289 | 1334 | | |
1290 | 1335 | | |
1291 | | - | |
| 1336 | + | |
1292 | 1337 | | |
1293 | 1338 | | |
1294 | 1339 | | |
| |||
1323 | 1368 | | |
1324 | 1369 | | |
1325 | 1370 | | |
| 1371 | + | |
| 1372 | + | |
1326 | 1373 | | |
1327 | 1374 | | |
1328 | 1375 | | |
| |||
1357 | 1404 | | |
1358 | 1405 | | |
1359 | 1406 | | |
1360 | | - | |
| 1407 | + | |
1361 | 1408 | | |
1362 | 1409 | | |
1363 | 1410 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
389 | | - | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
390 | 402 | | |
391 | 403 | | |
392 | 404 | | |
| |||
396 | 408 | | |
397 | 409 | | |
398 | 410 | | |
399 | | - | |
400 | | - | |
| 411 | + | |
401 | 412 | | |
402 | 413 | | |
403 | 414 | | |
404 | | - | |
| 415 | + | |
405 | 416 | | |
406 | 417 | | |
407 | 418 | | |
408 | | - | |
| 419 | + | |
409 | 420 | | |
410 | 421 | | |
411 | 422 | | |
412 | 423 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | 424 | | |
418 | 425 | | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
423 | 429 | | |
424 | 430 | | |
425 | 431 | | |
| |||
546 | 552 | | |
547 | 553 | | |
548 | 554 | | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
166 | 174 | | |
167 | 175 | | |
168 | 176 | | |
169 | 177 | | |
170 | 178 | | |
171 | | - | |
| 179 | + | |
| 180 | + | |
172 | 181 | | |
173 | 182 | | |
174 | 183 | | |
| |||
178 | 187 | | |
179 | 188 | | |
180 | 189 | | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
| 190 | + | |
| 191 | + | |
185 | 192 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
190 | 197 | | |
191 | 198 | | |
192 | | - | |
| 199 | + | |
193 | 200 | | |
194 | 201 | | |
195 | 202 | | |
| |||
201 | 208 | | |
202 | 209 | | |
203 | 210 | | |
204 | | - | |
| 211 | + | |
205 | 212 | | |
206 | | - | |
207 | 213 | | |
208 | 214 | | |
209 | 215 | | |
210 | 216 | | |
211 | 217 | | |
212 | | - | |
213 | | - | |
| 218 | + | |
| 219 | + | |
214 | 220 | | |
215 | | - | |
| 221 | + | |
216 | 222 | | |
217 | | - | |
| 223 | + | |
218 | 224 | | |
219 | 225 | | |
220 | | - | |
| 226 | + | |
221 | 227 | | |
222 | 228 | | |
223 | 229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
468 | 486 | | |
469 | 487 | | |
470 | 488 | | |
| |||
574 | 592 | | |
575 | 593 | | |
576 | 594 | | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
577 | 609 | | |
578 | 610 | | |
579 | 611 | | |
| |||
0 commit comments