<font><font face="arial,helvetica,sans-serif">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. <br>
<br>However, I have already used "/" and "*" to manually calculate the bytes out from a field. So far so good. </font></font><br><br><div class="gmail_quote">On Tue, Dec 20, 2011 at 10:17 PM, Vern Paxson <span dir="ltr"><<a href="mailto:vern@icir.org">vern@icir.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> I am wondering whether there is bitwise-And, bitwise-Or or even<br>
> bitwise-exclusiveOr operation in bro's script. I use "&" for bitwise-And,<br>
> but it generates syntax errors.<br>
<br>
</div>Not available. Can you explain why you need it?<br>
<span class="HOEnZb"><font color="#888888"><br>
Vern<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Hui Lin<br>Research Assistant<br>DEPEND Research Group, ECE Department<br>University of Illinois at Urbana-Champaign<br><a href="mailto:hlin33@illinois.edu" target="_blank">hlin33@illinois.edu</a><br>