NetSim Source Code Help
Loading...
Searching...
No Matches
Ethernet_enum.h
Go to the documentation of this file.
1/************************************************************************************
2* Copyright (C) 2020
3* TETCOS, Bangalore. India *
4
5* Tetcos owns the intellectual property rights in the Product and its content. *
6* The copying, redistribution, reselling or publication of any or all of the *
7* Product or its content without express prior written consent of Tetcos is *
8* prohibited. Ownership and / or any other right relating to the software and all *
9* intellectual property rights therein shall remain at all times with Tetcos. *
10* Author: Shashi Kant Suman *
11* ---------------------------------------------------------------------------------*/
12#include "EnumString.h"
13
14BEGIN_ENUM(Ethernet_Subevent)
15{
17 DECL_ENUM_ELEMENT(ETHERNET_TIMEOUT2),
18 DECL_ENUM_ELEMENT(ETH_IF_UP),
19}
20#pragma warning(disable:4028)
21END_ENUM(Ethernet_Subevent);
22#pragma warning(default:4028)
23
#define DECL_ENUM_ELEMENT(element)
Definition: EnumString.h:8
#define END_ENUM(ENUM_NAME)
Definition: EnumString.h:11
#define DECL_ENUM_ELEMENT_WITH_VAL(element, val)
Definition: EnumString.h:9
#define BEGIN_ENUM(ENUM_NAME)
Definition: EnumString.h:10
@ MAC_PROTOCOL_IEEE802_3
Definition: Stack.h:213