Dynset represent a rule dynamically adding or updating a set or a map based on an incoming packet.
| 33 | |
| 34 | // Dynset represent a rule dynamically adding or updating a set or a map based on an incoming packet. |
| 35 | type Dynset struct { |
| 36 | SrcRegKey uint32 |
| 37 | SrcRegData uint32 |
| 38 | SetID uint32 |
| 39 | SetName string |
| 40 | Operation uint32 |
| 41 | Timeout time.Duration |
| 42 | Invert bool |
| 43 | Exprs []Any |
| 44 | } |
| 45 | |
| 46 | func (e *Dynset) marshal(fam byte) ([]byte, error) { |
| 47 | opData, err := e.marshalData(fam) |
nothing calls this directly
no outgoing calls
no test coverage detected