Lines Matching refs:peer
56 struct sctp_transport *peer, in sctp_transport_init() argument
61 peer->ipaddr = *addr; in sctp_transport_init()
62 peer->af_specific = sctp_get_af_specific(addr->sa.sa_family); in sctp_transport_init()
63 memset(&peer->saddr, 0, sizeof(union sctp_addr)); in sctp_transport_init()
65 peer->sack_generation = 0; in sctp_transport_init()
73 peer->rto = msecs_to_jiffies(net->sctp.rto_initial); in sctp_transport_init()
75 peer->last_time_heard = ktime_get(); in sctp_transport_init()
76 peer->last_time_ecne_reduced = jiffies; in sctp_transport_init()
78 peer->param_flags = SPP_HB_DISABLE | in sctp_transport_init()
83 peer->pathmaxrxt = net->sctp.max_retrans_path; in sctp_transport_init()
84 peer->pf_retrans = net->sctp.pf_retrans; in sctp_transport_init()
86 INIT_LIST_HEAD(&peer->transmitted); in sctp_transport_init()
87 INIT_LIST_HEAD(&peer->send_ready); in sctp_transport_init()
88 INIT_LIST_HEAD(&peer->transports); in sctp_transport_init()
90 setup_timer(&peer->T3_rtx_timer, sctp_generate_t3_rtx_event, in sctp_transport_init()
91 (unsigned long)peer); in sctp_transport_init()
92 setup_timer(&peer->hb_timer, sctp_generate_heartbeat_event, in sctp_transport_init()
93 (unsigned long)peer); in sctp_transport_init()
94 setup_timer(&peer->proto_unreach_timer, in sctp_transport_init()
95 sctp_generate_proto_unreach_event, (unsigned long)peer); in sctp_transport_init()
98 get_random_bytes(&peer->hb_nonce, sizeof(peer->hb_nonce)); in sctp_transport_init()
100 atomic_set(&peer->refcnt, 1); in sctp_transport_init()
102 return peer; in sctp_transport_init()
290 if (asoc && (!asoc->peer.primary_path || in sctp_transport_route()
291 (transport == asoc->peer.active_path))) in sctp_transport_route()
621 t->ssthresh = asoc->peer.i.a_rwnd; in sctp_transport_reset()