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,
185 int sctp_send_reset_streams(struct sctp_association *asoc,
187 int sctp_send_reset_assoc(struct sctp_association *asoc);
188 int sctp_send_add_streams(struct sctp_association *asoc,
258 static inline void sctp_max_rto(struct sctp_association *asoc, in sctp_max_rto() argument
261 if (asoc->stats.max_obs_rto < (__u64)trans->rto) { in sctp_max_rto()
262 asoc->stats.max_obs_rto = trans->rto; in sctp_max_rto()
263 memset(&asoc->stats.obs_rto_ipaddr, 0, in sctp_max_rto()
265 memcpy(&asoc->stats.obs_rto_ipaddr, &trans->ipaddr, in sctp_max_rto()
348 static inline sctp_assoc_t sctp_assoc2id(const struct sctp_association *asoc) in sctp_assoc2id() argument
350 return asoc ? asoc->assoc_id : 0; in sctp_assoc2id()
354 sctp_assoc_to_state(const struct sctp_association *asoc) in sctp_assoc_to_state() argument
363 return asoc->state + 1; in sctp_assoc_to_state()
521 #define sctp_state(asoc, state) __sctp_state((asoc), (SCTP_STATE_##state)) argument
522 static inline int __sctp_state(const struct sctp_association *asoc, in __sctp_state() argument
525 return asoc->state == state; in __sctp_state()
625 return __sctp_mtu_payload(sctp_sk(t->asoc->base.sk), t, 0, 0) - in sctp_transport_pl_hlen()