tun_dev.h
来自「Adhoc无线网络路由协议源码」· C头文件 代码 · 共 22 行
H
22 行
#ifndef TUN_DEV_H#define TUN_DEV_H#define TUN_DEV_IP "127.0.0.2" /* ip address for the tun device */#define TUN_DEV_NAME "tun" /* name of the tun interface *//* * tun_init(): * prepare the tun device and return the handle (file descriptor) */int tun_init();/* * tun_in(fd, buf): * read the next packet from fd into buf, return the packet length */int tun_in(int fd, u_char *buf);#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?