Added IPv6 feature : provides address, prefix and scope. This breaks the
* sysdeps/names/netload.c: * include/glibtop/netload.h: Added IPv6 feature : provides address, prefix and scope. This breaks the ABI. Not documented yet : check this file.
This commit is contained in:
@@ -29,7 +29,7 @@ const char *glibtop_names_netload [GLIBTOP_MAX_NETLOAD] =
|
||||
"if_flags", "mtu", "subnet", "address", "packets_in",
|
||||
"packets_out", "packets_total", "bytes_in", "bytes_out",
|
||||
"bytes_total", "errors_in", "errors_out", "errors_total",
|
||||
"collisions"
|
||||
"collisions", "address6", "prefix6", "scope6"
|
||||
};
|
||||
|
||||
const unsigned glibtop_types_netload [GLIBTOP_MAX_NETLOAD] =
|
||||
@@ -45,8 +45,8 @@ const char *glibtop_labels_netload [GLIBTOP_MAX_NETLOAD] =
|
||||
{
|
||||
N_("Interface Flags"),
|
||||
N_("MTU"),
|
||||
N_("Subnet"),
|
||||
N_("Address"),
|
||||
N_("IPv4 Subnet"),
|
||||
N_("IPv4 Address"),
|
||||
N_("Packets In"),
|
||||
N_("Packets Out"),
|
||||
N_("Packets Total"),
|
||||
@@ -56,15 +56,18 @@ const char *glibtop_labels_netload [GLIBTOP_MAX_NETLOAD] =
|
||||
N_("Errors In"),
|
||||
N_("Errors Out"),
|
||||
N_("Errors Total"),
|
||||
N_("Collisions")
|
||||
N_("Collisions"),
|
||||
N_("IPv6 Address"),
|
||||
N_("IPv6 Prefix"),
|
||||
N_("IPv6 Scope")
|
||||
};
|
||||
|
||||
const char *glibtop_descriptions_netload [GLIBTOP_MAX_NETLOAD] =
|
||||
{
|
||||
N_("Interface Flags"),
|
||||
N_("Maximum Transfer Unit"),
|
||||
N_("Subnet"),
|
||||
N_("Address"),
|
||||
N_("IPv4 Subnet"),
|
||||
N_("IPv4 Address"),
|
||||
N_("Packets In"),
|
||||
N_("Packets Out"),
|
||||
N_("Packets Total"),
|
||||
@@ -74,5 +77,8 @@ const char *glibtop_descriptions_netload [GLIBTOP_MAX_NETLOAD] =
|
||||
N_("Errors In"),
|
||||
N_("Errors Out"),
|
||||
N_("Errors Total"),
|
||||
N_("Collisions")
|
||||
N_("Collisions"),
|
||||
N_("IPv6 Address"),
|
||||
N_("IPv6 Prefix"),
|
||||
N_("IPv6 Scope")
|
||||
};
|
||||
|
Reference in New Issue
Block a user