Lines Matching defs:xstcb

384 	struct xsctp_tcb xstcb;
424 memset(&xstcb, 0, sizeof(xstcb));
474 xstcb.last = 0;
475 xstcb.local_port = ntohs(inp->sctp_lport);
476 xstcb.remote_port = ntohs(stcb->rport);
478 xstcb.primary_addr = stcb->asoc.primary_destination->ro._l_addr;
479 xstcb.heartbeat_interval = stcb->asoc.heart_beat_delay;
480 xstcb.state = (uint32_t)sctp_map_assoc_state(stcb->asoc.state);
481 xstcb.assoc_id = sctp_get_associd(stcb);
482 xstcb.peers_rwnd = stcb->asoc.peers_rwnd;
483 xstcb.in_streams = stcb->asoc.streamincnt;
484 xstcb.out_streams = stcb->asoc.streamoutcnt;
485 xstcb.max_nr_retrans = stcb->asoc.overall_error_count;
486 xstcb.primary_process = 0; /* not really supported
488 xstcb.T1_expireries = stcb->asoc.timoinit + stcb->asoc.timocookie;
489 xstcb.T2_expireries = stcb->asoc.timoshutdown + stcb->asoc.timoshutdownack;
490 xstcb.retransmitted_tsns = stcb->asoc.marked_retrans;
491 xstcb.start_time.tv_sec = (uint32_t)stcb->asoc.start_time.tv_sec;
492 xstcb.start_time.tv_usec = (uint32_t)stcb->asoc.start_time.tv_usec;
493 xstcb.discontinuity_time.tv_sec = (uint32_t)stcb->asoc.discontinuity_time.tv_sec;
494 xstcb.discontinuity_time.tv_usec = (uint32_t)stcb->asoc.discontinuity_time.tv_usec;
495 xstcb.total_sends = stcb->total_sends;
496 xstcb.total_recvs = stcb->total_recvs;
497 xstcb.local_tag = stcb->asoc.my_vtag;
498 xstcb.remote_tag = stcb->asoc.peer_vtag;
499 xstcb.initial_tsn = stcb->asoc.init_seq_number;
500 xstcb.highest_tsn = stcb->asoc.sending_seq - 1;
501 xstcb.cumulative_tsn = stcb->asoc.last_acked_seq;
502 xstcb.cumulative_tsn_ack = stcb->asoc.cumulative_tsn;
503 xstcb.mtu = stcb->asoc.smallest_mtu;
504 xstcb.refcnt = stcb->asoc.refcnt;
507 error = SYSCTL_OUT(req, &xstcb, sizeof(struct xsctp_tcb));
575 memset((void *)&xstcb, 0, sizeof(struct xsctp_tcb));
576 xstcb.last = 1;
577 error = SYSCTL_OUT(req, &xstcb, sizeof(struct xsctp_tcb));