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

📄 insane.h

📁 Linux 虚拟网络接口 实例 In the Linux (or Unix) world, most network interfaces, such as eth0 and ppp0, are a
💻 H
字号:
#ifndef __INSANE_H__#define __INSANE_H__enum insane_mode {    INSANE_PASS = 0,   /* every packet is transmitted (default) */    INSANE_PERCENT,    /* pass some percent of the packets */    INSANE_TIME,       /* work (and fail) on a timely basis */};#define INSANE_NAMELEN 16struct insane_userinfo {    char name[INSANE_NAMELEN];    int mode;    int arg1;    int arg2;};/* These are the two ioctl commands needed to interact with insane */#define SIOCINSANESETINFO SIOCDEVPRIVATE#define SIOCINSANEGETINFO (SIOCDEVPRIVATE+1)#endif /* __INSANE_H__ */

⌨️ 快捷键说明

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