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()
476 xstcb.remote_port = ntohs(stcb->rport); in sctp_sysctl_handle_assoclist()
481 xstcb.assoc_id = sctp_get_associd(stcb); in sctp_sysctl_handle_assoclist()
495 xstcb.total_sends = stcb->total_sends; in sctp_sysctl_handle_assoclist()
496 xstcb.total_recvs = stcb->total_recvs; in sctp_sysctl_handle_assoclist()
497 xstcb.local_tag = stcb->asoc.my_vtag; in sctp_sysctl_handle_assoclist()
503 xstcb.mtu = stcb->asoc.smallest_mtu; in sctp_sysctl_handle_assoclist()
504 xstcb.refcnt = stcb->asoc.refcnt; in sctp_sysctl_handle_assoclist()
[all …]
/freebsd/usr.bin/netstat/
H A Dsctp.c156 struct xsctp_tcb *xstcb; in sctp_skip_xinpcb_ifneed() local
168 xstcb = (struct xsctp_tcb *)(buf + *offset); in sctp_skip_xinpcb_ifneed()
170 if (xstcb->last == 1) in sctp_skip_xinpcb_ifneed()
200 sctp_process_tcb(struct xsctp_tcb *xstcb, in sctp_process_tcb() argument
273 htons(xstcb->local_port), numeric_port); in sctp_process_tcb()
284 htons(xstcb->remote_port), numeric_port); in sctp_process_tcb()
293 sctp_statesprint(xstcb->state); in sctp_process_tcb()
326 struct xsctp_tcb *xstcb; in sctp_process_inpcb() local
463 xstcb = (struct xsctp_tcb *)(buf + *offset); in sctp_process_inpcb()
470 while (xstcb->last == 0 && *offset < buflen) { in sctp_process_inpcb()
[all …]
/freebsd/usr.bin/sockstat/
H A Dsockstat.c388 struct xsctp_tcb *xstcb; in gather_sctp() local
506 xstcb = (struct xsctp_tcb *)(void *)(buf + offset); in gather_sctp()
512 (xstcb->last == 1))) { in gather_sctp()
518 if (xstcb->last == 1) in gather_sctp()
527 sock->state = (int)xstcb->state; in gather_sctp()
564 htons(xstcb->local_port)); in gather_sctp()
572 htons(xstcb->local_port)); in gather_sctp()
609 htons(xstcb->remote_port)); in gather_sctp()
617 htons(xstcb->remote_port)); in gather_sctp()