Commit 23a0485
selftests: mptcp: declare event macros in mptcp_lib
MPTCP event macros (SUB_ESTABLISHED, LISTENER_CREATED, LISTENER_CLOSED),
and the protocol family macros (AF_INET, AF_INET6) are defined in both
mptcp_join.sh and userspace_pm.sh. In order not to duplicate code, this
patch declares them all in mptcp_lib.sh with MPTCP_LIB_ prefixs.
Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://lore.kernel.org/r/20240308-upstream-net-next-20240308-selftests-mptcp-unification-v1-14-4f42c347b653@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 7f0782c commit 23a0485
3 files changed
Lines changed: 29 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2785 | 2785 | | |
2786 | 2786 | | |
2787 | 2787 | | |
2788 | | - | |
2789 | | - | |
2790 | | - | |
2791 | | - | |
2792 | | - | |
2793 | | - | |
2794 | | - | |
2795 | 2788 | | |
2796 | 2789 | | |
2797 | 2790 | | |
2798 | 2791 | | |
2799 | 2792 | | |
2800 | 2793 | | |
2801 | 2794 | | |
2802 | | - | |
| 2795 | + | |
2803 | 2796 | | |
2804 | | - | |
| 2797 | + | |
2805 | 2798 | | |
2806 | 2799 | | |
2807 | 2800 | | |
| |||
2856 | 2849 | | |
2857 | 2850 | | |
2858 | 2851 | | |
2859 | | - | |
2860 | | - | |
| 2852 | + | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
2861 | 2856 | | |
2862 | 2857 | | |
2863 | 2858 | | |
| |||
3463 | 3458 | | |
3464 | 3459 | | |
3465 | 3460 | | |
3466 | | - | |
| 3461 | + | |
3467 | 3462 | | |
3468 | 3463 | | |
3469 | 3464 | | |
3470 | | - | |
| 3465 | + | |
3471 | 3466 | | |
3472 | 3467 | | |
3473 | 3468 | | |
| |||
3494 | 3489 | | |
3495 | 3490 | | |
3496 | 3491 | | |
3497 | | - | |
| 3492 | + | |
3498 | 3493 | | |
3499 | 3494 | | |
3500 | 3495 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
11 | 22 | | |
12 | 23 | | |
13 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments