diff options
| author | Geliang Tang <[email protected]> | 2021-06-17 16:46:07 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-06-18 11:40:11 -0700 |
| commit | 752e906732c69412087f716e93baa0330cb7cce3 (patch) | |
| tree | 557b5786ae4aefcfd5d3016c60e3c67e5b19c5fd /include/uapi/linux | |
| parent | e7f3863c6d34531a92e711a856422e81d5c5f27d (diff) | |
mptcp: add csum_enabled in mptcp_sock
This patch added a new member named csum_enabled in struct mptcp_sock,
used a dummy mptcp_is_checksum_enabled() helper to initialize it.
Also added a new member named mptcpi_csum_enabled in struct mptcp_info
to expose the csum_enabled flag.
Acked-by: Paolo Abeni <[email protected]>
Signed-off-by: Geliang Tang <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/uapi/linux')
| -rw-r--r-- | include/uapi/linux/mptcp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/mptcp.h b/include/uapi/linux/mptcp.h index 8eb3c0844bff..7b05f7102321 100644 --- a/include/uapi/linux/mptcp.h +++ b/include/uapi/linux/mptcp.h @@ -105,6 +105,7 @@ struct mptcp_info { __u64 mptcpi_rcv_nxt; __u8 mptcpi_local_addr_used; __u8 mptcpi_local_addr_max; + __u8 mptcpi_csum_enabled; }; /* |