sctp: add subscribe per asoc
The member subscribe should be per asoc, so that sockopt SCTP_EVENT in the next patch can subscribe a event from one asoc only. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
2cc0eeb676
commit
a1e3a0590f
@@ -2077,6 +2077,8 @@ struct sctp_association {
|
||||
|
||||
int sent_cnt_removable;
|
||||
|
||||
__u16 subscribe;
|
||||
|
||||
__u64 abandoned_unsent[SCTP_PR_INDEX(MAX) + 1];
|
||||
__u64 abandoned_sent[SCTP_PR_INDEX(MAX) + 1];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user