sctp: implement prsctp TTL policy
[deliverable/linux.git] / include / net / sctp / structs.h
index d8e464aacb208f46317102027d5d09307666d9ba..6bcda715008e55456e3fa1abc978dccd0f2f8979 100644 (file)
@@ -602,6 +602,16 @@ struct sctp_chunk {
        /* This needs to be recoverable for SCTP_SEND_FAILED events. */
        struct sctp_sndrcvinfo sinfo;
 
+       /* We use this field to record param for prsctp policies,
+        * for TTL policy, it is the time_to_drop of this chunk,
+        * for RTX policy, it is the max_sent_count of this chunk,
+        * for PRIO policy, it is the priority of this chunk.
+        */
+       unsigned long prsctp_param;
+
+       /* How many times this chunk have been sent, for prsctp RTX policy */
+       int sent_count;
+
        /* Which association does this belong to?  */
        struct sctp_association *asoc;
 
This page took 0.03069 seconds and 5 git commands to generate.