Lines Matching defs:begin

45  *	tcp_seq begin: starting seq num of the new blk.
50 tcp_sack_insert(sack_blk_t *head, tcp_seq begin, tcp_seq end, int32_t *num)
57 head[0].begin = begin;
82 if (SEQ_LT(end, head[i].begin) || SEQ_GT(begin, head[i].end)) {
84 tmp[j].begin = head[i].begin;
88 } else if (SEQ_GEQ(begin, head[i].begin) &&
91 begin = head[i].begin;
94 SEQ_GEQ(end, head[i].begin)) {
100 } else if (SEQ_GEQ(begin, head[i].begin) &&
101 SEQ_LEQ(begin, head[i].end)) {
103 begin = head[i].begin;
114 head[0].begin = begin;
117 head[i+1].begin = tmp[i].begin;
146 if (SEQ_GT(end, head[i].begin)) {
150 * partially covered, update begin and continue.
158 tmp[j].begin = end;
162 tmp[j].begin = head[i].begin;
169 head[i].begin = tmp[i].begin;
185 * tcp_seq begin: starting seq num of the SACK info.
192 tcp_notsack_insert(notsack_blk_t **head, tcp_seq begin, tcp_seq end,
205 while ((tmp != NULL) && SEQ_LEQ(tmp->end, begin)) {
223 if (SEQ_LEQ(end, tmp->begin)) {
233 if (end == tmp->end && SEQ_LEQ(begin, tmp->begin)) {
240 *sum -= tmp->end - tmp->begin;
245 if (SEQ_GEQ(begin, tmp->begin)) {
247 if (begin == tmp->begin) {
248 *sum -= end - tmp->begin;
249 tmp->begin = end;
251 *sum -= tmp->end - begin;
252 tmp->end = begin;
262 new->begin = end;
265 tmp->end = begin;
269 *sum -= end - begin;
272 *sum -= end - tmp->begin;
273 tmp->begin = end;
281 if (SEQ_LT(tmp->begin, begin)) {
282 tmp_sum -= tmp->end - begin;
283 tmp->end = begin;
291 if (SEQ_GT(tmp->begin, end)) {
297 tmp_sum -= tmp->end - tmp->begin;
314 tmp_sum -= end - tmp->begin;
315 tmp->begin = end;
350 if (SEQ_GT(tmp->begin, end)) {
357 tmp_sum -= tmp->end - tmp->begin;
368 tmp_sum -= end - tmp->begin;
369 tmp->begin = end;
385 * tcp_seq begin: beginning seq num of new data.
391 void tcp_notsack_update(notsack_blk_t **head, tcp_seq begin, tcp_seq end,
403 tmp->begin = begin;
409 *sum = end - begin;
423 if (SEQ_GEQ(tmp->end, begin)) {
431 tmp->begin = begin;
436 *sum += end - begin;