typedef struct _glibtop_netload	glibtop_netload;
struct _glibtop_netload
{
	u_int64_t	flags,
		mtu,			/* GLIBTOP_NETLOAD_MTU		*/
		address,		/* GLIBTOP_NETLOAD_ADDRESS	*/
		packets_in,		/* GLIBTOP_NETLOAD_PACKETS_IN	*/
		packets_out,		/* GLIBTOP_NETLOAD_PACKETS_OUT	*/
		bytes_in,		/* GLIBTOP_NETLOAD_BYTES_IN	*/
		bytes_out,		/* GLIBTOP_NETLOAD_BYTES_OUT	*/
		errors_in,		/* GLIBTOP_NETLOAD_ERRORS_IN	*/
		errors_out,		/* GLIBTOP_NETLOAD_ERRORS_OUT	*/
		collisions;		/* GLIBTOP_NETLOAD_COLLISIONS	*/
};
Returns network load of the given interface, it is specified as string
like `isppp' or `ippp0':
extern void glibtop_get_netload_l __P((glibtop *, glibtop_netload *, const char *));
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			501 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			501 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| glibtopdir		= $(includedir)/glibtop
 | |
| 
 | |
| glibtop_HEADERS		= close.h loadavg.h prockernel.h procstate.h \
 | |
| 			  sem_limits.h uptime.h command.h mem.h proclist.h \
 | |
| 			  proctime.h shm_limits.h version.h cpu.h msg_limits.h \
 | |
| 			  procmem.h procuid.h swap.h write.h error.h open.h \
 | |
| 			  procsegment.h read.h sysdeps.h xmalloc.h global.h \
 | |
| 			  procsignal.h read_data.h union.h types.h gnuserv.h \
 | |
| 			  parameter.h mountlist.h fsusage.h procmap.h signal.h \
 | |
| 			  inodedb.h sysinfo.h ppp.h procargs.h netload.h
 |