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

📄 socks5_internal.h

📁 cipe 编程
💻 H
字号:
/*   cipelib - library routines common to CIPE (user-mode part) and PKCIPE   Copyright 2000 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: socks5_internal.h,v 1.4 2000/12/05 19:21:12 olaf Exp $ */#ifndef __GNUC__#warning "struct socksrq may be misaligned, fix me"#endifstruct socksrq {    char		ver;    char		cmd;    char		rsv;    char		atyp;    unsigned int	dstaddr __attribute__((packed));    unsigned short	dstport __attribute__((packed));};INLINE int readn(int fd, char *b, int n, const char *m){    int e=xread(fd, b, n);    if (e<0)	cipe_syslog(LOG_ERR, "%s: %m", m);    return e;}INLINE int writen(int fd, char *b, int n, const char *m){    int e=xwrite(fd, b, n);    if (e<0)	cipe_syslog(LOG_ERR, "%s: %m", m);    return e;}#ifndef MIN#define MIN(a,b) (((a)<(b))?(a):(b))#endif

⌨️ 快捷键说明

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