Lines Matching refs:peer
63 struct sctp_transport *peer, in sctp_transport_init() argument
68 peer->ipaddr = *addr; in sctp_transport_init()
69 peer->af_specific = sctp_get_af_specific(addr->sa.sa_family); in sctp_transport_init()
70 memset(&peer->saddr, 0, sizeof(union sctp_addr)); in sctp_transport_init()
72 peer->sack_generation = 0; in sctp_transport_init()
80 peer->rto = msecs_to_jiffies(net->sctp.rto_initial); in sctp_transport_init()
82 peer->last_time_heard = jiffies; in sctp_transport_init()
83 peer->last_time_ecne_reduced = jiffies; in sctp_transport_init()
85 peer->param_flags = SPP_HB_DISABLE | in sctp_transport_init()
90 peer->pathmaxrxt = net->sctp.max_retrans_path; in sctp_transport_init()
91 peer->pf_retrans = net->sctp.pf_retrans; in sctp_transport_init()
93 INIT_LIST_HEAD(&peer->transmitted); in sctp_transport_init()
94 INIT_LIST_HEAD(&peer->send_ready); in sctp_transport_init()
95 INIT_LIST_HEAD(&peer->transports); in sctp_transport_init()
97 setup_timer(&peer->T3_rtx_timer, sctp_generate_t3_rtx_event, in sctp_transport_init()
98 (unsigned long)peer); in sctp_transport_init()
99 setup_timer(&peer->hb_timer, sctp_generate_heartbeat_event, in sctp_transport_init()
100 (unsigned long)peer); in sctp_transport_init()
101 setup_timer(&peer->proto_unreach_timer, in sctp_transport_init()
102 sctp_generate_proto_unreach_event, (unsigned long)peer); in sctp_transport_init()
105 get_random_bytes(&peer->hb_nonce, sizeof(peer->hb_nonce)); in sctp_transport_init()
107 atomic_set(&peer->refcnt, 1); in sctp_transport_init()
109 return peer; in sctp_transport_init()
294 if (asoc && (!asoc->peer.primary_path || in sctp_transport_route()
295 (transport == asoc->peer.active_path))) in sctp_transport_route()
628 t->ssthresh = asoc->peer.i.a_rwnd; in sctp_transport_reset()