(v netip.Prefix, length uint32)
| 63 | } |
| 64 | |
| 65 | func NewConstNet(v netip.Prefix, length uint32) *Const { |
| 66 | vec := NewNet([]netip.Prefix{v}) |
| 67 | return &Const{vec, length} |
| 68 | } |
| 69 | func NewConstType(v []byte, length uint32) *Const { |
| 70 | vec := NewTypeValue(newBytesTableWithValue(v)) |
| 71 | return &Const{vec, length} |
no test coverage detected