enum tad_eth_recv_mode

Overview

Receive mode flags. More…

#include <tad_common.h>

enum tad_eth_recv_mode {
    TAD_ETH_RECV_HOST       = 0x01,
    TAD_ETH_RECV_BCAST      = 0x02,
    TAD_ETH_RECV_MCAST      = 0x04,
    TAD_ETH_RECV_OTHER      = 0x08,
    TAD_ETH_RECV_OUT        = 0x10,
    TAD_ETH_RECV_NO_PROMISC = 0x100,
};

Detailed Documentation

Receive mode flags.

There is no good place to define these flags, since they are common for Test Engine and Test Agent side and common for Ethernet and PCAP CSAPs.

Enum Values

TAD_ETH_RECV_HOST

To us

TAD_ETH_RECV_BCAST

To all

TAD_ETH_RECV_MCAST

To multicast group

TAD_ETH_RECV_OTHER

To someone else

TAD_ETH_RECV_OUT

Outgoing of any type

TAD_ETH_RECV_NO_PROMISC

Do not enter promiscuous mode even if TAD_ETH_RECV_OTHER is given