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

📄 tcpip_if.h

📁 T-kernel Tcp/ip Protocol Stack Sample
💻 H
字号:
/* *  Copyright (C) 2003-2004 MITSUBISHI ELECTRIC CORPORATION and *  RENESAS SOLUTIONS CORPORATION *  All rights reserved. * *  TCP/IP subsystem -- Extend SVC arguments packet definitions. */#include <basic.h>#include "tcpip_svcdef.h"#include "tcpip_fn.h"#if CPU_MIPS		/* 64 bit alignment */#  if BIGENDIAN#    error "not supported"#  else#    define _align64	long long :0;#  endif#  define _pad_b(n)#  define _pad_l(n)#else			/* 32 bit alignment */#  if BIGENDIAN#    define _pad_b(n)	int :n;#    define _pad_l(n)#  else#    define _pad_b(n)#    define _pad_l(n)	int :n;#  endif#  define _align64#endiftypedef struct {	int a;	_align64	int b;	_align64	int c;	_align64} TCPIP_RENESAS_TCPIP_SOCKET_PARA;typedef struct {	int a;	_align64	struct sockaddr *b;	_align64	int c;	_align64} TCPIP_RENESAS_TCPIP_BIND_PARA;typedef struct {	int a;	_align64	int b;	_align64} TCPIP_RENESAS_TCPIP_LISTEN_PARA;typedef struct {	int a;	_align64	struct sockaddr *b;	_align64	int *c;	_align64} TCPIP_RENESAS_TCPIP_ACCEPT_PARA;typedef struct {	int a;	_align64	struct sockaddr *b;	_align64	int c;	_align64} TCPIP_RENESAS_TCPIP_CONNECT_PARA;typedef struct {	int a;	_align64	int b;	_align64	int c;	_align64	int *d;	_align64} TCPIP_RENESAS_TCPIP_SOCKETPAIR_PARA;typedef struct {	int a;	_align64	caddr_t b;	_align64	size_t c;	_align64	int d;	_align64	struct sockaddr *e;	_align64	int f;	_align64} TCPIP_RENESAS_TCPIP_SENDTO_PARA;typedef struct {	int a;	_align64	caddr_t b;	_align64	int c;	_align64	int d;	_align64} TCPIP_RENESAS_TCPIP_SEND_PARA;typedef struct {	int a;	_align64	caddr_t b;	_align64	size_t c;	_align64	int d;	_align64	struct sockaddr *e;	_align64	int *f;	_align64} TCPIP_RENESAS_TCPIP_RECVFROM_PARA;typedef struct {	int a;	_align64	caddr_t b;	_align64	int c;	_align64	int d;	_align64} TCPIP_RENESAS_TCPIP_RECV_PARA;typedef struct {	int a;	_align64	int b;	_align64} TCPIP_RENESAS_TCPIP_SHUTDOWN_PARA;typedef struct {	int a;	_align64	int b;	_align64	int c;	_align64	caddr_t d;	_align64	int e;	_align64} TCPIP_RENESAS_TCPIP_SETSOCKOPT_PARA;typedef struct {	int a;	_align64	int b;	_align64	int c;	_align64	caddr_t d;	_align64	int *e;	_align64} TCPIP_RENESAS_TCPIP_GETSOCKOPT_PARA;typedef struct {	int a;	_align64	struct sockaddr *b;	_align64	int *c;	_align64} TCPIP_RENESAS_TCPIP_GETSOCKNAME_PARA;typedef struct {	int a;	_align64	struct sockaddr *b;	_align64	int *c;	_align64} TCPIP_RENESAS_TCPIP_GETPEERNAME_PARA;typedef struct {	int a;	_align64	char *b;	_align64	u_int c;	_align64} TCPIP_RENESAS_TCPIP_READ_PARA;typedef struct {	int a;	_align64	char *b;	_align64	u_int c;	_align64} TCPIP_RENESAS_TCPIP_WRITE_PARA;typedef struct {	int a;	_align64	unsigned int b;	_align64	caddr_t c;	_align64} TCPIP_RENESAS_TCPIP_IOCTL_PARA;typedef struct {	int a;	_align64} TCPIP_RENESAS_TCPIP_CLOSE_PARA;

⌨️ 快捷键说明

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