⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 diag.h

📁 Atheros wifi driver source code
💻 H
字号:
#ifndef _DIAG_#define	_DIAG_/* * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting * Copyright (c) 2002-2005 Atheros Communications, Inc. * All rights reserved. * * $Id: diag.h,v 1.1.1.1 2006/09/12 03:45:21 steven Exp $ */#include <sys/types.h>#include <sys/file.h>#include <sys/ioctl.h>#include <sys/socket.h>#include <net/if.h>#include <stdio.h>#ifndef __linux__#include <net80211/ieee80211_radiotap.h>#endif#include "if_athioctl.h"#ifndef ATH_DEFAULT#define	ATH_DEFAULT	"wifi0"#endifstruct statshandler {	u_long	interval;	void	*total;	void	*cur;	void (*getstats)(struct statshandler *, void *);	void (*update)(struct statshandler *);	void (*printbanner)(struct statshandler *, FILE *);	void (*reportdelta)(struct statshandler *, FILE *);	void (*reporttotal)(struct statshandler *, FILE *);	void (*reportverbose)(struct statshandler *, FILE *);};extern	void reportstats(FILE *fd, struct statshandler *sh);extern	void runstats(FILE *fd, struct statshandler *sh);extern	void reportcol(FILE *fd, u_int32_t v, const char *def_fmt,		u_int32_t max, const char *alt_fmt);#endif /* _DIAG_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -