Searched refs:N_TIME_WAIT_SLOTS (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/netinet/
H A Dtcp_timer.c229 struct inpcbhead time_wait_slots[N_TIME_WAIT_SLOTS];
295 tp->t_rcvtime += timer & (N_TIME_WAIT_SLOTS - 1);
297 tw_slot = (timer & (N_TIME_WAIT_SLOTS - 1)) + cur_tw_slot;
298 if (tw_slot >= N_TIME_WAIT_SLOTS)
299 tw_slot -= N_TIME_WAIT_SLOTS;
473 if (tp->t_timer[TCPT_2MSL] >= N_TIME_WAIT_SLOTS) {
474 tp->t_timer[TCPT_2MSL] -= N_TIME_WAIT_SLOTS;
475 tp->t_rcvtime += N_TIME_WAIT_SLOTS;
500 if (++cur_tw_slot >= N_TIME_WAIT_SLOTS)
H A Dtcp_subr.c437 for (i=0; i < N_TIME_WAIT_SLOTS; i++) {
1436 for (slot = 0; slot < N_TIME_WAIT_SLOTS; slot++) {
1623 for (slot = 0; slot < N_TIME_WAIT_SLOTS; slot++) {
H A Dtcp_var.h92 #define N_TIME_WAIT_SLOTS 128 /* must be power of 2 */ macro

Completed in 30 milliseconds