Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/tcp_cong_tuner.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@

#include "tcp_cong_tuner.h"

const char bbr[4] = { 'b', 'b', 'r', '\0' };

struct remote_host {
__u64 last_retransmit;
__u64 retransmits;
Expand All @@ -40,7 +42,6 @@ static __always_inline bool
retransmit_threshold(struct remote_host *remote_host,
u32 segs_out, u32 total_retrans)
{
const char bbr[CONG_MAXNAME] = "bbr";
__u64 now;

if (!remote_host)
Expand Down