Lines Matching full:reorder
156 * Reorder queue maximum length. Zero disables reorder.
159 * if reorder is enabled, plus allocate one more for short time.
164 static int reorder_max = 1; /* reorder up to two swapped packets in a row */
166 &reorder_max, 0, "Reorder queue maximum length");
170 &reorder_timeout, 0, "Reorder timeout is milliseconds");
172 /* Packet reorder FIFO queue */
200 roqh roq; /* reorder queue head */
201 u_int8_t roq_len; /* reorder queue length */
202 struct callout reorderTimer; /* reorder timeout handler */
895 if (diff < 0 && reorder_max == 0) /* reorder disabled */ in ng_pptpgre_rcvdata_lower()
945 goto enqueue; /* reorder enabled and there is a room */ in ng_pptpgre_rcvdata_lower()
948 * There is no room in the queue or reorder disabled. in ng_pptpgre_rcvdata_lower()
950 * It the latter case, we may still have non-empty reorder queue in ng_pptpgre_rcvdata_lower()
951 * if reorder was disabled in process of reordering. in ng_pptpgre_rcvdata_lower()
958 INIT_SENDQ(temp); /* of reorder queue, so put it to sendq */ in ng_pptpgre_rcvdata_lower()
963 * Current packet goes after the head of reorder queue. in ng_pptpgre_rcvdata_lower()
1008 /* Add current (early) packet to the reorder queue. */ in ng_pptpgre_rcvdata_lower()
1153 * Start a timer for the reorder queue. This assumes the timer is not
1168 * The oldest packet spent too much time in the reorder queue.
1267 /* Clear reorder queue */ in ng_pptpgre_reset()