MCPcopy Create free account
hub / github.com/F-Stack/f-stack / tcp_log_grow_tlb

Function tcp_log_grow_tlb

freebsd/netinet/tcp_log_buf.c:498–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

496#define RECHECK_INP() RECHECK_INP_CLEAN(/* noop */)
497
498static void
499tcp_log_grow_tlb(char *tlb_id, struct tcpcb *tp)
500{
501
502 INP_WLOCK_ASSERT(tp->t_inpcb);
503
504#ifdef STATS
505 if (V_tcp_perconn_stats_enable == 2 && tp->t_stats == NULL)
506 (void)tcp_stats_sample_rollthedice(tp, tlb_id, strlen(tlb_id));
507#endif
508}
509
510static void
511tcp_log_increment_reqcnt(struct tcp_log_id_bucket *tlb)

Callers 1

tcp_log_set_idFunction · 0.85

Calls 1

Tested by

no test coverage detected