No subject


Thu Nov 23 16:34:03 EST 2017


case BT_AND: if ((value & btd->cmp_value) > 0)

Which means Keith is correct.. It is a bitwise AND operator.

There is also an undocumented operator for bitwise OR that is the ^
character.

Cheers,
Jeff

-----Original Message-----
From: snort-sigs-admin at lists.sourceforge.net
[mailto:snort-sigs-admin at lists.sourceforge.net] On Behalf Of Keith W.
McCammon
Sent: Thursday, July 29, 2004 4:03 PM
To: snort-sigs at lists.sourceforge.net
Subject: Re: [Snort-sigs] What is the & operator in byte_test for?

Bitwise AND operator?  Although I'm pretty much guessing.  Never had
occassion to use it...

On Thu, 29 Jul 2004 12:16:01 -0700 (PDT), Joseph Gama
<josephgama at ...144...> wrote:
> Hello!
> 
> I couldn't find any documentation explaining what the
> & operator in byte_test does. Does anyone know the
> answer?
> 
> Thank you!
> 
> Peace,
> 
> Joseph Gama
> 
> _______________________________
> Do you Yahoo!?
> Express yourself with Y! Messenger! Free. Download now.
> http://messenger.yahoo.com
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> _______________________________________________
> Snort-sigs mailing list
> Snort-sigs at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/snort-sigs
>


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Snort-sigs mailing list
Snort-sigs at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snort-sigs






More information about the Snort-sigs mailing list