📄 tcpip_def.h
字号:
/* * Copyright (C) 2003-2004 MITSUBISHI ELECTRIC CORPORATION and * RENESAS SOLUTIONS CORPORATION * All rights reserved. * * TCP/IP subsystem -- subsystem definitions. */#include <basic.h>#include <tk/tkernel.h>#include "tcpip_if.h"#include <sys/types.h>#include <sys/socket.h>/* Resource management block definition *//* none *//* default subsystem priority */#define DEFAULT_PRIORITY 16/* proto type declarations *//* tcpip_svchand.c */IMPORT INT svc_handler( VP para, FN fncd ) ;/* tcpip_fn.c */IMPORT void startup_fn( ID resid, INT info ) ;IMPORT void cleanup_fn( ID resid, INT info ) ;IMPORT void break_fn( ID tskid ) ;IMPORT ER event_fn( ID evttyp, ID resid, INT info ) ;/* uipc_syscalls.c, kern_descrip.c, sys_generic.c */IMPORT INT _unix_socket( int a, int b, int c );IMPORT INT _unix_bind( int a, struct sockaddr *b, int c );IMPORT INT _unix_listen( int a, int b );IMPORT INT _unix_accept( int a, struct sockaddr *b, int *c );IMPORT INT _unix_connect( int a, struct sockaddr *b, int c );IMPORT INT _unix_socketpair( int a, int b, int c, int *d );IMPORT INT _unix_sendto( int a, caddr_t b, size_t c, int d, struct sockaddr *e, int f );IMPORT INT _unix_send( int a, caddr_t b, int c, int d );IMPORT INT _unix_recvfrom( int a, caddr_t b, size_t c, int d, struct sockaddr *e, int *f );IMPORT INT _unix_recv( int a, caddr_t b, int c, int d );IMPORT INT _unix_shutdown( int a, int b );IMPORT INT _unix_setsockopt( int a, int b, int c, caddr_t d, int e );IMPORT INT _unix_getsockopt( int a, int b, int c, caddr_t d, int *e );IMPORT INT _unix_getsockname( int a, struct sockaddr *b, int *c );IMPORT INT _unix_getpeername( int a, struct sockaddr *b, int *c );IMPORT INT _unix_read( int a, char *b, u_int c );IMPORT INT _unix_write( int a, char *b, u_int c );IMPORT INT _unix_ioctl( int a, unsigned int b, caddr_t c );IMPORT INT _unix_close( int a );/* EOF */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -