📄 serv_p4.cpp
字号:
# 1 "serv_p4.c" # 1 "../include/p4.h" 1# 1 "/usr/include/ctype.h" 1#ident "@(#)ctype.h 1.19 95/01/28 SMI" # 1 "/usr/include/sys/feature_tests.h" 1#ident "@(#)feature_tests.h 1.7 94/12/06 SMI"# 15 "/usr/include/sys/feature_tests.h" # 27 "/usr/include/sys/feature_tests.h" # 31 "/usr/include/sys/feature_tests.h" # 14 "/usr/include/ctype.h" 2# 17 "/usr/include/ctype.h" # 43 "/usr/include/ctype.h" # 63 "/usr/include/ctype.h" # 77 "/usr/include/ctype.h" # 90 "/usr/include/ctype.h" extern unsigned char _ctype[];# 118 "/usr/include/ctype.h" # 5 "../include/p4.h" 2# 1 "/usr/ucbinclude/stdio.h" 1 #ident "@(#)stdio.h 1.7 95/06/08 SMI" # 1 "/usr/include/sys/va_list.h" 1#ident "@(#)va_list.h 1.6 96/01/26 SMI"# 23 "/usr/include/sys/va_list.h" # 41 "/usr/include/sys/va_list.h" # 45 "/usr/include/sys/va_list.h" typedef char *__va_list;# 53 "/usr/include/sys/va_list.h" # 39 "/usr/ucbinclude/stdio.h" 2 typedef unsigned int size_t;typedef long fpos_t;# 58 "/usr/ucbinclude/stdio.h" # 70 "/usr/ucbinclude/stdio.h" # 73 "/usr/ucbinclude/stdio.h" # 83 "/usr/ucbinclude/stdio.h" # 92 "/usr/ucbinclude/stdio.h" # 91 "/usr/ucbinclude/stdio.h" # 95 "/usr/ucbinclude/stdio.h" # 133 "/usr/ucbinclude/stdio.h" typedef struct {# 144 "/usr/ucbinclude/stdio.h" int _cnt; unsigned char *_ptr; unsigned char *_base; unsigned char _flag; unsigned char _file; } FILE;# 155 "/usr/ucbinclude/stdio.h" extern FILE _iob[20];extern FILE *_lastbuf;extern unsigned char *_bufendtab[];extern unsigned char _sibuf[], _sobuf[];# 216 "/usr/ucbinclude/stdio.h" # 227 "/usr/ucbinclude/stdio.h" # 240 "/usr/ucbinclude/stdio.h" # 247 "/usr/ucbinclude/stdio.h" extern FILE *fopen(), *fdopen(), *freopen(), *popen();extern long ftell();extern void rewind(), setbuf();extern char *ctermid(), *cuserid(), *fgets(), *gets(), *sprintf(), *vsprintf();extern int fclose(), fflush(), fread(), fwrite(), fseek(), fgetc(), getw(), pclose(), printf(), fprintf(), vprintf(), vfprintf(), fputc(), putw(), puts(), fputs(), scanf(), fscanf(), sscanf(), setvbuf(), system(), ungetc();# 6 "../include/p4.h" 2# 9 "../include/p4.h" # 1 "/usr/include/rpc/rpc.h" 1#ident "@(#)rpc.h 1.11 93/02/04 SMI"# 1 "/usr/include/rpc/types.h" 1#ident "@(#)types.h 1.18 94/03/08 SMI"# 1 "/usr/ucbinclude/sys/types.h" 1#ident "@(#)types.h 1.10 93/07/21 SMI" # 39 "/usr/ucbinclude/sys/types.h" # 43 "/usr/ucbinclude/sys/types.h" typedef struct _physadr { int r[1]; } *physadr;typedef struct _label { int val[2]; } label_t;# 50 "/usr/ucbinclude/sys/types.h" typedef unsigned char uchar_t;typedef unsigned short ushort_t;typedef unsigned int uint_t;typedef unsigned long ulong_t;typedef char * addr_t; typedef char * caddr_t; typedef long daddr_t; typedef long off_t; typedef short cnt_t; typedef ulong_t paddr_t; typedef uchar_t use_t; typedef short sysid_t;typedef short index_t;typedef long swblk_t;typedef short lock_t; typedef enum boolean { B_FALSE, B_TRUE } boolean_t;typedef ulong_t l_dev_t;typedef long long longlong_t;typedef unsigned long long u_longlong_t;# 105 "/usr/ucbinclude/sys/types.h" typedef longlong_t offset_t;typedef longlong_t diskaddr_t;typedef union lloff { offset_t _f; struct { long _u; off_t _l; } _p;} lloff_t;typedef union lldaddr { diskaddr_t _f; struct { long _u; daddr_t _l; } _p;} lldaddr_t;typedef ulong_t k_fltset_t; typedef long id_t; typedef ulong_t major_t; typedef ulong_t minor_t; typedef short pri_t;typedef ushort_t o_mode_t; typedef short o_dev_t; typedef ushort_t o_uid_t; typedef o_uid_t o_gid_t; typedef short o_nlink_t; typedef short o_pid_t; typedef ushort_t o_ino_t; typedef int key_t; typedef ulong_t mode_t; typedef long uid_t; typedef uid_t gid_t; typedef ulong_t nlink_t; typedef ulong_t dev_t; typedef ulong_t ino_t; typedef long pid_t; # 189 "/usr/ucbinclude/sys/types.h" typedef int ssize_t; typedef long time_t; typedef long clock_t; typedef unsigned char unchar;typedef unsigned int uint;typedef unsigned long ulong;# 225 "/usr/ucbinclude/sys/types.h" typedef long hostid_t;typedef unsigned char u_char;typedef unsigned short u_short;typedef unsigned int u_int;typedef unsigned long u_long;typedef unsigned short ushort; typedef struct _quad { long val[2]; } quad; # 280 "/usr/ucbinclude/sys/types.h" # 1 "/usr/include/sys/select.h" 1#ident "@(#)select.h 1.10 92/07/14 SMI" # 1 "/usr/include/sys/time.h" 1#ident "@(#)time.h 2.47 95/08/24 SMI" # 1 "/usr/include/sys/feature_tests.h" 1# 24 "/usr/include/sys/feature_tests.h" # 33 "/usr/include/sys/feature_tests.h" # 25 "/usr/include/sys/time.h" 2# 33 "/usr/include/sys/time.h" # 36 "/usr/include/sys/time.h" struct timeval { long tv_sec; long tv_usec; };struct timezone { int tz_minuteswest; int tz_dsttime; };# 54 "/usr/include/sys/time.h" # 1 "/usr/ucbinclude/sys/types.h" 1#ident "@(#)types.h 1.10 93/07/21 SMI" # 91 "/usr/ucbinclude/sys/types.h" # 206 "/usr/ucbinclude/sys/types.h" # 212 "/usr/ucbinclude/sys/types.h" # 310 "/usr/ucbinclude/sys/types.h" # 62 "/usr/include/sys/time.h" 2# 66 "/usr/include/sys/time.h" # 69 "/usr/include/sys/time.h" struct itimerval { struct timeval it_interval; struct timeval it_value; };# 126 "/usr/include/sys/time.h" # 139 "/usr/include/sys/time.h" # 156 "/usr/include/sys/time.h" typedef struct timespec { time_t tv_sec; long tv_nsec; } timespec_t;typedef struct timespec timestruc_t; # 172 "/usr/include/sys/time.h" # 180 "/usr/include/sys/time.h" # 188 "/usr/include/sys/time.h" typedef struct itimerspec { struct timespec it_interval; struct timespec it_value; } itimerspec_t;typedef longlong_t hrtime_t;# 236 "/usr/include/sys/time.h" # 239 "/usr/include/sys/time.h" # 258 "/usr/include/sys/time.h" # 269 "/usr/include/sys/time.h" int adjtime();int getitimer();int setitimer();int gettimeofday();int settimeofday();hrtime_t gethrtime();hrtime_t gethrvtime();# 1 "/usr/include/time.h" 1#ident "@(#)time.h 1.23 95/08/28 SMI" # 1 "/usr/include/sys/feature_tests.h" 1# 24 "/usr/include/sys/feature_tests.h" # 33 "/usr/include/sys/feature_tests.h" # 17 "/usr/include/time.h" 2# 20 "/usr/include/time.h" # 24 "/usr/include/time.h" # 29 "/usr/include/time.h" # 33 "/usr/include/time.h" # 37 "/usr/include/time.h" typedef int clockid_t;typedef int timer_t;struct tm { int tm_sec; int tm_min; int tm_hour; int tm_mday; int tm_mon; int tm_year; int tm_wday; int tm_yday; int tm_isdst;};# 72 "/usr/include/time.h" # 78 "/usr/include/time.h" # 84 "/usr/include/time.h" # 104 "/usr/include/time.h" # 116 "/usr/include/time.h" # 124 "/usr/include/time.h" # 140 "/usr/include/time.h" extern long clock();extern double difftime();extern time_t mktime();extern time_t time();extern size_t strftime();extern struct tm *gmtime(), *localtime();extern char *ctime(), *asctime(), *strptime();extern int cftime(), ascftime();extern void tzset();# 153 "/usr/include/time.h" # 156 "/usr/include/time.h" extern long timezone, altzone;extern int daylight;extern char *tzname[2];extern struct tm *getdate();# 167 "/usr/include/time.h" extern int getdate_err;# 177 "/usr/include/time.h" # 178 "/usr/include/time.h" # 180 "/usr/include/time.h" # 212 "/usr/include/time.h" # 249 "/usr/include/time.h" # 253 "/usr/include/time.h" # 281 "/usr/include/sys/time.h" 2# 288 "/usr/include/sys/time.h" # 15 "/usr/include/sys/select.h" 2# 19 "/usr/include/sys/select.h" typedef long fd_mask;typedef struct fd_set { fd_mask fds_bits[(((1024)+(( (sizeof (fd_mask) * 8))-1))/( (sizeof (fd_mask) * 8)))];} fd_set;# 56 "/usr/include/sys/select.h" # 63 "/usr/include/sys/select.h" extern int select();# 70 "/usr/include/sys/select.h" # 302 "/usr/ucbinclude/sys/types.h" 2# 1 "/usr/ucbinclude/sys/sysmacros.h" 1#ident "@(#)sysmacros.h 1.1 90/04/27 SMI" # 309 "/usr/ucbinclude/sys/types.h" 2# 16 "/usr/include/rpc/types.h" 2# 19 "/usr/include/rpc/types.h" typedef int bool_t;typedef int enum_t;typedef u_longlong_t ulonglong_t;# 42 "/usr/include/rpc/types.h" # 66 "/usr/include/rpc/types.h" # 76 "/usr/include/rpc/types.h" # 82 "/usr/include/rpc/types.h" extern char __nsl_dom[];# 89 "/usr/include/rpc/types.h" # 1 "/usr/include/sys/time.h" 1# 34 "/usr/include/sys/time.h" # 67 "/usr/include/sys/time.h" # 124 "/usr/include/sys/time.h" # 136 "/usr/include/sys/time.h" # 154 "/usr/include/sys/time.h" # 178 "/usr/include/sys/time.h" # 186 "/usr/include/sys/time.h" # 237 "/usr/include/sys/time.h" # 239 "/usr/include/sys/time.h" # 258 "/usr/include/sys/time.h" # 278 "/usr/include/sys/time.h" # 290 "/usr/include/sys/time.h" # 92 "/usr/include/rpc/types.h" 2# 19 "/usr/include/rpc/rpc.h" 2# 1 "/usr/include/tiuser.h" 1#ident "@(#)tiuser.h 1.12 95/09/10 SMI" # 1 "/usr/include/sys/tiuser.h" 1#ident "@(#)tiuser.h 1.13 94/12/23 SMI" # 15 "/usr/include/sys/tiuser.h" struct t_info { long addr; long options; long tsdu; long etsdu; long connect; long discon; long servtype; };struct netbuf { unsigned int maxlen; unsigned int len; char *buf;};struct t_bind { struct netbuf addr; unsigned qlen;};struct t_optmgmt { struct netbuf opt; long flags;};struct t_discon { struct netbuf udata; int reason; int sequence; };struct t_call { struct netbuf addr; struct netbuf opt; struct netbuf udata; int sequence; };struct t_unitdata { struct netbuf addr; struct netbuf opt; struct netbuf udata; };struct t_uderr { struct netbuf addr; struct netbuf opt; long error; }; extern char tiusr_statetbl[25][9];# 291 "/usr/include/sys/tiuser.h" # 295 "/usr/include/sys/tiuser.h" # 18 "/usr/include/tiuser.h" 2# 21 "/usr/include/tiuser.h" # 24 "/usr/include/tiuser.h" # 27 "/usr/include/tiuser.h" extern int t_errno;# 33 "/usr/include/tiuser.h" # 22 "/usr/include/rpc/rpc.h" 2# 1 "/usr/ucbinclude/fcntl.h" 1#ident "@(#)fcntl.h 1.1 90/04/27 SMI" # 37 "/usr/ucbinclude/fcntl.h" # 74 "/usr/ucbinclude/fcntl.h" # 78 "/usr/ucbinclude/fcntl.h" # 153 "/usr/ucbinclude/fcntl.h" # 166 "/usr/ucbinclude/fcntl.h" typedef struct flock { short l_type; short l_whence; off_t l_start; off_t l_len; long l_sysid; pid_t l_pid; long pad[4]; } flock_t; # 23 "/usr/include/rpc/rpc.h" 2# 1 "/usr/include/memory.h" 1#ident "@(#)memory.h 1.8 92/07/14 SMI" # 15 "/usr/include/memory.h" # 21 "/usr/include/memory.h" # 29 "/usr/include/memory.h" extern void *memccpy(), *memchr(), *memcpy(), *memset();extern int memcmp();# 40 "/usr/include/memory.h" # 24 "/usr/include/rpc/rpc.h" 2# 29 "/usr/include/rpc/rpc.h" # 1 "/usr/include/rpc/xdr.h" 1#ident "@(#)xdr.h 1.26 95/02/06 SMI"# 1 "/usr/include/sys/byteorder.h" 1#ident "@(#)byteorder.h 1.9 94/01/04 SMI" # 1 "/usr/include/sys/isa_defs.h" 1#ident "@(#)isa_defs.h 1.7 94/10/26 SMI"# 121 "/usr/include/sys/isa_defs.h" # 135 "/usr/include/sys/isa_defs.h" # 175 "/usr/include/sys/isa_defs.h"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -