MCPcopy Create free account
hub / github.com/google/nftables / CounterObj

Struct CounterObj

counter.go:23–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21)
22
23type CounterObj struct {
24 Table *Table
25 Name string // e.g. “fwded”
26
27 Bytes uint64
28 Packets uint64
29}
30
31func (c *CounterObj) unmarshal(ad *netlink.AttributeDecoder) error {
32 for ad.Next() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected