Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/zbxsysinfo/aix/net.c')
-rw-r--r--src/libs/zbxsysinfo/aix/net.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/libs/zbxsysinfo/aix/net.c b/src/libs/zbxsysinfo/aix/net.c
index e09a0c7ef24..d325f81b446 100644
--- a/src/libs/zbxsysinfo/aix/net.c
+++ b/src/libs/zbxsysinfo/aix/net.c
@@ -18,6 +18,7 @@
**/
#include "zbxsysinfo.h"
+#include "../sysinfo.h"
#include "zbxjson.h"
#include "log.h"
@@ -73,7 +74,7 @@ static int get_net_stat(const char *if_name, net_stat_t *ns, char **error)
#endif
}
-int NET_IF_IN(AGENT_REQUEST *request, AGENT_RESULT *result)
+int net_if_in(AGENT_REQUEST *request, AGENT_RESULT *result)
{
char *if_name, *mode, *error;
net_stat_t ns;
@@ -108,7 +109,7 @@ int NET_IF_IN(AGENT_REQUEST *request, AGENT_RESULT *result)
return SYSINFO_RET_OK;
}
-int NET_IF_OUT(AGENT_REQUEST *request, AGENT_RESULT *result)
+int net_if_out(AGENT_REQUEST *request, AGENT_RESULT *result)
{
char *if_name, *mode, *error;
net_stat_t ns;
@@ -143,7 +144,7 @@ int NET_IF_OUT(AGENT_REQUEST *request, AGENT_RESULT *result)
return SYSINFO_RET_OK;
}
-int NET_IF_TOTAL(AGENT_REQUEST *request, AGENT_RESULT *result)
+int net_if_total(AGENT_REQUEST *request, AGENT_RESULT *result)
{
char *if_name, *mode, *error;
net_stat_t ns;
@@ -178,7 +179,7 @@ int NET_IF_TOTAL(AGENT_REQUEST *request, AGENT_RESULT *result)
return SYSINFO_RET_OK;
}
-int NET_IF_COLLISIONS(AGENT_REQUEST *request, AGENT_RESULT *result)
+int net_if_collisions(AGENT_REQUEST *request, AGENT_RESULT *result)
{
char *if_name, *error;
net_stat_t ns;
@@ -202,7 +203,7 @@ int NET_IF_COLLISIONS(AGENT_REQUEST *request, AGENT_RESULT *result)
return SYSINFO_RET_OK;
}
-int NET_IF_DISCOVERY(AGENT_REQUEST *request, AGENT_RESULT *result)
+int net_if_discovery(AGENT_REQUEST *request, AGENT_RESULT *result)
{
#if defined(HAVE_LIBPERFSTAT)
int rc, i, ret = SYSINFO_RET_FAIL;