Lines Matching defs:new
47 * To insert a new blk to the array of SACK blk in receiver.
51 * tcp_seq begin: starting seq num of the new blk.
52 * tcp_seq end: ending seq num of the new blk.
61 /* The array is empty, just add the new one. */
73 * 2. new SACK blk is completely contained in another blk.
74 * 3. tail part of new SACK blk overlaps with another blk.
75 * 4. head part of new SACK blk overlaps with another blk.
76 * 5. new SACK blk completely contains another blk.
102 * Case 3: Extend the new blk, remove the old one
150 /* Walk thru the whole list and copy the new list to tmp[]. */
201 notsack_blk_t *prev, *tmp, *new;
218 * This can happen only when TCP sends new data but the notsack list
226 * This means the new SACK info covers something that is not on
262 if ((new = (notsack_blk_t *)bkmem_alloc(
266 new->end = tmp->end;
267 new->begin = end;
268 new->next = tmp->next;
269 new->sack_cnt = 0;
271 tmp->next = new;
385 * To update the notsack'ed list when new data is sent.
387 * Assumption: this should only be called when new notsack blk is to be added.
392 * tcp_seq begin: beginning seq num of new data.
393 * tcp_seq end: ending seq num of new data.
404 /* If the list is empty, create a new one. */
421 * Find the place to add the new blk. This assumes that new data
422 * is being sent, so the place to insert the new notsack blk is at
429 /* Does the new blk overlap with old one? */
434 /* No. Need to create a new notsack blk. */