Home
last modified time | relevance | path

Searched refs:xstcb (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/netinet/
H A Dsctp_sysctl.c384 struct xsctp_tcb xstcb; in sctp_sysctl_handle_assoclist() local
424 memset(&xstcb, 0, sizeof(xstcb)); in sctp_sysctl_handle_assoclist()
474 xstcb.last = 0; in sctp_sysctl_handle_assoclist()
475 xstcb.local_port = ntohs(inp->sctp_lport); in sctp_sysctl_handle_assoclist()
476 xstcb.remote_port = ntohs(stcb->rport); in sctp_sysctl_handle_assoclist()
478 xstcb.primary_addr = stcb->asoc.primary_destination->ro._l_addr; in sctp_sysctl_handle_assoclist()
479 xstcb.heartbeat_interval = stcb->asoc.heart_beat_delay; in sctp_sysctl_handle_assoclist()
480 xstcb.state = (uint32_t)sctp_map_assoc_state(stcb->asoc.state); in sctp_sysctl_handle_assoclist()
481 xstcb.assoc_id = sctp_get_associd(stcb); in sctp_sysctl_handle_assoclist()
482 xstcb.peers_rwnd = stcb->asoc.peers_rwnd; in sctp_sysctl_handle_assoclist()
[all …]
/freebsd/usr.bin/netstat/
H A Dsctp.c155 struct xsctp_tcb *xstcb; in sctp_skip_xinpcb_ifneed() local
167 xstcb = (struct xsctp_tcb *)(buf + *offset); in sctp_skip_xinpcb_ifneed()
169 if (xstcb->last == 1) in sctp_skip_xinpcb_ifneed()
199 sctp_process_tcb(struct xsctp_tcb *xstcb, in sctp_process_tcb() argument
272 htons(xstcb->local_port), numeric_port); in sctp_process_tcb()
283 htons(xstcb->remote_port), numeric_port); in sctp_process_tcb()
292 sctp_statesprint(xstcb->state); in sctp_process_tcb()
325 struct xsctp_tcb *xstcb; in sctp_process_inpcb() local
462 xstcb = (struct xsctp_tcb *)(buf + *offset); in sctp_process_inpcb()
464 if (aflag && (xladdr_total == 0) && xstcb->last && !process_closed) { in sctp_process_inpcb()
[all …]
/freebsd/usr.bin/sockstat/
H A Dsockstat.c394 struct xsctp_tcb *xstcb; in gather_sctp() local
512 xstcb = (struct xsctp_tcb *)(void *)(buf + offset); in gather_sctp()
518 (xstcb->last == 1))) { in gather_sctp()
524 if (xstcb->last == 1) in gather_sctp()
533 sock->state = (int)xstcb->state; in gather_sctp()
570 htons(xstcb->local_port)); in gather_sctp()
578 htons(xstcb->local_port)); in gather_sctp()
615 htons(xstcb->remote_port)); in gather_sctp()
623 htons(xstcb->remote_port)); in gather_sctp()