diff options
author | Mat Martineau <mathew.j.martineau@linux.intel.com> | 2020-01-09 07:59:16 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-09 18:41:41 -0800 |
commit | faf391c3826cd29feae02078ca2022d2f912f7cc (patch) | |
tree | e096ae26bf0bc57e2c09bccc208799efe4db30e0 /samples | |
parent | bf9765145b856fa2e238a5b8a54453795ba30ad6 (diff) | |
download | linux-faf391c3826cd29feae02078ca2022d2f912f7cc.tar.gz linux-faf391c3826cd29feae02078ca2022d2f912f7cc.tar.bz2 linux-faf391c3826cd29feae02078ca2022d2f912f7cc.zip |
tcp: Define IPPROTO_MPTCP
To open a MPTCP socket with socket(AF_INET, SOCK_STREAM, IPPROTO_MPTCP),
IPPROTO_MPTCP needs a value that differs from IPPROTO_TCP. The existing
IPPROTO numbers mostly map directly to IANA-specified protocol numbers.
MPTCP does not have a protocol number allocated because MPTCP packets
use the TCP protocol number. Use private number not used OTA.
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions