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

📄 tcpip_svcdef.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 function definitions. */#include <typedef.h>#include <sys/types.h>#include <sys/socket.h>/* subsystem ID */#define TCPIP_SVC 50/* sample of structure *//* none *//* * Below contents are the definitions for "mkiflib" command * in T-Engine dept. kit (by PMC). *//*** DEFINE_IFLIB[LIBRARY HEADER FILE]tcpip_if.h[FNUMBER HEADER FILE]tcpip_fn.h[INCLUDE FILE]"tcpip_svcdef.h"[PREFIX]TCPIP[SVC NO]50***//* [BEGIN SYSCALLS] *//* ORIGIN_NO 32 */IMPORT INT renesas_tcpip_socket( int a, int b, int c );IMPORT INT renesas_tcpip_bind( int a, struct sockaddr *b, int c );IMPORT INT renesas_tcpip_listen( int a, int b );IMPORT INT renesas_tcpip_accept( int a, struct sockaddr *b, int *c );IMPORT INT renesas_tcpip_connect( int a, struct sockaddr *b, int c );IMPORT INT renesas_tcpip_socketpair( int a, int b, int c, int *d );IMPORT INT renesas_tcpip_sendto( int a, caddr_t b, size_t c, int d, struct sockaddr *e, int f );IMPORT INT renesas_tcpip_send( int a, caddr_t b, int c, int d );/* RESERVE_NO */IMPORT INT renesas_tcpip_recvfrom( int a, caddr_t b, size_t c, int d, struct sockaddr *e, int *f );IMPORT INT renesas_tcpip_recv( int a, caddr_t b, int c, int d );/* RESERVE_NO */IMPORT INT renesas_tcpip_shutdown( int a, int b );IMPORT INT renesas_tcpip_setsockopt( int a, int b, int c, caddr_t d, int e );IMPORT INT renesas_tcpip_getsockopt( int a, int b, int c, caddr_t d, int *e );IMPORT INT renesas_tcpip_getsockname( int a, struct sockaddr *b, int *c );IMPORT INT renesas_tcpip_getpeername( int a, struct sockaddr *b, int *c );/* RESERVE_NO */IMPORT INT renesas_tcpip_read( int a, char *b, u_int c );IMPORT INT renesas_tcpip_write( int a, char *b, u_int c );IMPORT INT renesas_tcpip_ioctl( int a, unsigned int b, caddr_t c );IMPORT INT renesas_tcpip_close( int a );/* [END SYSCALLS] */

⌨️ 快捷键说明

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