mikroSDK Reference Manual
ip_mib_impl.h
Go to the documentation of this file.
1
31#ifndef _IP_MIB_IMPL_H
32#define _IP_MIB_IMPL_H
33
34//Dependencies
35#include "mibs/mib_common.h"
36
37//C++ guard
38#ifdef __cplusplus
39extern "C" {
40#endif
41
42//IP MIB related functions
43error_t ipMibInit(void);
44
45error_t ipMibSetIpv4InterfaceEntry(const MibObject *object, const uint8_t *oid,
46 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
47
48error_t ipMibGetIpv4InterfaceEntry(const MibObject *object, const uint8_t *oid,
49 size_t oidLen, MibVariant *value, size_t *valueLen);
50
51error_t ipMibGetNextIpv4InterfaceEntry(const MibObject *object, const uint8_t *oid,
52 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
53
54error_t ipMibSetIpv6InterfaceEntry(const MibObject *object, const uint8_t *oid,
55 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
56
57error_t ipMibGetIpv6InterfaceEntry(const MibObject *object, const uint8_t *oid,
58 size_t oidLen, MibVariant *value, size_t *valueLen);
59
60error_t ipMibGetNextIpv6InterfaceEntry(const MibObject *object, const uint8_t *oid,
61 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
62
63error_t ipMibGetIpSystemStatsEntry(const MibObject *object, const uint8_t *oid,
64 size_t oidLen, MibVariant *value, size_t *valueLen);
65
66error_t ipMibGetNextIpSystemStatsEntry(const MibObject *object, const uint8_t *oid,
67 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
68
69error_t ipMibGetIpIfStatsEntry(const MibObject *object, const uint8_t *oid,
70 size_t oidLen, MibVariant *value, size_t *valueLen);
71
72error_t ipMibGetNextIpIfStatsEntry(const MibObject *object, const uint8_t *oid,
73 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
74
75error_t ipMibGetIpAddressPrefixEntry(const MibObject *object, const uint8_t *oid,
76 size_t oidLen, MibVariant *value, size_t *valueLen);
77
78error_t ipMibGetNextIpAddressPrefixEntry(const MibObject *object, const uint8_t *oid,
79 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
80
81error_t ipMibSetIpAddressSpinLock(const MibObject *object, const uint8_t *oid,
82 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
83
84error_t ipMibGetIpAddressSpinLock(const MibObject *object, const uint8_t *oid,
85 size_t oidLen, MibVariant *value, size_t *valueLen);
86
87error_t ipMibSetIpAddressEntry(const MibObject *object, const uint8_t *oid,
88 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
89
90error_t ipMibGetIpAddressEntry(const MibObject *object, const uint8_t *oid,
91 size_t oidLen, MibVariant *value, size_t *valueLen);
92
93error_t ipMibGetNextIpAddressEntry(const MibObject *object, const uint8_t *oid,
94 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
95
96error_t ipMibSetIpNetToPhysicalEntry(const MibObject *object, const uint8_t *oid,
97 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
98
99error_t ipMibGetIpNetToPhysicalEntry(const MibObject *object, const uint8_t *oid,
100 size_t oidLen, MibVariant *value, size_t *valueLen);
101
102error_t ipMibGetNextIpNetToPhysicalEntry(const MibObject *object, const uint8_t *oid,
103 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
104
105error_t ipMibGetIpv6ScopeZoneIndexEntry(const MibObject *object, const uint8_t *oid,
106 size_t oidLen, MibVariant *value, size_t *valueLen);
107
108error_t ipMibGetNextIpv6ScopeZoneIndexEntry(const MibObject *object, const uint8_t *oid,
109 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
110
111error_t ipMibGetIpDefaultRouterEntry(const MibObject *object, const uint8_t *oid,
112 size_t oidLen, MibVariant *value, size_t *valueLen);
113
114error_t ipMibGetNextIpDefaultRouterEntry(const MibObject *object, const uint8_t *oid,
115 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
116
117error_t ipMibSetIpv6RouterAdvertSpinLock(const MibObject *object, const uint8_t *oid,
118 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
119
120error_t ipMibGetIpv6RouterAdvertSpinLock(const MibObject *object, const uint8_t *oid,
121 size_t oidLen, MibVariant *value, size_t *valueLen);
122
123error_t ipMibSetIpv6RouterAdvertEntry(const MibObject *object, const uint8_t *oid,
124 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
125
126error_t ipMibGetIpv6RouterAdvertEntry(const MibObject *object, const uint8_t *oid,
127 size_t oidLen, MibVariant *value, size_t *valueLen);
128
129error_t ipMibGetNextIpv6RouterAdvertEntry(const MibObject *object, const uint8_t *oid,
130 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
131
132error_t ipMibGetIcmpStatsEntry(const MibObject *object, const uint8_t *oid,
133 size_t oidLen, MibVariant *value, size_t *valueLen);
134
135error_t ipMibGetNextIcmpStatsEntry(const MibObject *object, const uint8_t *oid,
136 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
137
138error_t ipMibGetIcmpMsgStatsEntry(const MibObject *object, const uint8_t *oid,
139 size_t oidLen, MibVariant *value, size_t *valueLen);
140
141error_t ipMibGetNextIcmpMsgStatsEntry(const MibObject *object, const uint8_t *oid,
142 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
143
144//C++ guard
145#ifdef __cplusplus
146}
147#endif
148
149#endif
error_t
Error codes.
Definition error.h:43
Common definitions for MIB modules.