|
34 | 34 | #define MPTCP_PM_EV_FLAG_DENY_JOIN_ID0 _BITUL(0) |
35 | 35 | #define MPTCP_PM_EV_FLAG_SERVER_SIDE _BITUL(1) |
36 | 36 |
|
37 | | -#define MPTCP_PM_ADDR_FLAG_SIGNAL (1 << 0) |
38 | | -#define MPTCP_PM_ADDR_FLAG_SUBFLOW (1 << 1) |
39 | | -#define MPTCP_PM_ADDR_FLAG_BACKUP (1 << 2) |
40 | | -#define MPTCP_PM_ADDR_FLAG_FULLMESH (1 << 3) |
41 | | -#define MPTCP_PM_ADDR_FLAG_IMPLICIT (1 << 4) |
| 37 | +#define MPTCP_PM_ADDR_FLAG_SIGNAL _BITUL(0) |
| 38 | +#define MPTCP_PM_ADDR_FLAG_SUBFLOW _BITUL(1) |
| 39 | +#define MPTCP_PM_ADDR_FLAG_BACKUP _BITUL(2) |
| 40 | +#define MPTCP_PM_ADDR_FLAG_FULLMESH _BITUL(3) |
| 41 | +#define MPTCP_PM_ADDR_FLAG_IMPLICIT _BITUL(4) |
42 | 42 |
|
43 | 43 | struct mptcp_info { |
44 | 44 | __u8 mptcpi_subflows; |
| 45 | + #define mptcpi_extra_subflows mptcpi_subflows |
45 | 46 | __u8 mptcpi_add_addr_signal; |
46 | 47 | __u8 mptcpi_add_addr_accepted; |
47 | 48 | __u8 mptcpi_subflows_max; |
| 49 | + #define mptcpi_limit_extra_subflows mptcpi_subflows_max |
48 | 50 | __u8 mptcpi_add_addr_signal_max; |
| 51 | + #define mptcpi_endp_signal_max mptcpi_add_addr_signal_max |
49 | 52 | __u8 mptcpi_add_addr_accepted_max; |
| 53 | + #define mptcpi_limit_add_addr_accepted mptcpi_add_addr_accepted_max |
| 54 | + /* 16-bit hole that can no longer be filled */ |
50 | 55 | __u32 mptcpi_flags; |
51 | 56 | __u32 mptcpi_token; |
52 | 57 | __u64 mptcpi_write_seq; |
53 | 58 | __u64 mptcpi_snd_una; |
54 | 59 | __u64 mptcpi_rcv_nxt; |
55 | 60 | __u8 mptcpi_local_addr_used; |
56 | 61 | __u8 mptcpi_local_addr_max; |
| 62 | + #define mptcpi_endp_subflow_max mptcpi_local_addr_max |
57 | 63 | __u8 mptcpi_csum_enabled; |
| 64 | + /* 8-bit hole that can no longer be filled */ |
58 | 65 | __u32 mptcpi_retransmits; |
59 | 66 | __u64 mptcpi_bytes_retrans; |
60 | 67 | __u64 mptcpi_bytes_sent; |
|
0 commit comments