Skip to content

Commit

Permalink
add comment with tc opts values origin
Browse files Browse the repository at this point in the history
  • Loading branch information
geyslan committed Apr 9, 2024
1 parent 330f45e commit 282d443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selftest/tc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func main() {
os.Exit(-1)
}

var tcOpts bpf.TcOpts
var tcOpts bpf.TcOpts // https://elixir.bootlin.com/linux/v6.8.4/source/tools/testing/selftests/bpf/prog_tests/tc_bpf.c#L26
tcOpts.ProgFd = int(tcProg.GetFd())
tcOpts.Handle = 1
tcOpts.Priority = 1
Expand Down

0 comments on commit 282d443

Please sign in to comment.