• Home
  • Raw
  • Download

Lines Matching refs:peer

59 static struct sctp_transport *sctp_transport_init(struct sctp_transport *peer,  in sctp_transport_init()  argument
64 peer->ipaddr = *addr; in sctp_transport_init()
65 peer->af_specific = sctp_get_af_specific(addr->sa.sa_family); in sctp_transport_init()
66 peer->asoc = NULL; in sctp_transport_init()
68 peer->dst = NULL; in sctp_transport_init()
69 memset(&peer->saddr, 0, sizeof(union sctp_addr)); in sctp_transport_init()
77 peer->last_rto = peer->rto = msecs_to_jiffies(sctp_rto_initial); in sctp_transport_init()
78 peer->rtt = 0; in sctp_transport_init()
79 peer->rttvar = 0; in sctp_transport_init()
80 peer->srtt = 0; in sctp_transport_init()
81 peer->rto_pending = 0; in sctp_transport_init()
82 peer->fast_recovery = 0; in sctp_transport_init()
84 peer->last_time_heard = jiffies; in sctp_transport_init()
85 peer->last_time_used = jiffies; in sctp_transport_init()
86 peer->last_time_ecne_reduced = jiffies; in sctp_transport_init()
88 peer->init_sent_count = 0; in sctp_transport_init()
90 peer->param_flags = SPP_HB_DISABLE | in sctp_transport_init()
93 peer->hbinterval = 0; in sctp_transport_init()
96 peer->pathmaxrxt = sctp_max_retrans_path; in sctp_transport_init()
97 peer->error_count = 0; in sctp_transport_init()
99 INIT_LIST_HEAD(&peer->transmitted); in sctp_transport_init()
100 INIT_LIST_HEAD(&peer->send_ready); in sctp_transport_init()
101 INIT_LIST_HEAD(&peer->transports); in sctp_transport_init()
103 peer->T3_rtx_timer.expires = 0; in sctp_transport_init()
104 peer->hb_timer.expires = 0; in sctp_transport_init()
106 setup_timer(&peer->T3_rtx_timer, sctp_generate_t3_rtx_event, in sctp_transport_init()
107 (unsigned long)peer); in sctp_transport_init()
108 setup_timer(&peer->hb_timer, sctp_generate_heartbeat_event, in sctp_transport_init()
109 (unsigned long)peer); in sctp_transport_init()
112 get_random_bytes(&peer->hb_nonce, sizeof(peer->hb_nonce)); in sctp_transport_init()
114 atomic_set(&peer->refcnt, 1); in sctp_transport_init()
115 peer->dead = 0; in sctp_transport_init()
117 peer->malloced = 0; in sctp_transport_init()
120 peer->cacc.changeover_active = 0; in sctp_transport_init()
121 peer->cacc.cycling_changeover = 0; in sctp_transport_init()
122 peer->cacc.next_tsn_at_change = 0; in sctp_transport_init()
123 peer->cacc.cacc_saw_newack = 0; in sctp_transport_init()
125 return peer; in sctp_transport_init()
310 if (asoc && (transport == asoc->peer.active_path)) in sctp_transport_route()
598 t->ssthresh = asoc->peer.i.a_rwnd; in sctp_transport_reset()