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

📄 ciped.h

📁 cipe 编程
💻 H
字号:
/*   CIPE - encrypted IP over UDP tunneling   ciped.h - prototypes for user level routines   Copyright 1997 Olaf Titz <olaf@bigred.inka.de>   This program is free software; you can redistribute it and/or   modify it under the terms of the GNU General Public License   as published by the Free Software Foundation; either version   2 of the License, or (at your option) any later version.*//* $Id: ciped.h,v 1.6 2000/12/16 17:49:06 olaf Exp $ */#include <signal.h>#include <netinet/in.h>#include "cipe.h"#include "options.h"/* options.c */struct options {    const char * const oname;    const char otyp;    union {	int ovint;	char *ovstr;	struct sockaddr_in *ovsaddr;    } ov;};extern struct options opts[];#define Tbool	0#define Tint	1#define Tstr	2#define Taddr	3#define Tuaddr	4#define Ttaddr	5#define Tsecret 6#define OI(x)      (opts[O##x].ov.ovint)#define OS(x)      (opts[O##x].ov.ovstr)#define OA(x)      (opts[O##x].ov.ovsaddr)#define OAaddr(x)  (OA(x)->sin_addr)#define OAport(x)  (OA(x)->sin_port)

⌨️ 快捷键说明

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