Skip to content

Commit

Permalink
add doc string
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Lehner <dev@der-flo.net>
  • Loading branch information
florianl committed Dec 21, 2024
1 parent 07638a4 commit a1f2481
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions m_ctinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const (
tcaCtInfoStatsCpMarkSet
)

// CtInfo contains attributes of the ctinfo discipline
type CtInfo struct {
Tm *Tcft
Act *CtInfoAct
Expand All @@ -32,6 +33,7 @@ type CtInfo struct {
StatsCpMarkSet *uint64
}

// CtInfoAct as tc_ctinfo from include/uapi/linux/tc_act/tc_ctinfo.h
type CtInfoAct struct {
Index uint32
Capab uint32
Expand Down

0 comments on commit a1f2481

Please sign in to comment.