mikroSDK Reference Manual
lldp_tx_fsm.h
Go to the documentation of this file.
1
31#ifndef _LLDP_TX_FSM_H
32#define _LLDP_TX_FSM_H
33
34//Dependencies
35#include "core/net.h"
36#include "lldp/lldp.h"
37
38//C++ guard
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43
48typedef enum
49{
50 LLDP_STATE_TX_LLDP_INITIALIZE = 0,
51 LLDP_STATE_TX_IDLE = 1,
52 LLDP_STATE_TX_SHUTDOWN_FRAME = 2,
53 LLDP_STATE_TX_INFO_FRAME = 3
55
56
57//LLDP related functions
58void lldpInitTxFsm(LldpPortEntry *port);
59void lldpTxFsm(LldpPortEntry *port);
60void lldpChangeTxState(LldpPortEntry *port, LldpTxState newState);
61
62//C++ guard
63#ifdef __cplusplus
64}
65#endif
66
67#endif
LLDP (Link Layer Discovery Protocol)
LldpTxState
LLDP transmit states.
Definition lldp_tx_fsm.h:49
TCP/IP stack core.