I am bit-wise logical operations in Bro script?

Hi,

I am wondering whether there is bitwise-And, bitwise-Or or even bitwise-exclusiveOr operation in bro’s script. I use “&” for bitwise-And, but it generates syntax errors.

Hui

I am wondering whether there is bitwise-And, bitwise-Or or even
bitwise-exclusiveOr operation in bro's script. I use "&" for bitwise-And,
but it generates syntax errors.

Not available. Can you explain why you need it?

    Vern

In the DNP3 protocol analyzer that I am writing, I need to check some certain byte value (or even single bit) within the parsed field. It will be easy to do that if we have bitwise logical operator.

However, I have already used “/” and “*” to manually calculate the bytes out from a field. So far so good.