File: ifprop.h

package info (click to toggle)
atop 1.26-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 980 kB
  • ctags: 1,536
  • sloc: ansic: 12,191; sh: 216; makefile: 65
file content (8 lines) | stat: -rw-r--r-- 203 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
struct ifprop	{
	char		name[16];	/* name of interface  		*/
	long int	speed;		/* in megabits per second	*/
	char		fullduplex;	/* boolean			*/
};

int 	getifprop(struct ifprop *);
void 	initifprop(void);