Lines Matching refs:asoc
103 struct sctp_association *asoc);
121 int sctp_get_sctp_info(struct sock *sk, struct sctp_association *asoc,
133 int sctp_primitive_RECONF(struct net *net, struct sctp_association *asoc,
154 struct sctp_association *asoc,
188 int sctp_send_reset_streams(struct sctp_association *asoc,
190 int sctp_send_reset_assoc(struct sctp_association *asoc);
191 int sctp_send_add_streams(struct sctp_association *asoc,
261 static inline void sctp_max_rto(struct sctp_association *asoc, in sctp_max_rto() argument
264 if (asoc->stats.max_obs_rto < (__u64)trans->rto) { in sctp_max_rto()
265 asoc->stats.max_obs_rto = trans->rto; in sctp_max_rto()
266 memset(&asoc->stats.obs_rto_ipaddr, 0, in sctp_max_rto()
268 memcpy(&asoc->stats.obs_rto_ipaddr, &trans->ipaddr, in sctp_max_rto()
351 static inline sctp_assoc_t sctp_assoc2id(const struct sctp_association *asoc) in sctp_assoc2id() argument
353 return asoc ? asoc->assoc_id : 0; in sctp_assoc2id()
357 sctp_assoc_to_state(const struct sctp_association *asoc) in sctp_assoc_to_state() argument
366 return asoc->state + 1; in sctp_assoc_to_state()
524 #define sctp_state(asoc, state) __sctp_state((asoc), (SCTP_STATE_##state)) argument
525 static inline int __sctp_state(const struct sctp_association *asoc, in __sctp_state() argument
528 return asoc->state == state; in __sctp_state()
628 return __sctp_mtu_payload(sctp_sk(t->asoc->base.sk), t, 0, 0) - in sctp_transport_pl_hlen()