ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] bitmask handling in wireshark

From: Dirk Jagdmann <doj@xxxxxxxxx>
Date: Tue, 28 Dec 2010 23:58:57 -0800
> #define MYPROTO_FLAG_SAMPLING 0xf0

A better name would be
#define MYPROTO_MASK_SAMPLING 0xf0
since it is a bitmask you're defining here.

-- 
---> Dirk Jagdmann
----> http://cubic.org/~doj
-----> http://llg.cubic.org