Added new feature to get PPP/ISDN support:
enum { GLIBTOP_PPP_STATE_UNKNOWN = 0, GLIBTOP_PPP_STATE_HANGUP, GLIBTOP_PPP_STATE_ONLINE }; struct _glibtop_ppp { u_int64_t flags, state, /* GLIBTOP_PPP_STATE */ bytes_in, /* GLIBTOP_PPP_BYTES_IN */ bytes_out; /* GLIBTOP_PPP_BYTES_OUT */ }; Currently only implemented in the FreeBSD port with ISDN via I4B. - Martin
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
#include <glibtop/mountlist.h>
|
||||
#include <glibtop/fsusage.h>
|
||||
|
||||
#include <glibtop/ppp.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
typedef union _glibtop_union glibtop_union;
|
||||
@@ -69,6 +71,7 @@ union _glibtop_union
|
||||
glibtop_proc_map proc_map;
|
||||
glibtop_mountlist mountlist;
|
||||
glibtop_fsusage fsusage;
|
||||
glibtop_ppp ppp;
|
||||
};
|
||||
|
||||
__END_DECLS
|
||||
|
Reference in New Issue
Block a user