mikroSDK Reference Manual
mib2_impl_tcp.h
Go to the documentation of this file.
1
31#ifndef _MIB2_IMPL_TCP_H
32#define _MIB2_IMPL_TCP_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 mib2GetTcpCurrEstab(const MibObject *object, const uint8_t *oid,
45 size_t oidLen, MibVariant *value, size_t *valueLen);
46
47error_t mib2SetTcpConnEntry(const MibObject *object, const uint8_t *oid,
48 size_t oidLen, const MibVariant *value, size_t valueLen, bool_t commit);
49
50error_t mib2GetTcpConnEntry(const MibObject *object, const uint8_t *oid,
51 size_t oidLen, MibVariant *value, size_t *valueLen);
52
53error_t mib2GetNextTcpConnEntry(const MibObject *object, const uint8_t *oid,
54 size_t oidLen, uint8_t *nextOid, size_t *nextOidLen);
55
56//C++ guard
57#ifdef __cplusplus
58}
59#endif
60
61#endif
error_t
Error codes.
Definition error.h:43
MIB-II module.
TCP/IP stack core.