diff options
author | Xin Long <[email protected]> | 2019-11-08 13:20:36 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-11-08 14:18:32 -0800 |
commit | d467ac0a38551a5904878b1f5a2fe20a040c0e11 (patch) | |
tree | bb0bc2ba544e3d50c84421d630643ae35a36e423 /tools/perf/scripts/python/intel-pt-events.py | |
parent | 34515e94c92c3f593cd696abca8609246cbd75e6 (diff) |
sctp: add SCTP_PEER_ADDR_THLDS_V2 sockopt
Section 7.2 of rfc7829: "Peer Address Thresholds (SCTP_PEER_ADDR_THLDS)
Socket Option" extends 'struct sctp_paddrthlds' with 'spt_pathcpthld'
added to allow a user to change ps_retrans per sock/asoc/transport, as
other 2 paddrthlds: pf_retrans, pathmaxrxt.
Note: to not break the user's program, here to support pf_retrans dump
and setting by adding a new sockopt SCTP_PEER_ADDR_THLDS_V2, and a new
structure sctp_paddrthlds_v2 instead of extending sctp_paddrthlds.
Also, when setting ps_retrans, the value is not allowed to be greater
than pf_retrans.
v1->v2:
- use SCTP_PEER_ADDR_THLDS_V2 to set/get pf_retrans instead,
as Marcelo and David Laight suggested.
Signed-off-by: Xin Long <[email protected]>
Acked-by: Neil Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions