Lines Matching full:scp
53 struct dn_scp *scp = DN_SK(sk); in dn_slow_timer() local
73 if (scp->persist && scp->persist_fxn) { in dn_slow_timer()
74 if (scp->persist <= SLOW_INTERVAL) { in dn_slow_timer()
75 scp->persist = 0; in dn_slow_timer()
77 if (scp->persist_fxn(sk)) in dn_slow_timer()
80 scp->persist -= SLOW_INTERVAL; in dn_slow_timer()
87 * do this. scp->stamp is the last time that we sent a packet. in dn_slow_timer()
91 * time we do this, scp->stamp will be updated, thus in dn_slow_timer()
92 * we won't try and send another until scp->keepalive has passed in dn_slow_timer()
95 if (scp->keepalive && scp->keepalive_fxn && (scp->state == DN_RUN)) { in dn_slow_timer()
96 if (time_after_eq(jiffies, scp->stamp + scp->keepalive)) in dn_slow_timer()
97 scp->keepalive_fxn(sk); in dn_slow_timer()