mikroSDK Reference Manual
lldp_mib_impl_local.h
Go to the documentation of this file.
1
31#ifndef _LLDP_MIB_IMPL_LOCAL_H
32#define _LLDP_MIB_IMPL_LOCAL_H
33
34//Dependencies
35#include "mibs/mib_common.h"
36#include "lldp/lldp.h"
37
38//C++ guard
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43//LLDP MIB related functions
44error_t lldpMibGetLldpLocChassisIdSubtype(const MibObject *object, const uint8_t *oid,
45 size_t oidLen, MibVariant *value, size_t *valueLen);
46
47error_t lldpMibGetLldpLocChassisId(const MibObject *object, const uint8_t *oid,
48 size_t oidLen, MibVariant *value, size_t *valueLen);
49
50error_t lldpMibGetLldpLocSysName(const MibObject *object, const uint8_t *oid,
51 size_t oidLen, MibVariant *value, size_t *valueLen);
52
53error_t lldpMibGetLldpLocSysDesc(const MibObject *object, const uint8_t *oid,
54 size_t oidLen, MibVariant *value, size_t *valueLen);
55
56error_t lldpMibGetLldpLocSysCapSupported(const MibObject *object, const uint8_t *oid,
57 size_t oidLen, MibVariant *value, size_t *valueLen);
58
59error_t lldpMibGetLldpLocSysCapEnabled(const MibObject *object, const uint8_t *oid,
60 size_t oidLen, MibVariant *value, size_t *valueLen);
61
62error_t lldpMibGetLldpLocPortEntry(const MibObject *object, const uint8_t *oid,
63 size_t oidLen, MibVariant *value, size_t *valueLen);
64
65error_t lldpMibGetNextLldpLocPortEntry(const MibObject *object, const uint8_t *oid,
66 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
67
68error_t lldpMibGetLldpLocManAddrEntry(const MibObject *object, const uint8_t *oid,
69 size_t oidLen, MibVariant *value, size_t *valueLen);
70
71error_t lldpMibGetNextLldpLocManAddrEntry(const MibObject *object, const uint8_t *oid,
72 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
73
74//C++ guard
75#ifdef __cplusplus
76}
77#endif
78
79#endif
error_t
Error codes.
Definition error.h:43
LLDP (Link Layer Discovery Protocol)
Common definitions for MIB modules.