Packet Sniffer SDK DLL Edition

Constants Enumerations :: HNMacFilter

 Previous Next

HNMacFilter contains the constants indicating the MAC filter type.

Syntax:

const mfBroadcast = 1; 
const mfOwnerRecv = 2; 
const mfOwnerAll  = 4; 
const mfAll       = 8;
enum HNMacFilter
{
   mfBroadcast = 1,
   mfOwnerRecv = 2,
   mfOwnerAll  = 4,
   mfAll       = 8
};

Values:

mfBroadcast

Pass only packets with broadcast MAC addresses.

mfOwnerRecv

Pass only received packets, which contain a local adapter MAC address.

mfOwnerAll

Pass all sent and received packets, which contain a local adapter MAC address.

mfAll

Pass all packets, which are somehow registered by the adapter.

See also:HNAdapter, AdpGetMacFilter, AdpSetMacFilter