Lines Matching refs:asoc
98 struct sctp_association *asoc);
116 int sctp_get_sctp_info(struct sock *sk, struct sctp_association *asoc,
128 int sctp_primitive_RECONF(struct net *net, struct sctp_association *asoc,
149 struct sctp_association *asoc,
183 int sctp_send_reset_streams(struct sctp_association *asoc,
185 int sctp_send_reset_assoc(struct sctp_association *asoc);
186 int sctp_send_add_streams(struct sctp_association *asoc,
256 static inline void sctp_max_rto(struct sctp_association *asoc, in sctp_max_rto() argument
259 if (asoc->stats.max_obs_rto < (__u64)trans->rto) { in sctp_max_rto()
260 asoc->stats.max_obs_rto = trans->rto; in sctp_max_rto()
261 memset(&asoc->stats.obs_rto_ipaddr, 0, in sctp_max_rto()
263 memcpy(&asoc->stats.obs_rto_ipaddr, &trans->ipaddr, in sctp_max_rto()
346 static inline sctp_assoc_t sctp_assoc2id(const struct sctp_association *asoc) in sctp_assoc2id() argument
348 return asoc ? asoc->assoc_id : 0; in sctp_assoc2id()
352 sctp_assoc_to_state(const struct sctp_association *asoc) in sctp_assoc_to_state() argument
361 return asoc->state + 1; in sctp_assoc_to_state()
519 #define sctp_state(asoc, state) __sctp_state((asoc), (SCTP_STATE_##state)) argument
520 static inline int __sctp_state(const struct sctp_association *asoc, in __sctp_state() argument
523 return asoc->state == state; in __sctp_state()
623 return __sctp_mtu_payload(sctp_sk(t->asoc->base.sk), t, 0, 0) - in sctp_transport_pl_hlen()