mikroSDK Reference Manual
mib2_impl_ip.h
Go to the documentation of this file.
1
31#ifndef _MIB2_IMPL_IP_H
32#define _MIB2_IMPL_IP_H
33
34//Dependencies
35#include "core/net.h"
36#include "mibs/mib2_module.h"
37
38//C++ guard
39#ifdef __cplusplus
40extern "C" {
41#endif
42
43//MIB-II related functions
44error_t mib2GetIpAddrEntry(const MibObject *object, const uint8_t *oid,
45 size_t oidLen, MibVariant *value, size_t *valueLen);
46
47error_t mib2GetNextIpAddrEntry(const MibObject *object, const uint8_t *oid,
48 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
49
50error_t mib2SetIpNetToMediaEntry(const MibObject *object, const uint8_t *oid,
51 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
52
53error_t mib2GetIpNetToMediaEntry(const MibObject *object, const uint8_t *oid,
54 size_t oidLen, MibVariant *value, size_t *valueLen);
55
56error_t mib2GetNextIpNetToMediaEntry(const MibObject *object, const uint8_t *oid,
57 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
58
59//C++ guard
60#ifdef __cplusplus
61}
62#endif
63
64#endif
error_t
Error codes.
Definition error.h:43
MIB-II module.
TCP/IP stack core.