Home
last modified time | relevance | path

Searched refs:sstat_primary (Results 1 – 2 of 2) sorted by relevance

/linux/include/uapi/linux/
H A Dsctp.h967 struct sctp_paddrinfo sstat_primary; member
/linux/net/sctp/
H A Dsocket.c5452 status.sstat_primary.spinfo_assoc_id = sctp_assoc2id(transport->asoc); in sctp_getsockopt_sctp_status()
5453 memcpy(&status.sstat_primary.spinfo_address, &transport->ipaddr, in sctp_getsockopt_sctp_status()
5457 (union sctp_addr *)&status.sstat_primary.spinfo_address); in sctp_getsockopt_sctp_status()
5458 status.sstat_primary.spinfo_state = transport->state; in sctp_getsockopt_sctp_status()
5459 status.sstat_primary.spinfo_cwnd = transport->cwnd; in sctp_getsockopt_sctp_status()
5460 status.sstat_primary.spinfo_srtt = transport->srtt; in sctp_getsockopt_sctp_status()
5461 status.sstat_primary.spinfo_rto = jiffies_to_msecs(transport->rto); in sctp_getsockopt_sctp_status()
5462 status.sstat_primary.spinfo_mtu = transport->pathmtu; in sctp_getsockopt_sctp_status()
5464 if (status.sstat_primary.spinfo_state == SCTP_UNKNOWN) in sctp_getsockopt_sctp_status()
5465 status.sstat_primary.spinfo_state = SCTP_ACTIVE; in sctp_getsockopt_sctp_status()