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

📄 promisc.h

📁 一个网络流量分析的完整的程序
💻 H
字号:
/* * promisc.h - definitions for promiscuous state save/recovery * * Thanks to Holger Friese  * <evildead@bs-pc5.et-inf.fho-emden.de> for the base patch. * Applied it, but then additional issues came up and I ended up doing more * than slight modifications.  struct iflist is becoming way too large for * comfort and for something as little as this. */struct promisc_params {    char ifname[8];    int saved_state;    int state_valid;}; struct promisc_states {    struct promisc_params params;    struct promisc_states *next_entry;};void init_promisc_list(struct promisc_states **list);void save_promisc_list(struct promisc_states *list);void load_promisc_list(struct promisc_states **list);void srpromisc(int mode, struct promisc_states *promisc_list);void destroy_promisc_list(struct promisc_states **list);

⌨️ 快捷键说明

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