File: ifprop.h

package info (click to toggle)
atop 2.4.0-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,692 kB
  • sloc: ansic: 20,731; python: 253; sh: 220; makefile: 170
file content (10 lines) | stat: -rw-r--r-- 279 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
struct ifprop	{
	char		type;		/* type: 'e' (ethernet)		*/
					/*       'w' (wireless)  	*/
	char		name[31];	/* name of interface  		*/
	long int	speed;		/* in megabits per second	*/
	char		fullduplex;	/* boolean			*/
};

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