You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to implement filters for IP network masks, and it seems that bitwise AND or OR operators are not supported. It came as a surprise, since I think this should be relatively straightforward to implement (new "&" and "|" bitwise operators) and would be a valuable feature.
Is it already implemented and I got it wrong? Otherwise, is there a workaround, besides doing it in userspace? I'd be happy to work on a PR if needed.
Great project, congratulations anyway!
The text was updated successfully, but these errors were encountered:
I see that this was suggested in issue #52 (comment):
Would be nice if we could get bitwise operations in the filter language &, |, ^, ~, at minimum bitwise and would be super useful and far more efficient and and uniformly distributed.
No, bitwise or other operators are not supported, and I agree this would be a nice addition to the filter language. I can keep this open as a feature request, but it would take some effort to implement, so might not added for a while.
I was trying to implement filters for IP network masks, and it seems that bitwise AND or OR operators are not supported. It came as a surprise, since I think this should be relatively straightforward to implement (new "&" and "|" bitwise operators) and would be a valuable feature.
Is it already implemented and I got it wrong? Otherwise, is there a workaround, besides doing it in userspace? I'd be happy to work on a PR if needed.
Great project, congratulations anyway!
The text was updated successfully, but these errors were encountered: