Xin Long a6c2f79287 sctp: implement prsctp TTL policy
prsctp TTL policy is a policy to abandon chunks when they expire
at the specific time in local stack. It's similar with expires_at
in struct sctp_datamsg.

This patch uses sinfo->sinfo_timetolive to set the specific time for
TTL policy. sinfo->sinfo_timetolive is also used for msg->expires_at.
So if prsctp_enable or TTL policy is not enabled, msg->expires_at
still works as before.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-11 13:25:39 -07:00
..
2016-01-27 20:36:15 +08:00
2016-07-11 13:25:39 -07:00
2013-12-06 12:37:56 -05:00
2016-06-03 19:37:21 -04:00
2016-06-03 19:37:21 -04:00
2016-04-27 22:48:24 -04:00
2016-04-15 17:29:36 -04:00
2016-06-03 19:37:21 -04:00
2016-06-03 19:37:21 -04:00
2016-07-11 13:25:39 -07:00
2016-07-11 13:25:39 -07:00
2013-12-06 12:37:56 -05:00
2013-12-06 12:37:56 -05:00