diff options
author | Xin Long <lucien.xin@gmail.com> | 2021-06-22 14:04:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-22 11:28:52 -0700 |
commit | d9e2e410ae301d4b540e965daca51de0e65e8a26 (patch) | |
tree | a96c2b32c07d42ffd2a9ed3e232e37f1358f77c7 /net | |
parent | 3190b649b4d9391be7bde3edd8e924e451c5d2f6 (diff) | |
download | linux-d9e2e410ae301d4b540e965daca51de0e65e8a26.tar.gz linux-d9e2e410ae301d4b540e965daca51de0e65e8a26.tar.bz2 linux-d9e2e410ae301d4b540e965daca51de0e65e8a26.zip |
sctp: add the constants/variables and states and some APIs for transport
These are 4 constants described in rfc8899#section-5.1.2:
MAX_PROBES, MIN_PLPMTU, MAX_PLPMTU, BASE_PLPMTU;
And 2 variables described in rfc8899#section-5.1.3:
PROBED_SIZE, PROBE_COUNT;
And 5 states described in rfc8899#section-5.2:
DISABLED, BASE, SEARCH, SEARCH_COMPLETE, ERROR;
And these 4 APIs are used to reset/update PLPMTUD, check if PLPMTUD is
enabled, and calculate the additional headers length for a transport.
Note the member 'probe_high' in transport will be set to the probe
size when a probe fails with this probe size in the next patches.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions