27 #define ID_LLDP_INIT 0
28 #define ID_LLDP_EXIT 1
29 #define ID_LLDP_START 2
30 #define ID_LLDP_STOP 3
31 #define ID_LLDP_TIMER 4
32 #define ID_LLDP_LLDPDU 5
35 #define ID_LLDP_SET_TIME_CONFIG 6
36 #define ID_LLDP_GET_TIME_CONFIG 7
37 #define ID_LLDP_SET_PORT_CONFIG 8
38 #define ID_LLDP_GET_PORT_CONFIG 9
39 #define ID_LLDP_SET_SYSTEM_CONFIG 10
40 #define ID_LLDP_GET_SYSTEM_CONFIG 11
41 #define ID_LLDP_SET_ADDRESS_MGT 12
42 #define ID_LLDP_GET_ADDRESS_MGT 13
43 #define ID_LLDP_SET_DESCRIPTION 14
44 #define ID_LLDP_GET_DESCRIPTION 15
47 #define ID_LLDP_GET_PORT_SYS_LIST 16
48 #define ID_LLDP_GET_PORT_REMOTE_INFO 17
49 #define ID_LLDP_GET_PORT_REMOTE_ADDR_MGT_LIST 18
50 #define ID_LLDP_GET_PORT_REMOTE_ADDR_MGT 19
51 #define ID_LLDP_GET_REMOTE_UNKNOWN_TLV_LIST 20
52 #define ID_LLDP_GET_REMOTE_UNKNOWN_TLV 21
53 #define ID_LLDP_GET_REMOTE_ORGANIZATION_LIST 22
54 #define ID_LLDP_GET_REMOTE_ORGANIZATION 23
58 #define ID_LLDP_PN_SET_TX_ENABLE 24
59 #define ID_LLDP_PN_GET_TX_ENABLE 25
60 #define ID_LLDP_PN_SET_PORT_STATUS 26
61 #define ID_LLDP_PN_GET_PORT_STATUS 27
62 #define ID_LLDP_PN_SET_CHASSIS_MAC 28
63 #define ID_LLDP_PN_GET_CHASSIS_MAC 29
64 #define ID_LLDP_PN_SET_MRP 30
65 #define ID_LLDP_PN_GET_MRP 31
68 #define ID_LLDP_PN_GET_REMOTE_PORT_STATUS 32
69 #define ID_LLDP_PN_GET_REMOTE_CHASSIS_MAC 33
70 #define ID_LLDP_PN_GET_REMOTE_MRP 34
74 #define ID_LLDP_8023_SET_TX_ENABLE 35
75 #define ID_LLDP_8023_GET_TX_ENABLE 36
76 #define ID_LLDP_8023_SET_AUTO_NEG 37
77 #define ID_LLDP_8023_GET_AUTO_NEG 38
80 #define ID_LLDP_802_GET_REMOTE_AUTO_NEG 39
84 #define ID_LLDP_RX_STAT 40
85 #define ID_LLDP_TX_STAT 41
88 #define ID_LLDP_MAX 42
93 APP_WORD lldp_task(APP_LPVOID pStart);
95 APP_DWORD APP_FAR lldp_init (
LPST_MSG* ppMsg);
96 APP_DWORD APP_FAR lldp_exit (
LPST_MSG* ppMsg);
97 APP_DWORD APP_FAR lldp_start (
LPST_MSG* ppMsg);
98 APP_DWORD APP_FAR lldp_stop (
LPST_MSG* ppMsg);
99 APP_DWORD APP_FAR lldp_timer (
LPST_MSG* ppMsg);
100 APP_DWORD APP_FAR lldp_lldpdu (
LPST_MSG* ppMsg);
103 APP_DWORD APP_FAR lldp_settimeconfig (
LPST_MSG* ppMsg);
104 APP_DWORD APP_FAR lldp_gettimeconfig (
LPST_MSG* ppMsg);
105 APP_DWORD APP_FAR lldp_setportconfig (
LPST_MSG* ppMsg);
106 APP_DWORD APP_FAR lldp_getportconfig (
LPST_MSG* ppMsg);
107 APP_DWORD APP_FAR lldp_setsystemconfig (
LPST_MSG* ppMsg);
108 APP_DWORD APP_FAR lldp_getsystemconfig (
LPST_MSG* ppMsg);
109 APP_DWORD APP_FAR lldp_setaddressmgt (
LPST_MSG* ppMsg);
110 APP_DWORD APP_FAR lldp_getaddressmgt (
LPST_MSG* ppMsg);
111 APP_DWORD APP_FAR lldp_setdescription (
LPST_MSG* ppMsg);
112 APP_DWORD APP_FAR lldp_getdescription (
LPST_MSG* ppMsg);
113 APP_DWORD APP_FAR lldp_getportlist (
LPST_MSG* ppMsg);
114 APP_DWORD APP_FAR lldp_getportremoteinfo (
LPST_MSG* ppMsg);
115 APP_DWORD APP_FAR lldp_getportremoteaddrmgtlist (
LPST_MSG* ppMsg);
116 APP_DWORD APP_FAR lldp_getportremoteaddrmgt (
LPST_MSG* ppMsg);
117 APP_DWORD APP_FAR lldp_getremoteunknowntlvlist (
LPST_MSG* ppMsg);
118 APP_DWORD APP_FAR lldp_getremoteunknowntlv (
LPST_MSG* ppMsg);
119 APP_DWORD APP_FAR lldp_getremoteorganizationlist(
LPST_MSG* ppMsg);
120 APP_DWORD APP_FAR lldp_getremoteorganization (
LPST_MSG* ppMsg);
121 APP_DWORD APP_FAR lldp_pnsettxenable (
LPST_MSG* ppMsg);
122 APP_DWORD APP_FAR lldp_pngettxenable (
LPST_MSG* ppMsg);
123 APP_DWORD APP_FAR lldp_pnsetportstatus (
LPST_MSG* ppMsg);
124 APP_DWORD APP_FAR lldp_pngetportstatus (
LPST_MSG* ppMsg);
125 APP_DWORD APP_FAR lldp_pnsetchassismac (
LPST_MSG* ppMsg);
126 APP_DWORD APP_FAR lldp_pngetchassismac (
LPST_MSG* ppMsg);
127 APP_DWORD APP_FAR lldp_pnsetmrp (
LPST_MSG* ppMsg);
128 APP_DWORD APP_FAR lldp_pngetmrp (
LPST_MSG* ppMsg);
129 APP_DWORD APP_FAR lldp_pngetremoteportstatus (
LPST_MSG* ppMsg);
130 APP_DWORD APP_FAR lldp_pngetremotechassismac (
LPST_MSG* ppMsg);
131 APP_DWORD APP_FAR lldp_pngetremotemrp (
LPST_MSG* ppMsg);
132 APP_DWORD APP_FAR lldp_8023settxenable(
LPST_MSG* ppMsg);
133 APP_DWORD APP_FAR lldp_8023gettxenable(
LPST_MSG* ppMsg);
134 APP_DWORD APP_FAR lldp_8023setautoneg (
LPST_MSG* ppMsg);
135 APP_DWORD APP_FAR lldp_8023getautoneg (
LPST_MSG* ppMsg);
136 APP_DWORD APP_FAR lldp_8023getremoteautoneg (
LPST_MSG* ppMsg);
137 APP_DWORD APP_FAR lldp_getrxstat (
LPST_MSG* ppMsg);
138 APP_DWORD APP_FAR lldp_gettxstat (
LPST_MSG* ppMsg);
142 APP_WORD wCheckMinMax(APP_WORD wValue, APP_WORD wMinValue, APP_WORD wMaxValue);
143 APP_WORD UpdateLocalPort(APP_BYTE byPortIndex, APP_BYTE byAdminStatus, APP_BOOL bLLDPPortEnabled, APP_LPWORD lpwStatus);
Definition: message.h:1163