Commit 519357d
selftests: mptcp: sockopt: add TCP_MAXSEG sockopt tests
This patch adds the TCP_MAXSEG sockopt tests in mptcp_sockopt.c. Since
in getsockopt TCP_MAXSEG, the "user_mss" value can be obtained only in
the LISTEN state (see do_tcp_getsockopt in net/ipv4/tcp.c), the test
items are added to server() instead of client().
Signed-off-by: Geliang Tang <[email protected]>1 parent 19300ba commit 519357d
1 file changed
+22
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
692 | 712 | | |
693 | 713 | | |
694 | 714 | | |
| |||
713 | 733 | | |
714 | 734 | | |
715 | 735 | | |
| 736 | + | |
| 737 | + | |
716 | 738 | | |
717 | 739 | | |
718 | 740 | | |
| |||
0 commit comments