MCPcopy Create free account
hub / github.com/brimdata/super / errCIDRRange

Function errCIDRRange

runtime/vam/expr/function/networkof.go:197–200  ·  view source on GitHub ↗
(sctx *super.Context, ipvec, maskvec vector.Any)

Source from the content-addressed store, hash-verified

195}
196
197func errCIDRRange(sctx *super.Context, ipvec, maskvec vector.Any) vector.Any {
198 vec := addressAndMask(sctx, ipvec, maskvec)
199 return vector.NewWrappedError(sctx, "network_of: CIDR bit count out of range", vec)
200}
201
202func errNotIP4(sctx *super.Context, vec vector.Any) vector.Any {
203 return vector.NewWrappedError(sctx, "network_of: not an IPv4 address", vec)

Callers 1

intMaskMethod · 0.85

Calls 2

NewWrappedErrorFunction · 0.92
addressAndMaskFunction · 0.70

Tested by

no test coverage detected