Home
last modified time | relevance | path

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

/linux-6.1.9/include/uapi/linux/
Dsctp.h967 struct sctp_paddrinfo sstat_primary; member
/linux-6.1.9/net/sctp/
Dsocket.c5428 status.sstat_primary.spinfo_assoc_id = sctp_assoc2id(transport->asoc); in sctp_getsockopt_sctp_status()
5429 memcpy(&status.sstat_primary.spinfo_address, &transport->ipaddr, in sctp_getsockopt_sctp_status()
5433 (union sctp_addr *)&status.sstat_primary.spinfo_address); in sctp_getsockopt_sctp_status()
5434 status.sstat_primary.spinfo_state = transport->state; in sctp_getsockopt_sctp_status()
5435 status.sstat_primary.spinfo_cwnd = transport->cwnd; in sctp_getsockopt_sctp_status()
5436 status.sstat_primary.spinfo_srtt = transport->srtt; in sctp_getsockopt_sctp_status()
5437 status.sstat_primary.spinfo_rto = jiffies_to_msecs(transport->rto); in sctp_getsockopt_sctp_status()
5438 status.sstat_primary.spinfo_mtu = transport->pathmtu; in sctp_getsockopt_sctp_status()
5440 if (status.sstat_primary.spinfo_state == SCTP_UNKNOWN) in sctp_getsockopt_sctp_status()
5441 status.sstat_primary.spinfo_state = SCTP_ACTIVE; in sctp_getsockopt_sctp_status()