summaryrefslogtreecommitdiff
path: root/net/sctp/sm_statetable.c
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2021-06-22 21:04:50 +0300
committerDavid S. Miller <davem@davemloft.net>2021-06-22 21:28:52 +0300
commitd9e2e410ae301d4b540e965daca51de0e65e8a26 (patch)
treea96c2b32c07d42ffd2a9ed3e232e37f1358f77c7 /net/sctp/sm_statetable.c
parent3190b649b4d9391be7bde3edd8e924e451c5d2f6 (diff)
downloadlinux-d9e2e410ae301d4b540e965daca51de0e65e8a26.tar.xz
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/sctp/sm_statetable.c')
0 files changed, 0 insertions, 0 deletions