Searched refs:sb (Results 1 - 14 of 14) sorted by relevance

/vpp/src/vnet/tcp/
H A Dtcp_sack.c19 scoreboard_remove_hole (sack_scoreboard_t * sb, sack_scoreboard_hole_t * hole) argument
25 next = pool_elt_at_index (sb->holes, hole->next);
30 sb->tail = hole->prev;
35 prev = pool_elt_at_index (sb->holes, hole->prev);
40 sb->head = hole->next;
43 if (scoreboard_hole_index (sb, hole) == sb->cur_rxt_hole)
44 sb->cur_rxt_hole = TCP_INVALID_SACK_HOLE_INDEX;
50 pool_put (sb->holes, hole);
54 scoreboard_insert_hole (sack_scoreboard_t * sb, u3 argument
91 scoreboard_update_sacked_rxt(sack_scoreboard_t * sb, u32 start, u32 end, u8 has_rxt) argument
102 scoreboard_update_bytes(sack_scoreboard_t * sb, u32 ack, u32 snd_mss) argument
175 scoreboard_next_rxt_hole(sack_scoreboard_t * sb, sack_scoreboard_hole_t * start, u8 have_unsent, u8 * can_rescue, u8 * snd_limited) argument
235 scoreboard_init_rxt(sack_scoreboard_t * sb, u32 snd_una) argument
249 scoreboard_init(sack_scoreboard_t * sb) argument
257 scoreboard_clear(sack_scoreboard_t * sb) argument
276 scoreboard_clear_reneging(sack_scoreboard_t * sb, u32 start, u32 end) argument
308 sack_scoreboard_t *sb = &tc->sack_sb; local
[all...]
H A Dtcp_sack.h22 scoreboard_hole_index (sack_scoreboard_t * sb, sack_scoreboard_hole_t * hole) argument
24 ASSERT (!pool_is_free_index (sb->holes, hole - sb->holes));
25 return hole - sb->holes;
35 scoreboard_get_hole (sack_scoreboard_t * sb, u32 index) argument
38 return pool_elt_at_index (sb->holes, index);
43 scoreboard_next_hole (sack_scoreboard_t * sb, sack_scoreboard_hole_t * hole) argument
46 return pool_elt_at_index (sb->holes, hole->next);
51 scoreboard_prev_hole (sack_scoreboard_t * sb, sack_scoreboard_hole_t * hole) argument
54 return pool_elt_at_index (sb
59 scoreboard_first_hole(sack_scoreboard_t * sb) argument
67 scoreboard_last_hole(sack_scoreboard_t * sb) argument
[all...]
H A Dtcp_cli.c334 sack_scoreboard_t *sb = va_arg (*args, sack_scoreboard_t *); local
341 sb->sacked_bytes, sb->last_sacked_bytes, sb->lost_bytes,
342 sb->last_lost_bytes, sb->rxt_sacked);
344 format_white_space, indent, sb->last_bytes_delivered,
345 sb->high_sacked - tc->iss, sb->is_reneging);
347 format_white_space, indent, sb
622 tcp_scoreboard_dump_trace(u8 * s, sack_scoreboard_t * sb) argument
[all...]
H A Dtcp_output.c1276 sack_scoreboard_t *sb = &tc->sack_sb; local
1279 hole = scoreboard_first_hole (sb);
1280 if (!sb->is_reneging && (!hole || hole->start == tc->snd_una))
1283 scoreboard_clear_reneging (sb, tc->snd_una, tc->snd_nxt);
1692 sack_scoreboard_t * sb)
1694 u32 tx_adv_sack = sb->high_sacked - tc->snd_congestion;
1727 sack_scoreboard_t *sb; local
1748 sb = &tc->sack_sb;
1751 if (pool_elts (sb->holes)
1752 && seq_gt (sb
1691 tcp_retransmit_should_retry_head(tcp_connection_t * tc, sack_scoreboard_t * sb) argument
[all...]
/vpp/src/plugins/unittest/
H A Dtcp_test.c74 sack_scoreboard_t *sb = &tc->sack_sb; local
116 vlib_cli_output (vm, "sb after even blocks (mss %u):\n%U",
117 tc->snd_mss, format_tcp_scoreboard, sb, tc);
119 TCP_TEST ((pool_elts (sb->holes) == 5),
120 "scoreboard has %d elements", pool_elts (sb->holes));
123 hole = scoreboard_first_hole (sb);
126 hole = scoreboard_last_hole (sb);
129 TCP_TEST ((sb->sacked_bytes == 400), "sacked bytes %d", sb->sacked_bytes);
130 TCP_TEST ((!sb
1014 sack_scoreboard_t *sb = &tc->sack_sb; local
[all...]
/vpp/src/vppinfra/linux/
H A Dsysfs.c120 struct stat sb; local
131 if (stat ((char *) p, &sb) == 0)
133 if (S_ISDIR (sb.st_mode) == 0)
143 if (stat ((char *) p, &sb) < 0 || S_ISDIR (sb.st_mode) == 0)
171 struct stat sb; local
184 if (stat ((char *) p, &sb) == 0)
186 if (S_ISDIR (sb.st_mode) == 0)
196 if (stat ((char *) p, &sb) < 0 || S_ISDIR (sb
[all...]
/vpp/src/plugins/rdma/
H A Dformat.c179 u32 sb = va_arg (*args, u32); local
182 if (sb == 63 && eb == 0)
188 u32 x = mlx5_get_bits (ptr, offset, sb, eb);
200 u32 sb = va_arg (*args, u32); local
207 if (sb == eb)
208 tmp = format (tmp, "[%u]", sb);
210 tmp = format (tmp, "[%u:%u]", sb, eb);
211 s = format (s, "%-45v = %U", tmp, format_mlx5_bits, ptr, offset, sb, eb);
/vpp/src/vpp/app/
H A Dvppctl.c99 u8 *sb = 0; local
103 vec_add1 (sb, s->rx_buffer[i++]);
107 format_hexdump, sb, vec_len (sb));
109 vec_free (sb);
/vpp/src/vlib/
H A Dbuffer_funcs.h1429 vlib_buffer_t *db = b, *sb, *first = b;
1481 sb = vlib_get_buffer (vm, first->next_buffer);
1486 sb = vlib_get_buffer (vm, first->next_buffer);
1488 src_left = sb->current_length;
1489 sp = vlib_buffer_get_current (sb);
1515 ASSERT (sb->flags & VLIB_BUFFER_NEXT_PRESENT);
1516 sb = vlib_get_buffer (vm, sb->next_buffer);
1517 src_left = sb->current_length;
1518 sp = vlib_buffer_get_current (sb);
[all...]
/vpp/src/plugins/http_static/
H A Dstatic_server.c605 struct stat _sb, *sb = &_sb; local
711 if (stat ((char *) path, sb) < 0 /* cant even stat the file */
712 || sb->st_size < 20 /* file too small */
713 || (sb->st_mode & S_IFMT) != S_IFREG /* not a regular file */ )
719 if (stat ((char *) path, sb) < 0 /* cant even stat the file */
720 || sb->st_size < 20 /* file too small */
721 || (sb->st_mode & S_IFMT) != S_IFREG /* not a regular file */ )
727 if (stat ((char *) path, sb) < 0 /* cant even stat the file */
728 || sb->st_size < 20 /* file too small */
729 || (sb
[all...]
/vpp/extras/deprecated/vppinfra/
H A Dvhash.c213 vhash_search_bucket_t * sb,
231 i_refill = vhash_empty_result_index (sb->result.as_u32x4);
232 sb->result.as_u32[i_refill] = ob->result.as_u32[i];
234 sb->key[j].as_u32[i_refill] = ob->key[j].as_u32[i];
212 vhash_unset_refill_from_overflow(vhash_t * h, vhash_search_bucket_t * sb, u32 key_hash, u32 n_key_u32s) argument
/vpp/src/vnet/pg/
H A Dcli.c88 struct stat sb; local
89 if (stat (a->pcap_file_name, &sb) != -1)
/vpp/src/vcl/
H A Dldp.c229 u32 sb; local
230 if (sscanf (env_var_str, "%u", &sb) != 1)
236 else if (sb < LDP_SID_BIT_MIN)
243 " (%d)! sid bit value %d (0x%x)", sb, env_var_str,
246 else if (sb > LDP_SID_BIT_MAX)
253 " (%d)! sid bit value %d (0x%x)", sb, env_var_str,
258 ldp->vlsh_bit_val = (1 << sb);
262 LDP_ENV_SID_BIT "! sid bit value %d (0x%x)", sb,
/vpp/src/vppinfra/
H A Dasm_mips.h49 _(sb) _(sh) _(swl) _(sw) _(sdl) _(sdr) _(swr) _(cache) \

Completed in 14 milliseconds