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