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

📄 sockunion.h

📁 vxworks 6.x 的全部头文件
💻 H
字号:
/* sockunion.h -File Transfer Protocol library header *//*modification history--------------------01e,07jan05,syy  Port to RTP01d,05nov03,cdw  Removal of unnecessary _KERNEL guards.01c,04nov03,rlm  Ran batch header path update for header re-org.01b,03nov03,rlm  Removed wrn/coreip/ prefix from #includes for header re-org.01a,15sep02,ant  written*/#ifndef __INCsockunionh#define __INCsockunionh#ifdef __cplusplusextern "C" {#endif/* includes */#include <netinet/in.h> /* typedefs */union sockunion {	struct sockinet {		u_char	si_len;		u_char	si_family;		u_short	si_port;	} su_si;	struct	sockaddr_in  su_sin;#ifdef INET6	struct	sockaddr_in6 su_sin6;#endif};#define	su_len		su_si.si_len#define	su_family	su_si.si_family#define	su_port		su_si.si_port#ifdef __cplusplus}#endif#endif /* __INCsockunionh */

⌨️ 快捷键说明

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