Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.12.0.1
openapi_lldp.h
Go to the documentation of this file.
1 
9 /*********************************************************************
10 *
11 * Copyright 2016-2023 Broadcom.
12 *
13 * Licensed under the Apache License, Version 2.0 (the "License");
14 * you may not use this file except in compliance with the License.
15 * You may obtain a copy of the License at
16 *
17 * http://www.apache.org/licenses/LICENSE-2.0
18 *
19 * Unless required by applicable law or agreed to in writing, software
20 * distributed under the License is distributed on an "AS IS" BASIS,
21 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
22 * See the License for the specific language governing permissions and
23 * limitations under the License.
24 *
25 **********************************************************************
26 *
27 * @filename openapi_lldp.h
28 *
29 * @purpose LLDP Configuration and Status
30 *
31 * @component OpEN
32 *
33 * @create 10/10/2012
34 *
35 * @end
36 *
37 **********************************************************************/
38 #ifndef OPENAPI_LLDP_H_INCLUDED
39 #define OPENAPI_LLDP_H_INCLUDED
40 
41 #include "openapi_common.h"
42 
43 #define OPEN_LLDP_MED_CAP_CAPABILITIES_BITMASK 0x01
44 #define OPEN_LLDP_MED_CAP_NETWORKPOLICY_BITMASK 0x02
45 #define OPEN_LLDP_MED_CAP_LOCATION_BITMASK 0x04
46 #define OPEN_LLDP_MED_CAP_EXT_PSE_BITMASK 0x08
47 #define OPEN_LLDP_MED_CAP_EXT_PD_BITMASK 0x10
48 #define OPEN_LLDP_MED_CAP_INVENTORY_BITMASK 0x20
49 
50 typedef struct
51 {
52  unsigned char bitmap[2];
54 
55 typedef enum
56 {
65 
66 typedef enum {
75 
76 typedef enum {
84 
85 typedef enum {
91 
92 typedef enum
93 {
104 
105 typedef enum
106 {
112 
113 typedef enum {
118 
119 #define OPEN_LLDP_TX_INTERVAL_MIN 5
120 #define OPEN_LLDP_TX_INTERVAL_MAX 32768
121 #define OPEN_LLDP_TX_HOLD_MULTIPLIER_MIN 2
122 #define OPEN_LLDP_TX_HOLD_MULTIPLIER_MAX 10
123 #define OPEN_LLDP_REINIT_DELAY_MIN 1
124 #define OPEN_LLDP_REINIT_DELAY_MAX 10
125 #define OPEN_LLDP_NOTIFY_INTERVAL_MIN 5
126 #define OPEN_LLDP_NOTIFY_INTERVAL_MAX 3600
127 #define OPEN_LLDP_MED_FASTSTART_REPEAT_COUNT_MIN 1
128 #define OPEN_LLDP_MED_FASTSTART_REPEAT_COUNT_MAX 10
129 
130 #define OPEN_LLDP_AUTO_NEG_ADVERTIZED_CAPABILITY_SIZE 3
131 #define OPEN_LLDP_STRING_SIZE 32
132 #define OPEN_LLDP_LOCATION_INFO_STRING_SIZE 256
133 #define OPEN_LLDP_UNKNOWN_TLV_INFO_SIZE_MAX 511
134 #define OPEN_LLDP_CHASSIS_ID_SUBTYPE_STRING_SIZE 64
135 /*****************************************************************/
151  uint32_t *strLen);
152 
153 /*****************************************************************/
173  uint32_t ifNum,
174  OPEN_CONTROL_t lldpTxMode);
175 
176 /*****************************************************************/
194  uint32_t ifNum,
195  OPEN_CONTROL_t *lldpTxMode);
196 
197 /*****************************************************************/
216  uint32_t ifNum,
217  OPEN_CONTROL_t lldpRxMode);
218 
219 /*****************************************************************/
236  uint32_t ifNum,
237  OPEN_CONTROL_t *lldpRxMode);
238 
239 /*****************************************************************/
258  uint32_t ifNum,
259  OPEN_LLDP_TLV_TYPE_t tlvType,
260  OPEN_CONTROL_t tlvTransmitMode);
261 
262 /*****************************************************************/
279  uint32_t ifNum,
280  OPEN_LLDP_TLV_TYPE_t tlvType,
281  OPEN_CONTROL_t *tlvTransmitMode);
282 
283 /*****************************************************************/
302  uint32_t ifNum,
303  OPEN_CONTROL_t lldpNotMode);
304 
305 /*****************************************************************/
321  uint32_t ifNum,
322  OPEN_CONTROL_t *lldpNotMode);
323 
324 /*****************************************************************/
338  uint32_t ifNum,
339  uint32_t *nextIfNum);
340 
341 /*****************************************************************/
358  uint32_t ifNum,
359  uint32_t *remIndex,
360  uint32_t *timeStamp);
361 
362 /*****************************************************************/
387  uint32_t ifNum,
388  uint32_t remIndex,
389  uint32_t timeStamp,
390  OPEN_LLDP_CHASSIS_ID_SUBTYPE_t *chassisIdSubtype,
391  open_buffdesc *chassisId);
392 
393 /*****************************************************************/
418  uint32_t ifNum,
419  uint32_t remIndex,
420  uint32_t timeStamp,
421  OPEN_LLDP_PORT_ID_SUBTYPE_t *portIdSubtype,
422  open_buffdesc *portId);
423 
424 /*****************************************************************/
448  uint32_t ifNum,
449  uint32_t remIndex,
450  uint32_t timeStamp,
451  open_buffdesc *systemName);
452 
453 /*****************************************************************/
477  uint32_t ifNum,
478  uint32_t remIndex,
479  uint32_t timeStamp,
480  open_buffdesc *systemDesc);
481 
482 /*****************************************************************/
506  uint32_t ifNum,
507  uint32_t remIndex,
508  uint32_t timeStamp,
509  open_buffdesc *portDesc);
510 
511 /*****************************************************************/
535  uint32_t ifNum,
536  uint32_t remIndex,
537  uint32_t timeStamp,
538  open_buffdesc *sysCapSupp);
539 
540 /*****************************************************************/
564  uint32_t ifNum,
565  uint32_t remIndex,
566  uint32_t timeStamp,
567  open_buffdesc *sysCapEnabled);
568 
569 /*****************************************************************/
598  uint32_t ifNum,
599  uint32_t remIndex,
600  uint32_t timeStamp,
601  OPEN_LLDP_IANA_ADDR_FAMILY_t *addressFamily,
602  open_buffdesc *address,
603  uint8_t *addrLen);
604 
605 /*****************************************************************/
626  uint32_t ifNum,
627  uint32_t remIndex,
628  uint32_t timeStamp,
629  uint32_t *ttl);
630 
631 /*****************************************************************/
654  uint32_t ifNum,
655  OPEN_LLDP_CHASSIS_ID_SUBTYPE_t *chassisIdSubtype,
656  open_buffdesc *chassisId);
657 
658 /*****************************************************************/
681  uint32_t ifNum,
682  OPEN_LLDP_PORT_ID_SUBTYPE_t *portIdSubtype,
683  open_buffdesc *portId);
684 
685 /*****************************************************************/
707  uint32_t ifNum,
708  open_buffdesc *systemName);
709 
710 /*****************************************************************/
732  uint32_t ifNum,
733  open_buffdesc *systemDesc);
734 
735 /*****************************************************************/
757  uint32_t ifNum,
758  open_buffdesc *portDesc);
759 
760 /*****************************************************************/
782  uint32_t ifNum,
783  open_buffdesc *sysCapSupp);
784 
785 /*****************************************************************/
807  uint32_t ifNum,
808  open_buffdesc *sysCapEnabled);
809 
810 /*****************************************************************/
833  uint32_t ifNum,
834  OPEN_LLDP_IANA_ADDR_FAMILY_t *addressFamily,
835  open_buffdesc *address);
836 
837 /*****************************************************************/
854  uint32_t intf,
855  OPEN_CONTROL_t *mode);
856 
857 /*****************************************************************/
878  uint32_t intf,
879  OPEN_CONTROL_t mode);
880 
881 /*****************************************************************/
898  uint32_t intf,
899  OPEN_BOOL_t *mode);
900 
901 /*****************************************************************/
922  uint32_t intf,
923  OPEN_BOOL_t mode);
924 
925 /*****************************************************************/
948  uint32_t intf,
950 
951 /*****************************************************************/
978  uint32_t intf,
980 
981 /*****************************************************************/
1009  uint32_t intf, uint32_t remIndex, uint32_t timeStamp,
1010  OPEN_LLDP_MED_CAPABILITIES_t *supportedCapabilities,
1011  OPEN_LLDP_MED_CAPABILITIES_t *enabledCapabilities);
1012 
1013 /*****************************************************************/
1032  uint32_t intf, uint32_t remIndex, uint32_t timeStamp,
1033  uint32_t *deviceClass);
1034 
1035 /*****************************************************************/
1049  uint32_t *size);
1050 
1051 /*****************************************************************/
1073  uint32_t intf, uint32_t remIndex, uint32_t timeStamp,
1074  open_buffdesc *modelName);
1075 
1076 /*************************************************************************/
1090 open_error_t openapiLldpTxIntervalGet(openapiClientHandle_t *client_handle, uint32_t *interval);
1091 
1092 /*************************************************************************/
1107 open_error_t openapiLldpTxIntervalSet(openapiClientHandle_t *client_handle, uint32_t interval);
1108 
1109 /*************************************************************************/
1123 open_error_t openapiLldpTxHoldGet(openapiClientHandle_t *client_handle, uint32_t *holdCount);
1124 
1125 /*************************************************************************/
1140 open_error_t openapiLldpTxHoldSet(openapiClientHandle_t *client_handle, uint32_t holdCount);
1141 
1142 /*************************************************************************/
1156 open_error_t openapiLldpTxReinitDelayGet(openapiClientHandle_t *client_handle, uint32_t *delay);
1157 
1158 /*************************************************************************/
1173 open_error_t openapiLldpTxReinitDelaySet(openapiClientHandle_t *client_handle, uint32_t delay);
1174 
1175 /*************************************************************************/
1190  uint32_t *interval);
1191 
1192 /*************************************************************************/
1208  uint32_t interval);
1209 
1210 /*************************************************************************/
1225  uint32_t *count);
1226 
1227 /*************************************************************************/
1243  uint32_t count);
1244 
1245 /*************************************************************************/
1261  uint32_t ifNum, OPEN_BOOL_t *mode);
1262 
1263 /*************************************************************************/
1280  uint32_t ifNum, OPEN_BOOL_t mode);
1281 
1282 /*************************************************************************/
1299  uint32_t ifNum,
1300  OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType,
1301  uint32_t *vlanId);
1302 
1303 /*************************************************************************/
1320  uint32_t ifNum,
1321  OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType,
1322  OPEN_BOOL_t *taggedStatus);
1323 
1324 /*************************************************************************/
1341  uint32_t ifNum,
1342  OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType,
1343  uint32_t *priority);
1344 
1345 /*************************************************************************/
1362  uint32_t ifNum,
1363  OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType,
1364  uint32_t *dscp);
1365 
1366 /*************************************************************************/
1381  uint32_t *ifNum);
1382 
1383 /*************************************************************************/
1399  uint32_t ifNum, uint32_t *nextIfNum);
1400 
1401 /*************************************************************************/
1421  uint32_t ifNum,
1422  uint32_t remIndex,
1423  uint32_t timestamp,
1424  OPEN_BOOL_t *isCapable);
1425 
1426 /*************************************************************************/
1446  uint32_t ifNum,
1447  uint32_t remIndex,
1448  uint32_t timestamp,
1449  OPEN_BOOL_t *isEnabled);
1450 
1451 /*************************************************************************/
1471  uint32_t ifNum,
1472  uint32_t remIndex,
1473  uint32_t timestamp,
1474  open_buffdesc *advrtCap);
1475 
1476 /*************************************************************************/
1495  uint32_t ifNum,
1496  uint32_t remIndex,
1497  uint32_t timestamp,
1498  uint32_t *type);
1499 
1500 /*************************************************************************/
1516  uint32_t mauType,
1517  open_buffdesc *mauString);
1518 
1519 /*************************************************************************/
1538  uint32_t ifNum, uint32_t remIndex,
1539  uint32_t timestamp,
1540  open_buffdesc *hardwareRev);
1541 
1542 /*************************************************************************/
1561  uint32_t ifNum, uint32_t remIndex,
1562  uint32_t timestamp,
1563  open_buffdesc *firmwareRev);
1564 
1565 /*************************************************************************/
1584  uint32_t ifNum, uint32_t remIndex,
1585  uint32_t timestamp,
1586  open_buffdesc *softwareRev);
1587 
1588 /*************************************************************************/
1607  uint32_t ifNum, uint32_t remIndex,
1608  uint32_t timestamp,
1609  open_buffdesc *serialNum);
1610 
1611 /*************************************************************************/
1630  uint32_t ifNum, uint32_t remIndex,
1631  uint32_t timestamp,
1632  open_buffdesc *assetId);
1633 
1634 /*************************************************************************/
1653  uint32_t ifNum, uint32_t remIndex,
1654  uint32_t timestamp,
1655  uint32_t *deviceType);
1656 
1657 /*************************************************************************/
1676  uint32_t ifNum, uint32_t remIndex,
1677  uint32_t timestamp,
1678  uint32_t *powerAv);
1679 
1680 /*************************************************************************/
1699  uint32_t ifNum, uint32_t remIndex,
1700  uint32_t timestamp,
1701  uint32_t *powerSrcType);
1702 
1703 /*************************************************************************/
1722  uint32_t ifNum, uint32_t remIndex,
1723  uint32_t timestamp,
1724  uint32_t *powerPri);
1725 
1726 /*************************************************************************/
1747  uint32_t ifNum, uint32_t remIndex,
1748  uint32_t timestamp,
1750  open_buffdesc *locInfo);
1751 
1752 /*************************************************************************/
1772  uint32_t ifNum,
1773  uint32_t remIndex,
1774  uint32_t timestamp,
1775  OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType,
1776  uint32_t *vlanId);
1777 
1778 /*************************************************************************/
1798  uint32_t ifNum,
1799  uint32_t remIndex,
1800  uint32_t timestamp,
1801  OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType,
1802  uint32_t *priority);
1803 
1804 /*************************************************************************/
1824  uint32_t ifNum, uint32_t remIndex,
1825  uint32_t timestamp,
1826  OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType,
1827  uint32_t *dscp);
1828 
1829 /*************************************************************************/
1849  uint32_t ifNum,
1850  uint32_t remIndex,
1851  uint32_t timestamp,
1852  OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType,
1853  OPEN_BOOL_t *unknown);
1854 
1855 /*************************************************************************/
1875  uint32_t ifNum,
1876  uint32_t remIndex,
1877  uint32_t timestamp,
1878  OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType,
1879  OPEN_BOOL_t *tagged);
1880 
1881 /*************************************************************************/
1902  uint32_t ifNum, uint32_t remIndex,
1903  uint32_t timestamp,
1904  uint32_t tlvType,
1905  uint32_t *nextTlvType);
1906 
1907 /*************************************************************************/
1927  uint32_t ifNum,
1928  uint32_t remIndex,
1929  uint32_t timestamp,
1930  uint32_t tlvType,
1931  OPEN_BOOL_t *isExists);
1932 
1933 /*************************************************************************/
1953  uint32_t ifNum,
1954  uint32_t remIndex,
1955  uint32_t timestamp,
1956  uint32_t tlvType,
1957  open_buffdesc *info);
1958 
1959 /*************************************************************************/
1978  uint32_t ifNum, uint32_t remIndex,
1979  uint32_t timestamp,
1980  open_buffdesc *mfgName);
1981 
1982 /*************************************************************************/
2001  uint32_t ifNum, uint32_t remIndex,
2002  uint32_t timestamp,
2003  open_buffdesc *modelName);
2004 
2005 /*************************************************************************/
2024  uint32_t ifNum, uint32_t remIndex,
2025  uint32_t timestamp,
2026  uint32_t *powerReq);
2027 
2028 /*************************************************************************/
2047  uint32_t ifNum, uint32_t remIndex,
2048  uint32_t timestamp,
2049  uint32_t *powerSrc);
2050 
2051 /*************************************************************************/
2070  uint32_t ifNum, uint32_t remIndex,
2071  uint32_t timestamp,
2072  uint32_t *powerPri);
2073 
2074 /*************************************************************************/
2095  uint32_t ifNum, uint32_t remIndex,
2096  uint32_t timestamp, uint32_t infoIndex,
2097  open_buffdesc *oui);
2098 
2099 /*************************************************************************/
2119  uint32_t ifNum, uint32_t remIndex,
2120  uint32_t timestamp, uint32_t infoIndex,
2121  uint32_t *subtype);
2122 
2123 /*************************************************************************/
2140  open_buffdesc *subtypeStr);
2141 
2142 /*************************************************************************/
2158  uint32_t subtype,
2159  open_buffdesc *subtypeStr);
2160 
2161 /*****************************************************************/
2195  uint32_t ifNum,
2196  uint32_t remIndex,
2197  uint32_t timeStamp,
2198  OPEN_LLDP_IANA_ADDR_FAMILY_t *addressFamily,
2199  open_buffdesc *address,
2200  uint8_t *addrLen,
2202  uint32_t *intfId);
2203 
2204 /*************************************************************************/
2221  uint32_t ifNum,
2222  OPEN_BOOL_t *isCapable);
2223 
2224 /*************************************************************************/
2240  uint32_t ifNum,
2241  OPEN_BOOL_t *isEnabled);
2242 
2243 /*************************************************************************/
2260  uint32_t ifNum,
2261  open_buffdesc *advrtCap);
2262 
2263 /*************************************************************************/
2279  uint32_t ifNum,
2280  uint32_t *type);
2281 
2282 /*************************************************************************/
2297  uint32_t *deviceClass);
2298 
2299 #endif /* OPENAPI_LLDP_H_INCLUDED */
2300 
open_error_t openapiLldpdot3LocPortAutoNegSupportedGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t *isCapable)
Get the port's auto negotiation capability.
open_error_t openapiLldpTxIntervalGet(openapiClientHandle_t *client_handle, uint32_t *interval)
Gets the 802.1AB global transmit interval.
open_error_t openapiLldpIntfLocalDeviceChassisIdGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_LLDP_CHASSIS_ID_SUBTYPE_t *chassisIdSubtype, open_buffdesc *chassisId)
Gets the LLDP Local Device Chassis Id and Chassis Id Subtype for the specified interface.
open_error_t openapiLldpMedRemoteModelNameGet(openapiClientHandle_t *client_handle, uint32_t intf, uint32_t remIndex, uint32_t timeStamp, open_buffdesc *modelName)
Get the LLDP-MED model name of the remote device.
OPEN_LLDP_IANA_ADDR_FAMILY_t
Definition: openapi_lldp.h:85
System Capabilities TLV.
Definition: openapi_lldp.h:79
open_error_t openapiLldpIntfLocalDeviceSystemNameGet(openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *systemName)
Gets the LLDP Local Device System Name for the specified interface.
open_error_t openapiLldpTxHoldGet(openapiClientHandle_t *client_handle, uint32_t *holdCount)
Gets the 802.1AB global transmit hold muliplier.
OPEN_LLDP_PORT_ID_SUBTYPE_t
Definition: openapi_lldp.h:66
OPEN_LLDP_CHASSIS_ID_SUBTYPE_t
Definition: openapi_lldp.h:55
open_error_t openapiLldpdot3RemPortAutoNegAdvertizedCapGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, open_buffdesc *advrtCap)
Get remote port's auto negotiation advertized capability as a string.
open_error_t openapiLldpdot3RemPortAutoNegOperMauStringGet(openapiClientHandle_t *client_handle, uint32_t mauType, open_buffdesc *mauString)
Get remote port's auto negotiation operational MAU in string format.
Video signaling policy.
Definition: openapi_lldp.h:102
open_error_t openapiLldpRemUnknownTLVInfoGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, uint32_t tlvType, open_buffdesc *info)
Get the TLV info for the specified remote entry.
open_error_t openapiLldpMedIntfModeSet(openapiClientHandle_t *client_handle, uint32_t intf, OPEN_CONTROL_t mode)
Set LLDP-MED administrative mode on valid LLDP interfaces.
open_error_t openapiLldpXMedLocMediaPolicyTaggedGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType, OPEN_BOOL_t *taggedStatus)
Gets the tagged bit associated with a particular policy type.
open_error_t openapiLldpMedIntfModeGet(openapiClientHandle_t *client_handle, uint32_t intf, OPEN_CONTROL_t *mode)
Get the interface LLDP-MED administrative mode.
Streaming video policy.
Definition: openapi_lldp.h:101
open_error_t openapiLldpMedRemSerialNumGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, open_buffdesc *serialNum)
Get remote device's serial number.
open_error_t openapiLldpIntfRemoteDeviceSysCapSuppGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timeStamp, open_buffdesc *sysCapSupp)
Gets the LLDP Remote Device System Capabilities Supported for the specified interface.
open_error_t openapiLldpIntfTxMgmtAddrModeGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t *mode)
Gets the 802.1AB mgmt addr transmit mode for the specified interface.
OPEN_LLDP_MAN_ADDR_IF_SUBTYPE_t
Definition: openapi_lldp.h:113
open_error_t openapiLldpMedRemMediaPolicyTaggedGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType, OPEN_BOOL_t *tagged)
Get the tagged bit associated with a particular policy type.
open_error_t openapiLldpMedRemMediaPolicyUnknownGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType, OPEN_BOOL_t *unknown)
Get the unknown bit associated with a particular policy type.
open_error_t
OPEN uses these enumerators to indicate the error codes.
open_error_t openapiLldpIntfLocalDevicePortIdGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_LLDP_PORT_ID_SUBTYPE_t *portIdSubtype, open_buffdesc *portId)
Gets the LLDP Local Device Port Id and Port Id Subtype for the specified interface.
open_error_t openapiLldpIntfLocalDeviceSysCapSuppGet(openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *sysCapSupp)
Gets the LLDP Local Device System Capabilities Supported for the specified interface.
open_error_t openapiLldpIntfRemoteDeviceMgmtAddressNextGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timeStamp, OPEN_LLDP_IANA_ADDR_FAMILY_t *addressFamily, open_buffdesc *address, uint8_t *addrLen)
Gets the LLDP Remote Device next Management Address for the specified interface.
open_error_t openapiLldpMedRemoteDeviceClassGet(openapiClientHandle_t *client_handle, uint32_t intf, uint32_t remIndex, uint32_t timeStamp, uint32_t *deviceClass)
Get the LLDP-MED device class of the remote device.
open_error_t openapiLldpIntfNextGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *nextIfNum)
Gets the next valid LLDP interface.
open_error_t openapiLldpIntfLocalDevicePortDescGet(openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *portDesc)
Gets the LLDP Local Device Port Description for the specified interface.
open_error_t openapiLldpMedRemHardwareRevGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, open_buffdesc *hardwareRev)
Get remote device's hardware revision.
open_error_t openapiLldpRemOrgDefSubtypeGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, uint32_t infoIndex, uint32_t *subtype)
Get the organizationally defined subtype for specified entry.
open_error_t openapiLldpMedRemSoftwareRevGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, open_buffdesc *softwareRev)
Get remote device's software revision.
open_error_t openapiLldpdot3RemPortAutoNegEnabledGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, OPEN_BOOL_t *isEnabled)
Get remote port's auto negotiation enabled status.
open_error_t openapiLldpRemUnknownTLVEntryNextGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, uint32_t tlvType, uint32_t *nextTlvType)
Get the next unknown TLV entry for the indicated remote data entry.
open_error_t openapiLldpMedRemPoePSEPowerSrcGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, uint32_t *powerSrcType)
Get remote ports PSE power source.
Softphone voice policy.
Definition: openapi_lldp.h:99
open_error_t openapiLldpMedRemPoePSEPowerAvGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, uint32_t *powerAv)
Get remote ports PSE power value in tenths of watts.
System Name TLV.
Definition: openapi_lldp.h:78
open_error_t openapiLldpTxReinitDelayGet(openapiClientHandle_t *client_handle, uint32_t *delay)
Gets the 802.1AB global transmit reinit delay.
open_error_t openapiLldpMedRemMediaPolicyVlanIdGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType, uint32_t *vlanId)
Get the vlan id associated with a particular policy type.
open_error_t openapiLldpdot3LocPortAutoNegOperMauTypeGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *type)
Get port's auto negotiation operational MAU Type.
open_error_t openapiLldpdot3LocPortAutoNegAdvertizedCapGet(openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *advrtCap)
Get port's auto negotiation advertized capability as a string.
open_error_t openapiLldpPortIdSubtypeStringGet(openapiClientHandle_t *client_handle, uint32_t subtype, open_buffdesc *subtypeStr)
Get a string representation for port ID Subtype.
open_error_t openapiLldpRemoteIntfFirstGet(openapiClientHandle_t *client_handle, uint32_t *ifNum)
Get the first interface enable for LLDP receives.
open_error_t openapiLldpIntfRemoteDeviceTTLGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timeStamp, uint32_t *ttl)
Gets the LLDP Remote Device TTL for the specified interface.
open_error_t openapiLldpIntfRemoteDeviceSystemNameGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timeStamp, open_buffdesc *systemName)
Gets the LLDP Remote Device System Name for the specified interface.
open_error_t openapiLldpIntfLocalDeviceMgmtAddressGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_LLDP_IANA_ADDR_FAMILY_t *addressFamily, open_buffdesc *address)
Gets the LLDP Local Device Management Address for the specified interface.
open_error_t openapiLldpIntfRemoteDeviceSystemDescGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timeStamp, open_buffdesc *systemDesc)
Gets the LLDP Remote Device System Description for the specified interface.
open_error_t openapiLldpRemoteIntfNextGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *nextIfNum)
Get the next valid interface enabled for LLDP receives.
open_error_t openapiLldpMedRemLocationInfoGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, OPEN_LLDPXMED_LOCATION_SUBTYPE_t subType, open_buffdesc *locInfo)
Get the location info received on this port for the given location subtype.
OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t
Definition: openapi_lldp.h:92
open_error_t openapiLldpIntfLocalDeviceSystemDescGet(openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *systemDesc)
Gets the LLDP Local Device System Description for the specified interface.
open_error_t openapiLldpRemOrgDefOUIGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, uint32_t infoIndex, open_buffdesc *oui)
Get the organizationally defined OUI for specified entry.
open_error_t openapiLldpIntfRemoteDeviceEntryNextGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timeStamp, OPEN_LLDP_IANA_ADDR_FAMILY_t *addressFamily, open_buffdesc *address, uint8_t *addrLen, OPEN_LLDP_MAN_ADDR_IF_SUBTYPE_t *subType, uint32_t *intfId)
Gets the LLDP Remote Device management address entry details for the specified interface.
open_error_t openapiLldpMedRemFirmwareRevGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, open_buffdesc *firmwareRev)
Get remote device's firmware revision.
open_error_t openapiLldpMgmtStrLenGet(openapiClientHandle_t *client_handle, uint32_t *strLen)
Gets the LLDP Management string length.
open_error_t openapiLldpXMedFastStartRepeatCountGet(openapiClientHandle_t *client_handle, uint32_t *count)
Gets the fast start repeat count.
open_error_t openapiLldpIntfNotificationModeSet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t lldpNotMode)
Sets the LLDP Notification mode for the specified interface.
open_error_t openapiLldpXMedLocMediaPolicyVlanIDGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType, uint32_t *vlanId)
Gets the vlan id associated with a particular policy type.
open_error_t openapiLldpRemUnknownTLVEntryIsExists(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, uint32_t tlvType, OPEN_BOOL_t *isExists)
Determine if unknown TLV entry exists.
OPEN_CONTROL_t
OPEN uses these enumerators to indicate enable or disable for a given config or status parameter...
open_error_t openapiLldpIntfRemoteDeviceNextGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t *remIndex, uint32_t *timeStamp)
Gets the next LLDP Remote Device entry for the specified interface.
open_error_t openapiLldpIntfRemoteDeviceSysCapEnabledGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timeStamp, open_buffdesc *sysCapEnabled)
Gets the LLDP Remote Device System Capabilities Enabled for the specified interface.
open_error_t openapiLldpMedLocDeviceClassGet(openapiClientHandle_t *client_handle, uint32_t *deviceClass)
Get local device's MED Classification.
OPEN_BOOL_t
OPEN uses these enumerators to indicate true or false for a given config or status parameter...
open_error_t openapiLldpXMedLocMediaPolicyDscpGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType, uint32_t *dscp)
Gets the DSCP associated with a particular policy type.
open_error_t openapiLldpMedRemModelNameGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, open_buffdesc *modelName)
Get the remote device's model name.
open_error_t openapiLldpMedIntfTransmitTlvSet(openapiClientHandle_t *client_handle, uint32_t intf, OPEN_LLDP_MED_CAPABILITIES_t *cap)
Set LLDP-MED TLVs for transmision on valid LLDP interfaces.
open_error_t openapiLldpMedRemoteModelNameSizeGet(openapiClientHandle_t *client_handle, uint32_t *size)
Get the size in bytes for the open_buffdesc used to call openapiLldpMedRemoteModelNameGet().
open_error_t openapiLldpChassisIdSubtypeStringGet(openapiClientHandle_t *client_handle, OPEN_LLDP_CHASSIS_ID_SUBTYPE_t subtype, open_buffdesc *subtypeStr)
Get a string representation for Chassis ID Subtype.
open_error_t openapiLldpIntfTransmitModeSet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t lldpTxMode)
Sets LLDP PDU transmit mode on the specified interface.
open_error_t openapiLldpIntfNotificationModeGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t *lldpNotMode)
Gets the LLDP Notification mode for the specified interface.
open_error_t openapiLldpIntfTLVTransmitModeGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_LLDP_TLV_TYPE_t tlvType, OPEN_CONTROL_t *tlvTransmitMode)
Gets the LLDP optional TLVs transmit mode for the specified interface.
OPEN_LLDPXMED_LOCATION_SUBTYPE_t
Definition: openapi_lldp.h:105
open_error_t openapiLldpMedIntfConfigNotificationModeGet(openapiClientHandle_t *client_handle, uint32_t intf, OPEN_BOOL_t *mode)
Get the interface LLDP-MED configuration notification mode.
open_error_t openapiLldpMedRemMediaPolicyDscpGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType, uint32_t *dscp)
Get the DSCP associated with a particular policy type.
open_error_t openapiLldpNotificationIntervalGet(openapiClientHandle_t *client_handle, uint32_t *interval)
Gets the 802.1AB global notification interval limit.
open_error_t openapiLldpIntfRemoteDevicePortDescGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timeStamp, open_buffdesc *portDesc)
Gets the LLDP Remote Device Port Description for the specified interface.
open_error_t openapiLldpIntfRemoteDeviceChassisIdGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timeStamp, OPEN_LLDP_CHASSIS_ID_SUBTYPE_t *chassisIdSubtype, open_buffdesc *chassisId)
Gets the LLDP Remote Device Chassis Id and Chassis Id Subtype for the specified interface.
Video conferencing policy.
Definition: openapi_lldp.h:100
open_error_t openapiLldpIntfReceiveModeSet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t lldpRxMode)
Sets LLDP PDU reception mode on the specified interface.
open_error_t openapiLldpMedRemMfgNameGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, open_buffdesc *mfgName)
Get the remote device's manufacturer's name.
open_error_t openapiLldpTxReinitDelaySet(openapiClientHandle_t *client_handle, uint32_t delay)
Sets the 802.1AB global transmit reinit delay.
open_error_t openapiLldpMedRemPoePDPowerPriGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, uint32_t *powerPri)
Get the remote port's PD power priority.
open_error_t openapiLldpIntfTransmitModeGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t *lldpTxMode)
Gets the LLDP PDU transmit mode for the specified interface.
open_error_t openapiLldpTxIntervalSet(openapiClientHandle_t *client_handle, uint32_t interval)
Sets the 802.1AB global transmit interval.
open_error_t openapiLldpdot3RemPortAutoNegOperMauTypeGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, uint32_t *type)
Get remote port's auto negotiation operational MAU Type.
open_error_t openapiLldpNotificationIntervalSet(openapiClientHandle_t *client_handle, uint32_t interval)
Sets the 802.1AB global notification interval limit.
open_error_t openapiLldpIntfTLVTransmitModeSet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_LLDP_TLV_TYPE_t tlvType, OPEN_CONTROL_t tlvTransmitMode)
Sets the LLDP optional TLVs transmit mode for the specified interface.
System Description TLV.
Definition: openapi_lldp.h:77
open_error_t openapiLldpIntfReceiveModeGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t *lldpRxMode)
Gets the LLDP PDU reception mode for the specified interface.
open_error_t openapiLldpMedIntfTransmitTlvGet(openapiClientHandle_t *client_handle, uint32_t intf, OPEN_LLDP_MED_CAPABILITIES_t *cap)
Get the interface LLDP-MED TLVs enabled for transmision.
open_error_t openapiLldpMedIntfConfigNotificationModeSet(openapiClientHandle_t *client_handle, uint32_t intf, OPEN_BOOL_t mode)
Set LLDP-MED configuration notification mode on valid LLDP interfaces.
Guest voice signaling policy.
Definition: openapi_lldp.h:98
Civic address location.
Definition: openapi_lldp.h:109
open_error_t openapiLldpXMedLocMediaPolicyPriorityGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType, uint32_t *priority)
Gets the priority associated with a particular policy type.
open_error_t openapiLldpdot3LocPortAutoNegEnabledGet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t *isEnabled)
Get port's auto negotiation enabled status.
open_error_t openapiLldpMedRemMediaPolicyPriorityGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, OPEN_LLDPXMED_POLICY_APPTYPE_VALUE_t policyAppType, uint32_t *priority)
Get the priority associated with a particular policy type.
open_error_t openapiLldpTxHoldSet(openapiClientHandle_t *client_handle, uint32_t holdCount)
Sets the 802.1AB global transmit hold muliplier.
Port Description TLV.
Definition: openapi_lldp.h:80
open_error_t openapiLldpMedRemoteCapabilitiesGet(openapiClientHandle_t *client_handle, uint32_t intf, uint32_t remIndex, uint32_t timeStamp, OPEN_LLDP_MED_CAPABILITIES_t *supportedCapabilities, OPEN_LLDP_MED_CAPABILITIES_t *enabledCapabilities)
Get the LLDP-MED capabilities received from the remote device.
open_error_t openapiLldpIntfTxMgmtAddrModeSet(openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t mode)
Sets the 802.1AB mgmt addr transmit mode for the specified interface.
open_error_t openapiLldpXMedFastStartRepeatCountSet(openapiClientHandle_t *client_handle, uint32_t count)
Sets the fast start repeat count.
Guest voice policy.
Definition: openapi_lldp.h:97
Voice signaling polcy.
Definition: openapi_lldp.h:96
Co ordinate based location.
Definition: openapi_lldp.h:108
open_error_t openapiLldpMedRemAssetIdGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, open_buffdesc *assetId)
Get remote device's asset ID.
OPEN_LLDP_TLV_TYPE_t
Definition: openapi_lldp.h:76
Management Address TLV.
Definition: openapi_lldp.h:81
open_error_t openapiLldpMedRemPoePDPowerSrcGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, uint32_t *powerSrc)
Get the remote port's PD power source.
open_error_t openapiLldpMedRemPoePSEPowerPriGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, uint32_t *powerPri)
Get remote ports PSE power priority.
open_error_t openapiLldpMedRemPoeDeviceTypeGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, uint32_t *deviceType)
Get remote device's PoE device type connected to this port.
open_error_t openapiLldpMedRemPoePDPowerReqGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, uint32_t *powerReq)
Get the remote port's PD power requirement.
open_error_t openapiLldpIntfLocalDeviceSysCapEnabledGet(openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *sysCapEnabled)
Gets the LLDP Local Device System Capabilities Enabled for the specified interface.
open_error_t openapiLldpdot3RemPortAutoNegSupportedGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timestamp, OPEN_BOOL_t *isCapable)
Get remote port's auto negotiation capability.
open_error_t openapiLldpIntfRemoteDevicePortIdGet(openapiClientHandle_t *client_handle, uint32_t ifNum, uint32_t remIndex, uint32_t timeStamp, OPEN_LLDP_PORT_ID_SUBTYPE_t *portIdSubtype, open_buffdesc *portId)
Gets the LLDP Remote Device Port Id and Port Id Subtype for the specified interface.