Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 294565 Details for
Bug 432303
gcc internal compiler error in final_scan_insn
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Input file
bad-file.input (text/plain), 204.78 KB, created by
Jerry Leichter
on 2008-02-11 15:02:19 UTC
(
hide
)
Description:
Input file
Filename:
MIME Type:
Creator:
Jerry Leichter
Created:
2008-02-11 15:02:19 UTC
Size:
204.78 KB
patch
obsolete
>#include <typeinfo> >#include <stddef.h> >void* si_new(size_t sz,const std::type_info& t,int& id); >void si_delete(void* p,size_t sz,const std::type_info& t,int& id); >#define SI_INSTRUMENT_STRUCT(tag) \ >void* operator new(size_t sz) \ >{ static int id = -1; \ > return si_new(sz,typeid(tag),id); \ >} \ >void* operator new[](size_t sz) \ >{ static int id = -1; \ > return si_new(sz,typeid(tag),id); \ >} \ >void operator delete(void* p,size_t sz) \ >{ static int id = -1; \ > si_delete(p,sz,typeid(tag),id); \ >} \ >void operator delete[](void* p,size_t sz) \ >{ static int id = -1; \ > si_delete(p,sz,typeid(tag),id); \ >} > >#define SI_INSTRUMENT_CLASS(tag) \ >public: SI_INSTRUMENT_STRUCT(tag) private: >#line 1 ># 1 "/emc/leichj/p4/main/smarts/platform/test/libsrc.c" ># 1 "<built-in>" ># 1 "<command line>" ># 1 "/emc/leichj/p4/main/smarts/platform/test/libsrc.c" ># 16 "/emc/leichj/p4/main/smarts/platform/test/libsrc.c" ># 1 "/emc/leichj/p4/main/smarts/platform/include/smarts.h" 1 ># 31 "/emc/leichj/p4/main/smarts/platform/include/smarts.h" ># 1 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 1 ># 55 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" ># 1 "/emc/leichj/p4/main/smarts/platform/include/multithread/splatform-threading.h" 1 ># 56 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/include/linux/splatform.h" 1 ># 99 "/emc/leichj/p4/main/smarts/platform/include/linux/splatform.h" >extern "C" >{ > > ># 1 "/usr/include/inttypes.h" 1 3 4 ># 26 "/usr/include/inttypes.h" 3 4 ># 1 "/usr/include/features.h" 1 3 4 ># 319 "/usr/include/features.h" 3 4 ># 1 "/usr/include/sys/cdefs.h" 1 3 4 ># 320 "/usr/include/features.h" 2 3 4 ># 342 "/usr/include/features.h" 3 4 ># 1 "/usr/include/gnu/stubs.h" 1 3 4 ># 343 "/usr/include/features.h" 2 3 4 ># 27 "/usr/include/inttypes.h" 2 3 4 > ># 1 "/usr/include/stdint.h" 1 3 4 ># 27 "/usr/include/stdint.h" 3 4 ># 1 "/usr/include/bits/wchar.h" 1 3 4 ># 28 "/usr/include/stdint.h" 2 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/stdint.h" 2 3 4 ># 37 "/usr/include/stdint.h" 3 4 >typedef signed char int8_t; >typedef short int int16_t; >typedef int int32_t; > > > >__extension__ >typedef long long int int64_t; > > > > >typedef unsigned char uint8_t; >typedef unsigned short int uint16_t; > >typedef unsigned int uint32_t; > > > > > >__extension__ >typedef unsigned long long int uint64_t; > > > > > > >typedef signed char int_least8_t; >typedef short int int_least16_t; >typedef int int_least32_t; > > > >__extension__ >typedef long long int int_least64_t; > > > >typedef unsigned char uint_least8_t; >typedef unsigned short int uint_least16_t; >typedef unsigned int uint_least32_t; > > > >__extension__ >typedef unsigned long long int uint_least64_t; > > > > > > >typedef signed char int_fast8_t; > > > > > >typedef int int_fast16_t; >typedef int int_fast32_t; >__extension__ >typedef long long int int_fast64_t; > > > >typedef unsigned char uint_fast8_t; > > > > > >typedef unsigned int uint_fast16_t; >typedef unsigned int uint_fast32_t; >__extension__ >typedef unsigned long long int uint_fast64_t; ># 126 "/usr/include/stdint.h" 3 4 >typedef int intptr_t; > > >typedef unsigned int uintptr_t; ># 138 "/usr/include/stdint.h" 3 4 >__extension__ >typedef long long int intmax_t; >__extension__ >typedef unsigned long long int uintmax_t; ># 29 "/usr/include/inttypes.h" 2 3 4 ># 274 "/usr/include/inttypes.h" 3 4 >extern "C" { ># 288 "/usr/include/inttypes.h" 3 4 >typedef struct > { > long long int quot; > long long int rem; > } imaxdiv_t; > > > > > >extern intmax_t imaxabs (intmax_t __n) throw () __attribute__ ((__const__)); > > >extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom) > throw () __attribute__ ((__const__)); > > >extern intmax_t strtoimax (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) throw (); > > >extern uintmax_t strtoumax (__const char *__restrict __nptr, > char ** __restrict __endptr, int __base) throw (); > > >extern intmax_t wcstoimax (__const wchar_t *__restrict __nptr, > wchar_t **__restrict __endptr, int __base) > throw (); > > >extern uintmax_t wcstoumax (__const wchar_t *__restrict __nptr, > wchar_t ** __restrict __endptr, int __base) > throw (); ># 459 "/usr/include/inttypes.h" 3 4 >} ># 104 "/emc/leichj/p4/main/smarts/platform/include/linux/splatform.h" 2 ># 1 "/usr/include/sys/types.h" 1 3 4 ># 29 "/usr/include/sys/types.h" 3 4 >extern "C" { > ># 1 "/usr/include/bits/types.h" 1 3 4 ># 28 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 29 "/usr/include/bits/types.h" 2 3 4 > > ># 32 "/usr/include/bits/types.h" 2 3 4 > > >typedef unsigned char __u_char; >typedef unsigned short int __u_short; >typedef unsigned int __u_int; >typedef unsigned long int __u_long; > > >typedef signed char __int8_t; >typedef unsigned char __uint8_t; >typedef signed short int __int16_t; >typedef unsigned short int __uint16_t; >typedef signed int __int32_t; >typedef unsigned int __uint32_t; > > > > >__extension__ typedef signed long long int __int64_t; >__extension__ typedef unsigned long long int __uint64_t; > > > > > > > >__extension__ typedef long long int __quad_t; >__extension__ typedef unsigned long long int __u_quad_t; ># 129 "/usr/include/bits/types.h" 3 4 ># 1 "/usr/include/bits/typesizes.h" 1 3 4 ># 130 "/usr/include/bits/types.h" 2 3 4 > > > > > > >__extension__ typedef __u_quad_t __dev_t; >__extension__ typedef unsigned int __uid_t; >__extension__ typedef unsigned int __gid_t; >__extension__ typedef unsigned long int __ino_t; >__extension__ typedef __u_quad_t __ino64_t; >__extension__ typedef unsigned int __mode_t; >__extension__ typedef unsigned int __nlink_t; >__extension__ typedef long int __off_t; >__extension__ typedef __quad_t __off64_t; >__extension__ typedef int __pid_t; >__extension__ typedef struct { int __val[2]; } __fsid_t; >__extension__ typedef long int __clock_t; >__extension__ typedef unsigned long int __rlim_t; >__extension__ typedef __u_quad_t __rlim64_t; >__extension__ typedef unsigned int __id_t; >__extension__ typedef long int __time_t; >__extension__ typedef unsigned int __useconds_t; >__extension__ typedef long int __suseconds_t; > >__extension__ typedef int __daddr_t; >__extension__ typedef long int __swblk_t; >__extension__ typedef int __key_t; > > >__extension__ typedef int __clockid_t; > > >__extension__ typedef int __timer_t; > > >__extension__ typedef long int __blksize_t; > > > > >__extension__ typedef long int __blkcnt_t; >__extension__ typedef __quad_t __blkcnt64_t; > > >__extension__ typedef unsigned long int __fsblkcnt_t; >__extension__ typedef __u_quad_t __fsblkcnt64_t; > > >__extension__ typedef unsigned long int __fsfilcnt_t; >__extension__ typedef __u_quad_t __fsfilcnt64_t; > >__extension__ typedef int __ssize_t; > > > >typedef __off64_t __loff_t; >typedef __quad_t *__qaddr_t; >typedef char *__caddr_t; > > >__extension__ typedef int __intptr_t; > > >__extension__ typedef unsigned int __socklen_t; ># 32 "/usr/include/sys/types.h" 2 3 4 > > > >typedef __u_char u_char; >typedef __u_short u_short; >typedef __u_int u_int; >typedef __u_long u_long; >typedef __quad_t quad_t; >typedef __u_quad_t u_quad_t; >typedef __fsid_t fsid_t; > > > > >typedef __loff_t loff_t; > > > >typedef __ino_t ino_t; > > > > > > >typedef __ino64_t ino64_t; > > > > >typedef __dev_t dev_t; > > > > >typedef __gid_t gid_t; > > > > >typedef __mode_t mode_t; > > > > >typedef __nlink_t nlink_t; > > > > >typedef __uid_t uid_t; > > > > > >typedef __off_t off_t; > > > > > > >typedef __off64_t off64_t; > > > > >typedef __pid_t pid_t; > > > > >typedef __id_t id_t; > > > > >typedef __ssize_t ssize_t; > > > > > >typedef __daddr_t daddr_t; >typedef __caddr_t caddr_t; > > > > > >typedef __key_t key_t; ># 133 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 58 "/usr/include/time.h" 3 4 > > >typedef __clock_t clock_t; > > > ># 74 "/usr/include/time.h" 3 4 > > >typedef __time_t time_t; > > > ># 92 "/usr/include/time.h" 3 4 >typedef __clockid_t clockid_t; ># 104 "/usr/include/time.h" 3 4 >typedef __timer_t timer_t; ># 134 "/usr/include/sys/types.h" 2 3 4 > > > >typedef __useconds_t useconds_t; > > > >typedef __suseconds_t suseconds_t; > > > > > ># 148 "/usr/include/sys/types.h" 2 3 4 > > > >typedef unsigned long int ulong; >typedef unsigned short int ushort; >typedef unsigned int uint; ># 197 "/usr/include/sys/types.h" 3 4 >typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); >typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); > >typedef int register_t __attribute__ ((__mode__ (__word__))); ># 213 "/usr/include/sys/types.h" 3 4 ># 1 "/usr/include/endian.h" 1 3 4 ># 37 "/usr/include/endian.h" 3 4 ># 1 "/usr/include/bits/endian.h" 1 3 4 ># 38 "/usr/include/endian.h" 2 3 4 ># 214 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/select.h" 1 3 4 ># 31 "/usr/include/sys/select.h" 3 4 ># 1 "/usr/include/bits/select.h" 1 3 4 ># 32 "/usr/include/sys/select.h" 2 3 4 > > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 23 "/usr/include/bits/sigset.h" 3 4 >typedef int __sig_atomic_t; > > > > >typedef struct > { > unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; > } __sigset_t; ># 35 "/usr/include/sys/select.h" 2 3 4 > > > >typedef __sigset_t sigset_t; > > > > > ># 1 "/usr/include/time.h" 1 3 4 ># 118 "/usr/include/time.h" 3 4 >struct timespec > { > __time_t tv_sec; > long int tv_nsec; > }; ># 45 "/usr/include/sys/select.h" 2 3 4 > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 69 "/usr/include/bits/time.h" 3 4 >struct timeval > { > __time_t tv_sec; > __suseconds_t tv_usec; > }; ># 47 "/usr/include/sys/select.h" 2 3 4 ># 55 "/usr/include/sys/select.h" 3 4 >typedef long int __fd_mask; ># 67 "/usr/include/sys/select.h" 3 4 >typedef struct > { > > > > __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))]; > > > > > > } fd_set; > > > > > > >typedef __fd_mask fd_mask; ># 99 "/usr/include/sys/select.h" 3 4 >extern "C" { ># 109 "/usr/include/sys/select.h" 3 4 >extern int select (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > struct timeval *__restrict __timeout); ># 121 "/usr/include/sys/select.h" 3 4 >extern int pselect (int __nfds, fd_set *__restrict __readfds, > fd_set *__restrict __writefds, > fd_set *__restrict __exceptfds, > const struct timespec *__restrict __timeout, > const __sigset_t *__restrict __sigmask); > > >} ># 217 "/usr/include/sys/types.h" 2 3 4 > > ># 1 "/usr/include/sys/sysmacros.h" 1 3 4 ># 29 "/usr/include/sys/sysmacros.h" 3 4 >__extension__ >extern __inline unsigned int gnu_dev_major (unsigned long long int __dev) > throw (); >__extension__ >extern __inline unsigned int gnu_dev_minor (unsigned long long int __dev) > throw (); >__extension__ >extern __inline unsigned long long int gnu_dev_makedev (unsigned int __major, > unsigned int __minor) > throw (); > > >__extension__ extern __inline unsigned int >gnu_dev_major (unsigned long long int __dev) throw () >{ > return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff); >} > >__extension__ extern __inline unsigned int >gnu_dev_minor (unsigned long long int __dev) throw () >{ > return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff); >} > >__extension__ extern __inline unsigned long long int >gnu_dev_makedev (unsigned int __major, unsigned int __minor) throw () >{ > return ((__minor & 0xff) | ((__major & 0xfff) << 8) > | (((unsigned long long int) (__minor & ~0xff)) << 12) > | (((unsigned long long int) (__major & ~0xfff)) << 32)); >} ># 220 "/usr/include/sys/types.h" 2 3 4 > > > > >typedef __blksize_t blksize_t; > > > > > > >typedef __blkcnt_t blkcnt_t; > > > >typedef __fsblkcnt_t fsblkcnt_t; > > > >typedef __fsfilcnt_t fsfilcnt_t; ># 258 "/usr/include/sys/types.h" 3 4 >typedef __blkcnt64_t blkcnt64_t; >typedef __fsblkcnt64_t fsblkcnt64_t; >typedef __fsfilcnt64_t fsfilcnt64_t; > > > > > ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 23 "/usr/include/bits/pthreadtypes.h" 3 4 ># 1 "/usr/include/bits/sched.h" 1 3 4 ># 83 "/usr/include/bits/sched.h" 3 4 >struct __sched_param > { > int __sched_priority; > }; ># 24 "/usr/include/bits/pthreadtypes.h" 2 3 4 > > >struct _pthread_fastlock >{ > long int __status; > int __spinlock; > >}; > > > >typedef struct _pthread_descr_struct *_pthread_descr; > > > > > >typedef struct __pthread_attr_s >{ > int __detachstate; > int __schedpolicy; > struct __sched_param __schedparam; > int __inheritsched; > int __scope; > size_t __guardsize; > int __stackaddr_set; > void *__stackaddr; > size_t __stacksize; >} pthread_attr_t; > > > > > >__extension__ typedef long long __pthread_cond_align_t; > > > > >typedef struct >{ > struct _pthread_fastlock __c_lock; > _pthread_descr __c_waiting; > char __padding[48 - sizeof (struct _pthread_fastlock) > - sizeof (_pthread_descr) - sizeof (__pthread_cond_align_t)]; > __pthread_cond_align_t __align; >} pthread_cond_t; > > > >typedef struct >{ > int __dummy; >} pthread_condattr_t; > > >typedef unsigned int pthread_key_t; > > > > > >typedef struct >{ > int __m_reserved; > int __m_count; > _pthread_descr __m_owner; > int __m_kind; > struct _pthread_fastlock __m_lock; >} pthread_mutex_t; > > > >typedef struct >{ > int __mutexkind; >} pthread_mutexattr_t; > > > >typedef int pthread_once_t; > > > > >typedef struct _pthread_rwlock_t >{ > struct _pthread_fastlock __rw_lock; > int __rw_readers; > _pthread_descr __rw_writer; > _pthread_descr __rw_read_waiting; > _pthread_descr __rw_write_waiting; > int __rw_kind; > int __rw_pshared; >} pthread_rwlock_t; > > > >typedef struct >{ > int __lockkind; > int __pshared; >} pthread_rwlockattr_t; > > > > >typedef volatile int pthread_spinlock_t; > > >typedef struct { > struct _pthread_fastlock __ba_lock; > int __ba_required; > int __ba_present; > _pthread_descr __ba_waiting; >} pthread_barrier_t; > > >typedef struct { > int __pshared; >} pthread_barrierattr_t; > > > > > >typedef unsigned long int pthread_t; ># 267 "/usr/include/sys/types.h" 2 3 4 > > >} ># 105 "/emc/leichj/p4/main/smarts/platform/include/linux/splatform.h" 2 ># 1 "/usr/include/sys/stat.h" 1 3 4 ># 37 "/usr/include/sys/stat.h" 3 4 ># 1 "/usr/include/time.h" 1 3 4 ># 38 "/usr/include/sys/stat.h" 2 3 4 ># 103 "/usr/include/sys/stat.h" 3 4 >extern "C" { > ># 1 "/usr/include/bits/stat.h" 1 3 4 ># 43 "/usr/include/bits/stat.h" 3 4 >struct stat > { > __dev_t st_dev; > > unsigned short int __pad1; > > > __ino_t st_ino; > > > > > __mode_t st_mode; > __nlink_t st_nlink; > > > > > __uid_t st_uid; > __gid_t st_gid; > > > > __dev_t st_rdev; > > unsigned short int __pad2; > > > __off_t st_size; > > > > __blksize_t st_blksize; > > __blkcnt_t st_blocks; ># 88 "/usr/include/bits/stat.h" 3 4 > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 106 "/usr/include/bits/stat.h" 3 4 > unsigned long int __unused4; > unsigned long int __unused5; > > > > > }; > > > >struct stat64 > { > __dev_t st_dev; > > > > > > unsigned int __pad1; > __ino_t __st_ino; > __mode_t st_mode; > __nlink_t st_nlink; > > __uid_t st_uid; > __gid_t st_gid; > > > > > > __dev_t st_rdev; > unsigned int __pad2; > __off64_t st_size; > > __blksize_t st_blksize; > __blkcnt64_t st_blocks; > > > > > > > > struct timespec st_atim; > struct timespec st_mtim; > struct timespec st_ctim; ># 166 "/usr/include/bits/stat.h" 3 4 > __ino64_t st_ino; > > }; ># 106 "/usr/include/sys/stat.h" 2 3 4 ># 207 "/usr/include/sys/stat.h" 3 4 >extern int stat (__const char *__restrict __file, > struct stat *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern int fstat (int __fd, struct stat *__buf) throw () __attribute__ ((__nonnull__ (2))); ># 226 "/usr/include/sys/stat.h" 3 4 >extern int stat64 (__const char *__restrict __file, > struct stat64 *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); >extern int fstat64 (int __fd, struct stat64 *__buf) throw () __attribute__ ((__nonnull__ (2))); > > > > > > >extern int lstat (__const char *__restrict __file, > struct stat *__restrict __buf) throw () __attribute__ ((__nonnull__ (1, 2))); ># 248 "/usr/include/sys/stat.h" 3 4 >extern int lstat64 (__const char *__restrict __file, > struct stat64 *__restrict __buf) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int chmod (__const char *__file, __mode_t __mode) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int lchmod (__const char *__file, __mode_t __mode) > throw () __attribute__ ((__nonnull__ (1))); > > > > >extern int fchmod (int __fd, __mode_t __mode) throw (); > > > > > >extern __mode_t umask (__mode_t __mask) throw (); > > > > >extern __mode_t getumask (void) throw (); > > > >extern int mkdir (__const char *__path, __mode_t __mode) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev) > throw () __attribute__ ((__nonnull__ (1))); > > > > >extern int mkfifo (__const char *__path, __mode_t __mode) > throw () __attribute__ ((__nonnull__ (1))); ># 324 "/usr/include/sys/stat.h" 3 4 >extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) > throw () __attribute__ ((__nonnull__ (3))); >extern int __xstat (int __ver, __const char *__filename, > struct stat *__stat_buf) throw () __attribute__ ((__nonnull__ (2, 3))); >extern int __lxstat (int __ver, __const char *__filename, > struct stat *__stat_buf) throw () __attribute__ ((__nonnull__ (2, 3))); ># 350 "/usr/include/sys/stat.h" 3 4 >extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf) > throw () __attribute__ ((__nonnull__ (3))); >extern int __xstat64 (int __ver, __const char *__filename, > struct stat64 *__stat_buf) throw () __attribute__ ((__nonnull__ (2, 3))); >extern int __lxstat64 (int __ver, __const char *__filename, > struct stat64 *__stat_buf) throw () __attribute__ ((__nonnull__ (2, 3))); > >extern int __xmknod (int __ver, __const char *__path, __mode_t __mode, > __dev_t *__dev) throw () __attribute__ ((__nonnull__ (2, 4))); > > > > >extern __inline__ int >stat (__const char *__path, struct stat *__statbuf) throw () >{ > return __xstat (3, __path, __statbuf); >} > > >extern __inline__ int >lstat (__const char *__path, struct stat *__statbuf) throw () >{ > return __lxstat (3, __path, __statbuf); >} > > >extern __inline__ int >fstat (int __fd, struct stat *__statbuf) throw () >{ > return __fxstat (3, __fd, __statbuf); >} > > >extern __inline__ int >mknod (__const char *__path, __mode_t __mode, __dev_t __dev) throw () >{ > return __xmknod (1, __path, __mode, &__dev); >} > > > > > >extern __inline__ int >stat64 (__const char *__path, struct stat64 *__statbuf) throw () >{ > return __xstat64 (3, __path, __statbuf); >} > > >extern __inline__ int >lstat64 (__const char *__path, struct stat64 *__statbuf) throw () >{ > return __lxstat64 (3, __path, __statbuf); >} > > >extern __inline__ int >fstat64 (int __fd, struct stat64 *__statbuf) throw () >{ > return __fxstat64 (3, __fd, __statbuf); >} > > > > >} ># 106 "/emc/leichj/p4/main/smarts/platform/include/linux/splatform.h" 2 ># 1 "/usr/include/fcntl.h" 1 3 4 ># 29 "/usr/include/fcntl.h" 3 4 >extern "C" { > > > ># 1 "/usr/include/bits/fcntl.h" 1 3 4 ># 26 "/usr/include/bits/fcntl.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 27 "/usr/include/bits/fcntl.h" 2 3 4 ># 152 "/usr/include/bits/fcntl.h" 3 4 >struct flock > { > short int l_type; > short int l_whence; > > __off_t l_start; > __off_t l_len; > > > > > __pid_t l_pid; > }; > > >struct flock64 > { > short int l_type; > short int l_whence; > __off64_t l_start; > __off64_t l_len; > __pid_t l_pid; > }; ># 197 "/usr/include/bits/fcntl.h" 3 4 >extern "C" { > > >extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count) > throw (); > >} ># 34 "/usr/include/fcntl.h" 2 3 4 ># 63 "/usr/include/fcntl.h" 3 4 >extern int fcntl (int __fd, int __cmd, ...); ># 72 "/usr/include/fcntl.h" 3 4 >extern int open (__const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1))); ># 82 "/usr/include/fcntl.h" 3 4 >extern int open64 (__const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1))); ># 91 "/usr/include/fcntl.h" 3 4 >extern int creat (__const char *__file, __mode_t __mode) __attribute__ ((__nonnull__ (1))); ># 101 "/usr/include/fcntl.h" 3 4 >extern int creat64 (__const char *__file, __mode_t __mode) __attribute__ ((__nonnull__ (1))); ># 120 "/usr/include/fcntl.h" 3 4 >extern int lockf (int __fd, int __cmd, __off_t __len); ># 129 "/usr/include/fcntl.h" 3 4 >extern int lockf64 (int __fd, int __cmd, __off64_t __len); > > > > > > > >extern int posix_fadvise (int __fd, __off_t __offset, __off_t __len, > int __advise) throw (); ># 149 "/usr/include/fcntl.h" 3 4 >extern int posix_fadvise64 (int __fd, __off64_t __offset, __off64_t __len, > int __advise) throw (); ># 159 "/usr/include/fcntl.h" 3 4 >extern int posix_fallocate (int __fd, __off_t __offset, __off_t __len); ># 170 "/usr/include/fcntl.h" 3 4 >extern int posix_fallocate64 (int __fd, __off64_t __offset, __off64_t __len); > > > >} ># 107 "/emc/leichj/p4/main/smarts/platform/include/linux/splatform.h" 2 ># 1 "/usr/include/unistd.h" 1 3 4 ># 28 "/usr/include/unistd.h" 3 4 >extern "C" { ># 171 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/bits/posix_opt.h" 1 3 4 ># 172 "/usr/include/unistd.h" 2 3 4 > > > ># 1 "/usr/include/bits/environments.h" 1 3 4 ># 23 "/usr/include/bits/environments.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 24 "/usr/include/bits/environments.h" 2 3 4 ># 176 "/usr/include/unistd.h" 2 3 4 ># 195 "/usr/include/unistd.h" 3 4 ># 196 "/usr/include/unistd.h" 2 3 4 ># 243 "/usr/include/unistd.h" 3 4 >typedef __socklen_t socklen_t; ># 256 "/usr/include/unistd.h" 3 4 >extern int access (__const char *__name, int __type) throw () __attribute__ ((__nonnull__ (1))); > > > > >extern int euidaccess (__const char *__name, int __type) > throw () __attribute__ ((__nonnull__ (1))); ># 287 "/usr/include/unistd.h" 3 4 >extern __off_t lseek (int __fd, __off_t __offset, int __whence) throw (); ># 298 "/usr/include/unistd.h" 3 4 >extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence) throw (); > > > > > > >extern int close (int __fd); > > > > > > >extern ssize_t read (int __fd, void *__buf, size_t __nbytes); > > > > > >extern ssize_t write (int __fd, __const void *__buf, size_t __n); ># 328 "/usr/include/unistd.h" 3 4 >extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, > __off_t __offset); > > > > > > >extern ssize_t pwrite (int __fd, __const void *__buf, size_t __n, > __off_t __offset); ># 356 "/usr/include/unistd.h" 3 4 >extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes, > __off64_t __offset); > > >extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n, > __off64_t __offset); > > > > > > > >extern int pipe (int __pipedes[2]) throw (); ># 378 "/usr/include/unistd.h" 3 4 >extern unsigned int alarm (unsigned int __seconds) throw (); ># 390 "/usr/include/unistd.h" 3 4 >extern unsigned int sleep (unsigned int __seconds); > > > > > > >extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval) > throw (); > > > > > > >extern int usleep (__useconds_t __useconds); ># 414 "/usr/include/unistd.h" 3 4 >extern int pause (void); > > > >extern int chown (__const char *__file, __uid_t __owner, __gid_t __group) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int fchown (int __fd, __uid_t __owner, __gid_t __group) throw (); > > > > >extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group) > throw () __attribute__ ((__nonnull__ (1))); > > > > >extern int chdir (__const char *__path) throw () __attribute__ ((__nonnull__ (1))); > > > >extern int fchdir (int __fd) throw (); ># 448 "/usr/include/unistd.h" 3 4 >extern char *getcwd (char *__buf, size_t __size) throw (); > > > > > >extern char *get_current_dir_name (void) throw (); > > > > > > >extern char *getwd (char *__buf) throw () __attribute__ ((__nonnull__ (1))); > > > > >extern int dup (int __fd) throw (); > > >extern int dup2 (int __fd, int __fd2) throw (); > > >extern char **__environ; > >extern char **environ; > > > > > >extern int execve (__const char *__path, char *__const __argv[], > char *__const __envp[]) throw () __attribute__ ((__nonnull__ (1))); > > > > >extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[]) > throw (); > > > > >extern int execv (__const char *__path, char *__const __argv[]) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int execle (__const char *__path, __const char *__arg, ...) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int execl (__const char *__path, __const char *__arg, ...) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int execvp (__const char *__file, char *__const __argv[]) > throw () __attribute__ ((__nonnull__ (1))); > > > > >extern int execlp (__const char *__file, __const char *__arg, ...) > throw () __attribute__ ((__nonnull__ (1))); > > > > >extern int nice (int __inc) throw (); > > > > >extern void _exit (int __status) __attribute__ ((__noreturn__)); > > > > > ># 1 "/usr/include/bits/confname.h" 1 3 4 ># 26 "/usr/include/bits/confname.h" 3 4 >enum > { > _PC_LINK_MAX, > > _PC_MAX_CANON, > > _PC_MAX_INPUT, > > _PC_NAME_MAX, > > _PC_PATH_MAX, > > _PC_PIPE_BUF, > > _PC_CHOWN_RESTRICTED, > > _PC_NO_TRUNC, > > _PC_VDISABLE, > > _PC_SYNC_IO, > > _PC_ASYNC_IO, > > _PC_PRIO_IO, > > _PC_SOCK_MAXBUF, > > _PC_FILESIZEBITS, > > _PC_REC_INCR_XFER_SIZE, > > _PC_REC_MAX_XFER_SIZE, > > _PC_REC_MIN_XFER_SIZE, > > _PC_REC_XFER_ALIGN, > > _PC_ALLOC_SIZE_MIN, > > _PC_SYMLINK_MAX, > > _PC_2_SYMLINKS > > }; > > >enum > { > _SC_ARG_MAX, > > _SC_CHILD_MAX, > > _SC_CLK_TCK, > > _SC_NGROUPS_MAX, > > _SC_OPEN_MAX, > > _SC_STREAM_MAX, > > _SC_TZNAME_MAX, > > _SC_JOB_CONTROL, > > _SC_SAVED_IDS, > > _SC_REALTIME_SIGNALS, > > _SC_PRIORITY_SCHEDULING, > > _SC_TIMERS, > > _SC_ASYNCHRONOUS_IO, > > _SC_PRIORITIZED_IO, > > _SC_SYNCHRONIZED_IO, > > _SC_FSYNC, > > _SC_MAPPED_FILES, > > _SC_MEMLOCK, > > _SC_MEMLOCK_RANGE, > > _SC_MEMORY_PROTECTION, > > _SC_MESSAGE_PASSING, > > _SC_SEMAPHORES, > > _SC_SHARED_MEMORY_OBJECTS, > > _SC_AIO_LISTIO_MAX, > > _SC_AIO_MAX, > > _SC_AIO_PRIO_DELTA_MAX, > > _SC_DELAYTIMER_MAX, > > _SC_MQ_OPEN_MAX, > > _SC_MQ_PRIO_MAX, > > _SC_VERSION, > > _SC_PAGESIZE, > > > _SC_RTSIG_MAX, > > _SC_SEM_NSEMS_MAX, > > _SC_SEM_VALUE_MAX, > > _SC_SIGQUEUE_MAX, > > _SC_TIMER_MAX, > > > > > _SC_BC_BASE_MAX, > > _SC_BC_DIM_MAX, > > _SC_BC_SCALE_MAX, > > _SC_BC_STRING_MAX, > > _SC_COLL_WEIGHTS_MAX, > > _SC_EQUIV_CLASS_MAX, > > _SC_EXPR_NEST_MAX, > > _SC_LINE_MAX, > > _SC_RE_DUP_MAX, > > _SC_CHARCLASS_NAME_MAX, > > > _SC_2_VERSION, > > _SC_2_C_BIND, > > _SC_2_C_DEV, > > _SC_2_FORT_DEV, > > _SC_2_FORT_RUN, > > _SC_2_SW_DEV, > > _SC_2_LOCALEDEF, > > > _SC_PII, > > _SC_PII_XTI, > > _SC_PII_SOCKET, > > _SC_PII_INTERNET, > > _SC_PII_OSI, > > _SC_POLL, > > _SC_SELECT, > > _SC_UIO_MAXIOV, > > _SC_IOV_MAX = _SC_UIO_MAXIOV, > > _SC_PII_INTERNET_STREAM, > > _SC_PII_INTERNET_DGRAM, > > _SC_PII_OSI_COTS, > > _SC_PII_OSI_CLTS, > > _SC_PII_OSI_M, > > _SC_T_IOV_MAX, > > > > _SC_THREADS, > > _SC_THREAD_SAFE_FUNCTIONS, > > _SC_GETGR_R_SIZE_MAX, > > _SC_GETPW_R_SIZE_MAX, > > _SC_LOGIN_NAME_MAX, > > _SC_TTY_NAME_MAX, > > _SC_THREAD_DESTRUCTOR_ITERATIONS, > > _SC_THREAD_KEYS_MAX, > > _SC_THREAD_STACK_MIN, > > _SC_THREAD_THREADS_MAX, > > _SC_THREAD_ATTR_STACKADDR, > > _SC_THREAD_ATTR_STACKSIZE, > > _SC_THREAD_PRIORITY_SCHEDULING, > > _SC_THREAD_PRIO_INHERIT, > > _SC_THREAD_PRIO_PROTECT, > > _SC_THREAD_PROCESS_SHARED, > > > _SC_NPROCESSORS_CONF, > > _SC_NPROCESSORS_ONLN, > > _SC_PHYS_PAGES, > > _SC_AVPHYS_PAGES, > > _SC_ATEXIT_MAX, > > _SC_PASS_MAX, > > > _SC_XOPEN_VERSION, > > _SC_XOPEN_XCU_VERSION, > > _SC_XOPEN_UNIX, > > _SC_XOPEN_CRYPT, > > _SC_XOPEN_ENH_I18N, > > _SC_XOPEN_SHM, > > > _SC_2_CHAR_TERM, > > _SC_2_C_VERSION, > > _SC_2_UPE, > > > _SC_XOPEN_XPG2, > > _SC_XOPEN_XPG3, > > _SC_XOPEN_XPG4, > > > _SC_CHAR_BIT, > > _SC_CHAR_MAX, > > _SC_CHAR_MIN, > > _SC_INT_MAX, > > _SC_INT_MIN, > > _SC_LONG_BIT, > > _SC_WORD_BIT, > > _SC_MB_LEN_MAX, > > _SC_NZERO, > > _SC_SSIZE_MAX, > > _SC_SCHAR_MAX, > > _SC_SCHAR_MIN, > > _SC_SHRT_MAX, > > _SC_SHRT_MIN, > > _SC_UCHAR_MAX, > > _SC_UINT_MAX, > > _SC_ULONG_MAX, > > _SC_USHRT_MAX, > > > _SC_NL_ARGMAX, > > _SC_NL_LANGMAX, > > _SC_NL_MSGMAX, > > _SC_NL_NMAX, > > _SC_NL_SETMAX, > > _SC_NL_TEXTMAX, > > > _SC_XBS5_ILP32_OFF32, > > _SC_XBS5_ILP32_OFFBIG, > > _SC_XBS5_LP64_OFF64, > > _SC_XBS5_LPBIG_OFFBIG, > > > _SC_XOPEN_LEGACY, > > _SC_XOPEN_REALTIME, > > _SC_XOPEN_REALTIME_THREADS, > > > _SC_ADVISORY_INFO, > > _SC_BARRIERS, > > _SC_BASE, > > _SC_C_LANG_SUPPORT, > > _SC_C_LANG_SUPPORT_R, > > _SC_CLOCK_SELECTION, > > _SC_CPUTIME, > > _SC_THREAD_CPUTIME, > > _SC_DEVICE_IO, > > _SC_DEVICE_SPECIFIC, > > _SC_DEVICE_SPECIFIC_R, > > _SC_FD_MGMT, > > _SC_FIFO, > > _SC_PIPE, > > _SC_FILE_ATTRIBUTES, > > _SC_FILE_LOCKING, > > _SC_FILE_SYSTEM, > > _SC_MONOTONIC_CLOCK, > > _SC_MULTI_PROCESS, > > _SC_SINGLE_PROCESS, > > _SC_NETWORKING, > > _SC_READER_WRITER_LOCKS, > > _SC_SPIN_LOCKS, > > _SC_REGEXP, > > _SC_REGEX_VERSION, > > _SC_SHELL, > > _SC_SIGNALS, > > _SC_SPAWN, > > _SC_SPORADIC_SERVER, > > _SC_THREAD_SPORADIC_SERVER, > > _SC_SYSTEM_DATABASE, > > _SC_SYSTEM_DATABASE_R, > > _SC_TIMEOUTS, > > _SC_TYPED_MEMORY_OBJECTS, > > _SC_USER_GROUPS, > > _SC_USER_GROUPS_R, > > _SC_2_PBS, > > _SC_2_PBS_ACCOUNTING, > > _SC_2_PBS_LOCATE, > > _SC_2_PBS_MESSAGE, > > _SC_2_PBS_TRACK, > > _SC_SYMLOOP_MAX, > > _SC_STREAMS, > > _SC_2_PBS_CHECKPOINT, > > > _SC_V6_ILP32_OFF32, > > _SC_V6_ILP32_OFFBIG, > > _SC_V6_LP64_OFF64, > > _SC_V6_LPBIG_OFFBIG, > > > _SC_HOST_NAME_MAX, > > _SC_TRACE, > > _SC_TRACE_EVENT_FILTER, > > _SC_TRACE_INHERIT, > > _SC_TRACE_LOG, > > > _SC_LEVEL1_ICACHE_SIZE, > > _SC_LEVEL1_ICACHE_ASSOC, > > _SC_LEVEL1_ICACHE_LINESIZE, > > _SC_LEVEL1_DCACHE_SIZE, > > _SC_LEVEL1_DCACHE_ASSOC, > > _SC_LEVEL1_DCACHE_LINESIZE, > > _SC_LEVEL2_CACHE_SIZE, > > _SC_LEVEL2_CACHE_ASSOC, > > _SC_LEVEL2_CACHE_LINESIZE, > > _SC_LEVEL3_CACHE_SIZE, > > _SC_LEVEL3_CACHE_ASSOC, > > _SC_LEVEL3_CACHE_LINESIZE, > > _SC_LEVEL4_CACHE_SIZE, > > _SC_LEVEL4_CACHE_ASSOC, > > _SC_LEVEL4_CACHE_LINESIZE, > > > > _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50, > > _SC_RAW_SOCKETS > > }; > > >enum > { > _CS_PATH, > > > _CS_V6_WIDTH_RESTRICTED_ENVS, > > > _CS_GNU_LIBC_VERSION, > > _CS_GNU_LIBPTHREAD_VERSION, > > > _CS_LFS_CFLAGS = 1000, > > _CS_LFS_LDFLAGS, > > _CS_LFS_LIBS, > > _CS_LFS_LINTFLAGS, > > _CS_LFS64_CFLAGS, > > _CS_LFS64_LDFLAGS, > > _CS_LFS64_LIBS, > > _CS_LFS64_LINTFLAGS, > > > _CS_XBS5_ILP32_OFF32_CFLAGS = 1100, > > _CS_XBS5_ILP32_OFF32_LDFLAGS, > > _CS_XBS5_ILP32_OFF32_LIBS, > > _CS_XBS5_ILP32_OFF32_LINTFLAGS, > > _CS_XBS5_ILP32_OFFBIG_CFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LDFLAGS, > > _CS_XBS5_ILP32_OFFBIG_LIBS, > > _CS_XBS5_ILP32_OFFBIG_LINTFLAGS, > > _CS_XBS5_LP64_OFF64_CFLAGS, > > _CS_XBS5_LP64_OFF64_LDFLAGS, > > _CS_XBS5_LP64_OFF64_LIBS, > > _CS_XBS5_LP64_OFF64_LINTFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_CFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LDFLAGS, > > _CS_XBS5_LPBIG_OFFBIG_LIBS, > > _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS, > > > _CS_POSIX_V6_ILP32_OFF32_CFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFF32_LIBS, > > _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_ILP32_OFFBIG_LIBS, > > _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS, > > _CS_POSIX_V6_LP64_OFF64_CFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LDFLAGS, > > _CS_POSIX_V6_LP64_OFF64_LIBS, > > _CS_POSIX_V6_LP64_OFF64_LINTFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LIBS, > > _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS > > }; ># 531 "/usr/include/unistd.h" 2 3 4 > > >extern long int pathconf (__const char *__path, int __name) > throw () __attribute__ ((__nonnull__ (1))); > > >extern long int fpathconf (int __fd, int __name) throw (); > > >extern long int sysconf (int __name) throw () __attribute__ ((__const__)); > > > >extern size_t confstr (int __name, char *__buf, size_t __len) throw (); > > > > >extern __pid_t getpid (void) throw (); > > >extern __pid_t getppid (void) throw (); > > > > >extern __pid_t getpgrp (void) throw (); ># 567 "/usr/include/unistd.h" 3 4 >extern __pid_t __getpgid (__pid_t __pid) throw (); > >extern __pid_t getpgid (__pid_t __pid) throw (); > > > > > > >extern int setpgid (__pid_t __pid, __pid_t __pgid) throw (); ># 593 "/usr/include/unistd.h" 3 4 >extern int setpgrp (void) throw (); ># 610 "/usr/include/unistd.h" 3 4 >extern __pid_t setsid (void) throw (); > > > >extern __pid_t getsid (__pid_t __pid) throw (); > > > >extern __uid_t getuid (void) throw (); > > >extern __uid_t geteuid (void) throw (); > > >extern __gid_t getgid (void) throw (); > > >extern __gid_t getegid (void) throw (); > > > > >extern int getgroups (int __size, __gid_t __list[]) throw (); > > > >extern int group_member (__gid_t __gid) throw (); > > > > > > >extern int setuid (__uid_t __uid) throw (); > > > > >extern int setreuid (__uid_t __ruid, __uid_t __euid) throw (); > > > > >extern int seteuid (__uid_t __uid) throw (); > > > > > > >extern int setgid (__gid_t __gid) throw (); > > > > >extern int setregid (__gid_t __rgid, __gid_t __egid) throw (); > > > > >extern int setegid (__gid_t __gid) throw (); > > > > > >extern int getresuid (__uid_t *__euid, __uid_t *__ruid, __uid_t *__suid); > > > >extern int getresgid (__gid_t *__egid, __gid_t *__rgid, __gid_t *__sgid); > > > >extern int setresuid (__uid_t __euid, __uid_t __ruid, __uid_t __suid); > > > >extern int setresgid (__gid_t __egid, __gid_t __rgid, __gid_t __sgid); > > > > > > >extern __pid_t fork (void) throw (); > > > > > > >extern __pid_t vfork (void) throw (); > > > > > >extern char *ttyname (int __fd) throw (); > > > >extern int ttyname_r (int __fd, char *__buf, size_t __buflen) > throw () __attribute__ ((__nonnull__ (2))); > > > >extern int isatty (int __fd) throw (); > > > > > >extern int ttyslot (void) throw (); > > > > >extern int link (__const char *__from, __const char *__to) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern int symlink (__const char *__from, __const char *__to) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int readlink (__const char *__restrict __path, char *__restrict __buf, > size_t __len) throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern int unlink (__const char *__name) throw () __attribute__ ((__nonnull__ (1))); > > >extern int rmdir (__const char *__path) throw () __attribute__ ((__nonnull__ (1))); > > > >extern __pid_t tcgetpgrp (int __fd) throw (); > > >extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) throw (); > > > > > > >extern char *getlogin (void); > > > > > > > >extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1))); > > > > >extern int setlogin (__const char *__name) throw () __attribute__ ((__nonnull__ (1))); ># 783 "/usr/include/unistd.h" 3 4 ># 1 "/usr/include/getopt.h" 1 3 4 ># 50 "/usr/include/getopt.h" 3 4 >extern "C" { ># 59 "/usr/include/getopt.h" 3 4 >extern char *optarg; ># 73 "/usr/include/getopt.h" 3 4 >extern int optind; > > > > >extern int opterr; > > > >extern int optopt; ># 152 "/usr/include/getopt.h" 3 4 >extern int getopt (int ___argc, char *const *___argv, const char *__shortopts) > throw (); ># 171 "/usr/include/getopt.h" 3 4 >} ># 784 "/usr/include/unistd.h" 2 3 4 > > > > > > > >extern int gethostname (char *__name, size_t __len) throw () __attribute__ ((__nonnull__ (1))); > > > > > > >extern int sethostname (__const char *__name, size_t __len) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern int sethostid (long int __id) throw (); > > > > > >extern int getdomainname (char *__name, size_t __len) > throw () __attribute__ ((__nonnull__ (1))); >extern int setdomainname (__const char *__name, size_t __len) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int vhangup (void) throw (); > > >extern int revoke (__const char *__file) throw () __attribute__ ((__nonnull__ (1))); > > > > > > > >extern int profil (unsigned short int *__sample_buffer, size_t __size, > size_t __offset, unsigned int __scale) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int acct (__const char *__name) throw (); > > > >extern char *getusershell (void) throw (); >extern void endusershell (void) throw (); >extern void setusershell (void) throw (); > > > > > >extern int daemon (int __nochdir, int __noclose) throw (); > > > > > > >extern int chroot (__const char *__path) throw () __attribute__ ((__nonnull__ (1))); > > > >extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1))); ># 869 "/usr/include/unistd.h" 3 4 >extern int fsync (int __fd); > > > > > > >extern long int gethostid (void); > > >extern void sync (void) throw (); > > > > >extern int getpagesize (void) throw () __attribute__ ((__const__)); > > > > >extern int getdtablesize (void) throw (); > > > > >extern int truncate (__const char *__file, __off_t __length) > throw () __attribute__ ((__nonnull__ (1))); ># 906 "/usr/include/unistd.h" 3 4 >extern int truncate64 (__const char *__file, __off64_t __length) > throw () __attribute__ ((__nonnull__ (1))); ># 916 "/usr/include/unistd.h" 3 4 >extern int ftruncate (int __fd, __off_t __length) throw (); ># 926 "/usr/include/unistd.h" 3 4 >extern int ftruncate64 (int __fd, __off64_t __length) throw (); ># 936 "/usr/include/unistd.h" 3 4 >extern int brk (void *__addr) throw (); > > > > > >extern void *sbrk (intptr_t __delta) throw (); ># 957 "/usr/include/unistd.h" 3 4 >extern long int syscall (long int __sysno, ...) throw (); ># 1011 "/usr/include/unistd.h" 3 4 >extern int fdatasync (int __fildes) throw (); > > > > > > > >extern char *crypt (__const char *__key, __const char *__salt) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern void encrypt (char *__block, int __edflag) throw () __attribute__ ((__nonnull__ (1))); > > > > > > >extern void swab (__const void *__restrict __from, void *__restrict __to, > ssize_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > > > >extern char *ctermid (char *__s) throw () __attribute__ ((__nonnull__ (1))); > > >} ># 108 "/emc/leichj/p4/main/smarts/platform/include/linux/splatform.h" 2 ># 1 "/usr/include/errno.h" 1 3 4 ># 32 "/usr/include/errno.h" 3 4 >extern "C" { > > > ># 1 "/usr/include/bits/errno.h" 1 3 4 ># 25 "/usr/include/bits/errno.h" 3 4 ># 1 "/usr/include/linux/errno.h" 1 3 4 > > > ># 1 "/usr/include/asm/errno.h" 1 3 4 > > > > > > ># 1 "/usr/include/asm-i386/errno.h" 1 3 4 ># 8 "/usr/include/asm/errno.h" 2 3 4 ># 5 "/usr/include/linux/errno.h" 2 3 4 ># 26 "/usr/include/bits/errno.h" 2 3 4 ># 38 "/usr/include/bits/errno.h" 3 4 >extern int *__errno_location (void) throw () __attribute__ ((__const__)); ># 37 "/usr/include/errno.h" 2 3 4 ># 55 "/usr/include/errno.h" 3 4 >extern char *program_invocation_name, *program_invocation_short_name; > > > >} ># 69 "/usr/include/errno.h" 3 4 >typedef int error_t; ># 109 "/emc/leichj/p4/main/smarts/platform/include/linux/splatform.h" 2 ># 1 "/usr/include/stdio.h" 1 3 4 ># 30 "/usr/include/stdio.h" 3 4 >extern "C" { > > > ># 35 "/usr/include/stdio.h" 2 3 4 ># 44 "/usr/include/stdio.h" 3 4 > > >typedef struct _IO_FILE FILE; > > > > > ># 62 "/usr/include/stdio.h" 3 4 >typedef struct _IO_FILE __FILE; ># 72 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/libio.h" 1 3 4 ># 32 "/usr/include/libio.h" 3 4 ># 1 "/usr/include/_G_config.h" 1 3 4 ># 14 "/usr/include/_G_config.h" 3 4 ># 15 "/usr/include/_G_config.h" 2 3 4 > > > > > > >typedef unsigned int wint_t; > > ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 ># 76 "/usr/include/wchar.h" 3 4 >typedef struct >{ > int __count; > union > { > wint_t __wch; > char __wchb[4]; > } __value; >} __mbstate_t; ># 25 "/usr/include/_G_config.h" 2 3 4 > >typedef struct >{ > __off_t __pos; > __mbstate_t __state; >} _G_fpos_t; >typedef struct >{ > __off64_t __pos; > __mbstate_t __state; >} _G_fpos64_t; ># 44 "/usr/include/_G_config.h" 3 4 ># 1 "/usr/include/gconv.h" 1 3 4 ># 28 "/usr/include/gconv.h" 3 4 ># 1 "/usr/include/wchar.h" 1 3 4 ># 48 "/usr/include/wchar.h" 3 4 ># 49 "/usr/include/wchar.h" 2 3 4 ># 29 "/usr/include/gconv.h" 2 3 4 > > ># 32 "/usr/include/gconv.h" 2 3 4 > > > > > >enum >{ > __GCONV_OK = 0, > __GCONV_NOCONV, > __GCONV_NODB, > __GCONV_NOMEM, > > __GCONV_EMPTY_INPUT, > __GCONV_FULL_OUTPUT, > __GCONV_ILLEGAL_INPUT, > __GCONV_INCOMPLETE_INPUT, > > __GCONV_ILLEGAL_DESCRIPTOR, > __GCONV_INTERNAL_ERROR >}; > > > >enum >{ > __GCONV_IS_LAST = 0x0001, > __GCONV_IGNORE_ERRORS = 0x0002 >}; > > > >struct __gconv_step; >struct __gconv_step_data; >struct __gconv_loaded_object; >struct __gconv_trans_data; > > > >typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, > __const unsigned char **, __const unsigned char *, > unsigned char **, size_t *, int, int); > > >typedef wint_t (*__gconv_btowc_fct) (struct __gconv_step *, unsigned char); > > >typedef int (*__gconv_init_fct) (struct __gconv_step *); >typedef void (*__gconv_end_fct) (struct __gconv_step *); > > > >typedef int (*__gconv_trans_fct) (struct __gconv_step *, > struct __gconv_step_data *, void *, > __const unsigned char *, > __const unsigned char **, > __const unsigned char *, unsigned char **, > size_t *); > > >typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, > __const unsigned char *, > unsigned char *, unsigned char *); > > >typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, > size_t *); > > >typedef int (*__gconv_trans_init_fct) (void **, const char *); >typedef void (*__gconv_trans_end_fct) (void *); > >struct __gconv_trans_data >{typedef __gconv_trans_data SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) > > __gconv_trans_fct __trans_fct; > __gconv_trans_context_fct __trans_context_fct; > __gconv_trans_end_fct __trans_end_fct; > void *__data; > struct __gconv_trans_data *__next; >}; > > > >struct __gconv_step >{typedef __gconv_step SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) > struct __gconv_loaded_object *__shlib_handle; > __const char *__modname; > > int __counter; > > char *__from_name; > char *__to_name; > > __gconv_fct __fct; > __gconv_btowc_fct __btowc_fct; > __gconv_init_fct __init_fct; > __gconv_end_fct __end_fct; > > > > int __min_needed_from; > int __max_needed_from; > int __min_needed_to; > int __max_needed_to; > > > int __stateful; > > void *__data; >}; > > > >struct __gconv_step_data >{typedef __gconv_step_data SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) > unsigned char *__outbuf; > unsigned char *__outbufend; > > > > int __flags; > > > > int __invocation_counter; > > > > int __internal_use; > > __mbstate_t *__statep; > __mbstate_t __state; > > > > struct __gconv_trans_data *__trans; >}; > > > >typedef struct __gconv_info >{typedef __gconv_info SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) > size_t __nsteps; > struct __gconv_step *__steps; > __extension__ struct __gconv_step_data __data []; >} *__gconv_t; ># 45 "/usr/include/_G_config.h" 2 3 4 >typedef union >{ > struct __gconv_info __cd; > struct > { > struct __gconv_info __cd; > struct __gconv_step_data __data; > } __combined; >} _G_iconv_t; > >typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); >typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); >typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); >typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); ># 33 "/usr/include/libio.h" 2 3 4 ># 53 "/usr/include/libio.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.5/include/stdarg.h" 1 3 4 ># 43 "/usr/lib/gcc/x86_64-redhat-linux/3.4.5/include/stdarg.h" 3 4 >typedef __builtin_va_list __gnuc_va_list; ># 54 "/usr/include/libio.h" 2 3 4 ># 166 "/usr/include/libio.h" 3 4 >struct _IO_jump_t; struct _IO_FILE; ># 176 "/usr/include/libio.h" 3 4 >typedef void _IO_lock_t; > > > > > >struct _IO_marker { > struct _IO_marker *_next; > struct _IO_FILE *_sbuf; > > > > int _pos; ># 199 "/usr/include/libio.h" 3 4 >}; > > >enum __codecvt_result >{ > __codecvt_ok, > __codecvt_partial, > __codecvt_error, > __codecvt_noconv >}; ># 267 "/usr/include/libio.h" 3 4 >struct _IO_FILE { > int _flags; > > > > > char* _IO_read_ptr; > char* _IO_read_end; > char* _IO_read_base; > char* _IO_write_base; > char* _IO_write_ptr; > char* _IO_write_end; > char* _IO_buf_base; > char* _IO_buf_end; > > char *_IO_save_base; > char *_IO_backup_base; > char *_IO_save_end; > > struct _IO_marker *_markers; > > struct _IO_FILE *_chain; > > int _fileno; > > > > int _flags2; > > __off_t _old_offset; > > > > unsigned short _cur_column; > signed char _vtable_offset; > char _shortbuf[1]; > > > > _IO_lock_t *_lock; ># 315 "/usr/include/libio.h" 3 4 > __off64_t _offset; > > > > > > void *__pad1; > void *__pad2; > > int _mode; > > char _unused2[15 * sizeof (int) - 2 * sizeof (void *)]; > >}; > > > > > >struct _IO_FILE_plus; > >extern struct _IO_FILE_plus _IO_2_1_stdin_; >extern struct _IO_FILE_plus _IO_2_1_stdout_; >extern struct _IO_FILE_plus _IO_2_1_stderr_; ># 354 "/usr/include/libio.h" 3 4 >typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); > > > > > > > >typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, > size_t __n); > > > > > > > >typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); > > >typedef int __io_close_fn (void *__cookie); > > > > >typedef __io_read_fn cookie_read_function_t; >typedef __io_write_fn cookie_write_function_t; >typedef __io_seek_fn cookie_seek_function_t; >typedef __io_close_fn cookie_close_function_t; > > >typedef struct >{ > __io_read_fn *read; > __io_write_fn *write; > __io_seek_fn *seek; > __io_close_fn *close; >} _IO_cookie_io_functions_t; >typedef _IO_cookie_io_functions_t cookie_io_functions_t; > >struct _IO_cookie_file; > > >extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, > void *__cookie, _IO_cookie_io_functions_t __fns); > > > > >extern "C" { > > >extern int __underflow (_IO_FILE *) throw (); >extern int __uflow (_IO_FILE *) throw (); >extern int __overflow (_IO_FILE *, int) throw (); >extern wint_t __wunderflow (_IO_FILE *) throw (); >extern wint_t __wuflow (_IO_FILE *) throw (); >extern wint_t __woverflow (_IO_FILE *, wint_t) throw (); ># 444 "/usr/include/libio.h" 3 4 >extern int _IO_getc (_IO_FILE *__fp) throw (); >extern int _IO_putc (int __c, _IO_FILE *__fp) throw (); >extern int _IO_feof (_IO_FILE *__fp) throw (); >extern int _IO_ferror (_IO_FILE *__fp) throw (); > >extern int _IO_peekc_locked (_IO_FILE *__fp) throw (); > > > > > >extern void _IO_flockfile (_IO_FILE *) throw (); >extern void _IO_funlockfile (_IO_FILE *) throw (); >extern int _IO_ftrylockfile (_IO_FILE *) throw (); ># 474 "/usr/include/libio.h" 3 4 >extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, > __gnuc_va_list, int *__restrict) throw (); >extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, > __gnuc_va_list) throw (); >extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) throw (); >extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) throw (); > >extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) throw (); >extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) throw (); > >extern void _IO_free_backup_area (_IO_FILE *) throw (); ># 532 "/usr/include/libio.h" 3 4 >} ># 73 "/usr/include/stdio.h" 2 3 4 > > > > >typedef __gnuc_va_list va_list; ># 86 "/usr/include/stdio.h" 3 4 > > >typedef _G_fpos_t fpos_t; > > > > > >typedef _G_fpos64_t fpos64_t; ># 138 "/usr/include/stdio.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 139 "/usr/include/stdio.h" 2 3 4 > > > >extern struct _IO_FILE *stdin; >extern struct _IO_FILE *stdout; >extern struct _IO_FILE *stderr; > > > > > > > > > >extern int remove (__const char *__filename) throw (); > >extern int rename (__const char *__old, __const char *__new) throw (); > > > > > > > > > >extern FILE *tmpfile (void); ># 176 "/usr/include/stdio.h" 3 4 >extern FILE *tmpfile64 (void); > > > >extern char *tmpnam (char *__s) throw (); > > > > > >extern char *tmpnam_r (char *__s) throw (); ># 198 "/usr/include/stdio.h" 3 4 >extern char *tempnam (__const char *__dir, __const char *__pfx) > throw () __attribute__ ((__malloc__)); > > > > > > > > >extern int fclose (FILE *__stream); > > > > >extern int fflush (FILE *__stream); > ># 223 "/usr/include/stdio.h" 3 4 >extern int fflush_unlocked (FILE *__stream); ># 233 "/usr/include/stdio.h" 3 4 >extern int fcloseall (void); > > > > > > > > > >extern FILE *fopen (__const char *__restrict __filename, > __const char *__restrict __modes); > > > > >extern FILE *freopen (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream); ># 264 "/usr/include/stdio.h" 3 4 > > >extern FILE *fopen64 (__const char *__restrict __filename, > __const char *__restrict __modes); >extern FILE *freopen64 (__const char *__restrict __filename, > __const char *__restrict __modes, > FILE *__restrict __stream); > > > > >extern FILE *fdopen (int __fd, __const char *__modes) throw (); > > > > > >extern FILE *fopencookie (void *__restrict __magic_cookie, > __const char *__restrict __modes, > _IO_cookie_io_functions_t __io_funcs) throw (); > > >extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) throw (); > > > > >extern FILE *open_memstream (char **__restrict __bufloc, > size_t *__restrict __sizeloc) throw (); > > > > > > >extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) throw (); > > > >extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, > int __modes, size_t __n) throw (); > > > > > >extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, > size_t __size) throw (); > > >extern void setlinebuf (FILE *__stream) throw (); > > > > > > > > >extern int fprintf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int printf (__const char *__restrict __format, ...); > >extern int sprintf (char *__restrict __s, > __const char *__restrict __format, ...) throw (); > > > > > >extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg); > > > > >extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg); > >extern int vsprintf (char *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) throw (); > > > > > >extern int snprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, ...) > throw () __attribute__ ((__format__ (__printf__, 3, 4))); > >extern int vsnprintf (char *__restrict __s, size_t __maxlen, > __const char *__restrict __format, __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__printf__, 3, 0))); > > > > > > >extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f, > __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__printf__, 2, 0))); >extern int __asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))); >extern int asprintf (char **__restrict __ptr, > __const char *__restrict __fmt, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > >extern int vdprintf (int __fd, __const char *__restrict __fmt, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__printf__, 2, 0))); >extern int dprintf (int __fd, __const char *__restrict __fmt, ...) > __attribute__ ((__format__ (__printf__, 2, 3))); > > > > > > > > >extern int fscanf (FILE *__restrict __stream, > __const char *__restrict __format, ...); > > > > >extern int scanf (__const char *__restrict __format, ...); > >extern int sscanf (__const char *__restrict __s, > __const char *__restrict __format, ...) throw (); > > > > > > > > >extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, > __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 2, 0))); > > > > > >extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) > __attribute__ ((__format__ (__scanf__, 1, 0))); > > >extern int vsscanf (__const char *__restrict __s, > __const char *__restrict __format, __gnuc_va_list __arg) > throw () __attribute__ ((__format__ (__scanf__, 2, 0))); > > > > > > > > > >extern int fgetc (FILE *__stream); >extern int getc (FILE *__stream); > > > > > >extern int getchar (void); > ># 456 "/usr/include/stdio.h" 3 4 >extern int getc_unlocked (FILE *__stream); >extern int getchar_unlocked (void); ># 467 "/usr/include/stdio.h" 3 4 >extern int fgetc_unlocked (FILE *__stream); > > > > > > > > > > > >extern int fputc (int __c, FILE *__stream); >extern int putc (int __c, FILE *__stream); > > > > > >extern int putchar (int __c); > ># 500 "/usr/include/stdio.h" 3 4 >extern int fputc_unlocked (int __c, FILE *__stream); > > > > > > > >extern int putc_unlocked (int __c, FILE *__stream); >extern int putchar_unlocked (int __c); > > > > > > >extern int getw (FILE *__stream); > > >extern int putw (int __w, FILE *__stream); > > > > > > > > >extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream); > > > > > > >extern char *gets (char *__s); > ># 545 "/usr/include/stdio.h" 3 4 >extern char *fgets_unlocked (char *__restrict __s, int __n, > FILE *__restrict __stream); ># 561 "/usr/include/stdio.h" 3 4 >extern __ssize_t __getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream); >extern __ssize_t getdelim (char **__restrict __lineptr, > size_t *__restrict __n, int __delimiter, > FILE *__restrict __stream); > > > > > > > >extern __ssize_t getline (char **__restrict __lineptr, > size_t *__restrict __n, > FILE *__restrict __stream); > > > > > > > > >extern int fputs (__const char *__restrict __s, FILE *__restrict __stream); > > > > > >extern int puts (__const char *__s); > > > > > > >extern int ungetc (int __c, FILE *__stream); > > > > > > >extern size_t fread (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); > > > > >extern size_t fwrite (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __s); > ># 622 "/usr/include/stdio.h" 3 4 >extern int fputs_unlocked (__const char *__restrict __s, > FILE *__restrict __stream); ># 633 "/usr/include/stdio.h" 3 4 >extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); >extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, > size_t __n, FILE *__restrict __stream); > > > > > > > > >extern int fseek (FILE *__stream, long int __off, int __whence); > > > > >extern long int ftell (FILE *__stream); > > > > >extern void rewind (FILE *__stream); > ># 669 "/usr/include/stdio.h" 3 4 >extern int fseeko (FILE *__stream, __off_t __off, int __whence); > > > > >extern __off_t ftello (FILE *__stream); ># 688 "/usr/include/stdio.h" 3 4 > > > > > > >extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos); > > > > >extern int fsetpos (FILE *__stream, __const fpos_t *__pos); ># 711 "/usr/include/stdio.h" 3 4 > > > >extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence); >extern __off64_t ftello64 (FILE *__stream); >extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos); >extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos); > > > > >extern void clearerr (FILE *__stream) throw (); > >extern int feof (FILE *__stream) throw (); > >extern int ferror (FILE *__stream) throw (); > > > > >extern void clearerr_unlocked (FILE *__stream) throw (); >extern int feof_unlocked (FILE *__stream) throw (); >extern int ferror_unlocked (FILE *__stream) throw (); > > > > > > > > >extern void perror (__const char *__s); > > > > > > ># 1 "/usr/include/bits/sys_errlist.h" 1 3 4 ># 27 "/usr/include/bits/sys_errlist.h" 3 4 >extern int sys_nerr; >extern __const char *__const sys_errlist[]; > > >extern int _sys_nerr; >extern __const char *__const _sys_errlist[]; ># 750 "/usr/include/stdio.h" 2 3 4 > > > > >extern int fileno (FILE *__stream) throw (); > > > > >extern int fileno_unlocked (FILE *__stream) throw (); ># 769 "/usr/include/stdio.h" 3 4 >extern FILE *popen (__const char *__command, __const char *__modes); > > > > > >extern int pclose (FILE *__stream); > > > > > >extern char *ctermid (char *__s) throw (); > > > > > >extern char *cuserid (char *__s); > > > > >struct obstack; > > >extern int obstack_printf (struct obstack *__restrict __obstack, > __const char *__restrict __format, ...) > throw () __attribute__ ((__format__ (__printf__, 2, 3))); >extern int obstack_vprintf (struct obstack *__restrict __obstack, > __const char *__restrict __format, > __gnuc_va_list __args) > throw () __attribute__ ((__format__ (__printf__, 2, 0))); > > > > > > > >extern void flockfile (FILE *__stream) throw (); > > > >extern int ftrylockfile (FILE *__stream) throw (); > > >extern void funlockfile (FILE *__stream) throw (); ># 836 "/usr/include/stdio.h" 3 4 >} ># 110 "/emc/leichj/p4/main/smarts/platform/include/linux/splatform.h" 2 ># 1 "/usr/include/time.h" 1 3 4 ># 30 "/usr/include/time.h" 3 4 >extern "C" { > > > > > > > ># 39 "/usr/include/time.h" 2 3 4 > > > ># 1 "/usr/include/bits/time.h" 1 3 4 ># 43 "/usr/include/time.h" 2 3 4 ># 129 "/usr/include/time.h" 3 4 > > >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; > > > long int tm_gmtoff; > __const char *tm_zone; > > > > >}; > > > > > > > > >struct itimerspec > { > struct timespec it_interval; > struct timespec it_value; > }; > > >struct sigevent; ># 178 "/usr/include/time.h" 3 4 > > > >extern clock_t clock (void) throw (); > > >extern time_t time (time_t *__timer) throw (); > > >extern double difftime (time_t __time1, time_t __time0) > throw () __attribute__ ((__const__)); > > >extern time_t mktime (struct tm *__tp) throw (); > > > > > >extern size_t strftime (char *__restrict __s, size_t __maxsize, > __const char *__restrict __format, > __const struct tm *__restrict __tp) throw (); > > > > > >extern char *strptime (__const char *__restrict __s, > __const char *__restrict __fmt, struct tm *__tp) > throw (); > > > > > ># 1 "/usr/include/xlocale.h" 1 3 4 ># 28 "/usr/include/xlocale.h" 3 4 >typedef struct __locale_struct >{ > > struct locale_data *__locales[13]; > > > const unsigned short int *__ctype_b; > const int *__ctype_tolower; > const int *__ctype_toupper; > > > const char *__names[13]; >} *__locale_t; ># 214 "/usr/include/time.h" 2 3 4 > >extern size_t strftime_l (char *__restrict __s, size_t __maxsize, > __const char *__restrict __format, > __const struct tm *__restrict __tp, > __locale_t __loc) throw (); > >extern char *strptime_l (__const char *__restrict __s, > __const char *__restrict __fmt, struct tm *__tp, > __locale_t __loc) throw (); > > > > > > >extern struct tm *gmtime (__const time_t *__timer) throw (); > > > >extern struct tm *localtime (__const time_t *__timer) throw (); > > > > > >extern struct tm *gmtime_r (__const time_t *__restrict __timer, > struct tm *__restrict __tp) throw (); > > > >extern struct tm *localtime_r (__const time_t *__restrict __timer, > struct tm *__restrict __tp) throw (); > > > > > >extern char *asctime (__const struct tm *__tp) throw (); > > >extern char *ctime (__const time_t *__timer) throw (); > > > > > > > >extern char *asctime_r (__const struct tm *__restrict __tp, > char *__restrict __buf) throw (); > > >extern char *ctime_r (__const time_t *__restrict __timer, > char *__restrict __buf) throw (); > > > > >extern char *__tzname[2]; >extern int __daylight; >extern long int __timezone; > > > > >extern char *tzname[2]; > > > >extern void tzset (void) throw (); > > > >extern int daylight; >extern long int timezone; > > > > > >extern int stime (__const time_t *__when) throw (); ># 309 "/usr/include/time.h" 3 4 >extern time_t timegm (struct tm *__tp) throw (); > > >extern time_t timelocal (struct tm *__tp) throw (); > > >extern int dysize (int __year) throw () __attribute__ ((__const__)); ># 324 "/usr/include/time.h" 3 4 >extern int nanosleep (__const struct timespec *__requested_time, > struct timespec *__remaining); > > > >extern int clock_getres (clockid_t __clock_id, struct timespec *__res) throw (); > > >extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) throw (); > > >extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) > throw (); > > > > > > >extern int clock_nanosleep (clockid_t __clock_id, int __flags, > __const struct timespec *__req, > struct timespec *__rem); > > >extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) throw (); > > > > >extern int timer_create (clockid_t __clock_id, > struct sigevent *__restrict __evp, > timer_t *__restrict __timerid) throw (); > > >extern int timer_delete (timer_t __timerid) throw (); > > >extern int timer_settime (timer_t __timerid, int __flags, > __const struct itimerspec *__restrict __value, > struct itimerspec *__restrict __ovalue) throw (); > > >extern int timer_gettime (timer_t __timerid, struct itimerspec *__value) > throw (); > > >extern int timer_getoverrun (timer_t __timerid) throw (); ># 386 "/usr/include/time.h" 3 4 >extern int getdate_err; ># 395 "/usr/include/time.h" 3 4 >extern struct tm *getdate (__const char *__string); ># 409 "/usr/include/time.h" 3 4 >extern int getdate_r (__const char *__restrict __string, > struct tm *__restrict __resbufp); > > >} ># 111 "/emc/leichj/p4/main/smarts/platform/include/linux/splatform.h" 2 > > >} > > > > > > > >typedef char si_char8_t; > > >typedef uint8_t si_uchar8_t; > > >typedef int8_t si_int8_t; > > > >typedef uint8_t si_uint8_t; > > >typedef int16_t si_int16_t; > > >typedef uint16_t si_uint16_t; > > >typedef int32_t si_int32_t; > > >typedef uint32_t si_uint32_t; > > >typedef long long si_int64_t; > > >typedef unsigned long long si_uint64_t; > > >typedef long long si_longlong_t; > > >typedef unsigned long long si_ulonglong_t; > > >typedef ssize_t si_ssize_t; > > >typedef float si_float32_t; > > >typedef double si_float64_t; ># 57 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 673 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" >typedef int sm_bool_t; > > > > > > > >typedef int sm_err_t; ># 707 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" ># 1 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" 1 ># 23 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" ># 1 "/emc/leichj/p4/main/smarts/platform/misc/posix/ssi_misc.h" 1 ># 14 "/emc/leichj/p4/main/smarts/platform/misc/posix/ssi_misc.h" ># 1 "/usr/include/syslog.h" 1 3 4 ># 1 "/usr/include/sys/syslog.h" 1 3 4 ># 37 "/usr/include/sys/syslog.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.5/include/stdarg.h" 1 3 4 ># 38 "/usr/include/sys/syslog.h" 2 3 4 ># 169 "/usr/include/sys/syslog.h" 3 4 >extern "C" { > > > > > >extern void closelog (void); > > > > > >extern void openlog (__const char *__ident, int __option, int __facility); > > >extern int setlogmask (int __mask) throw (); > > > > > >extern void syslog (int __pri, __const char *__fmt, ...) > __attribute__ ((__format__(__printf__, 2, 3))); ># 200 "/usr/include/sys/syslog.h" 3 4 >extern void vsyslog (int __pri, __const char *__fmt, __gnuc_va_list __ap) > __attribute__ ((__format__(__printf__, 2, 0))); > > >} ># 2 "/usr/include/syslog.h" 2 3 4 ># 15 "/emc/leichj/p4/main/smarts/platform/misc/posix/ssi_misc.h" 2 > ># 1 "/usr/include/sys/time.h" 1 3 4 ># 28 "/usr/include/sys/time.h" 3 4 ># 1 "/usr/include/bits/time.h" 1 3 4 ># 29 "/usr/include/sys/time.h" 2 3 4 ># 38 "/usr/include/sys/time.h" 3 4 >extern "C" { ># 56 "/usr/include/sys/time.h" 3 4 >struct timezone > { > int tz_minuteswest; > int tz_dsttime; > }; > >typedef struct timezone *__restrict __timezone_ptr_t; ># 72 "/usr/include/sys/time.h" 3 4 >extern int gettimeofday (struct timeval *__restrict __tv, > __timezone_ptr_t __tz) throw (); > > > > >extern int settimeofday (__const struct timeval *__tv, > __const struct timezone *__tz) throw (); > > > > > >extern int adjtime (__const struct timeval *__delta, > struct timeval *__olddelta) throw (); > > > > >enum __itimer_which > { > > ITIMER_REAL = 0, > > > ITIMER_VIRTUAL = 1, > > > > ITIMER_PROF = 2 > > }; > > > >struct itimerval > { > > struct timeval it_interval; > > struct timeval it_value; > }; > > > > > > >typedef int __itimer_which_t; > > > > >extern int getitimer (__itimer_which_t __which, > struct itimerval *__value) throw (); > > > > >extern int setitimer (__itimer_which_t __which, > __const struct itimerval *__restrict __new, > struct itimerval *__restrict __old) throw (); > > > > >extern int utimes (__const char *__file, __const struct timeval __tvp[2]) > throw (); > > > >extern int lutimes (__const char *__file, __const struct timeval __tvp[2]) > throw (); > > >extern int futimes (int __fd, __const struct timeval __tvp[2]) throw (); ># 181 "/usr/include/sys/time.h" 3 4 >} ># 17 "/emc/leichj/p4/main/smarts/platform/misc/posix/ssi_misc.h" 2 ># 38 "/emc/leichj/p4/main/smarts/platform/misc/posix/ssi_misc.h" >typedef struct { > si_uint32_t magic; > FILE* f; > FILE* fout; > pid_t pid; > sm_bool_t stat_valid; > sm_err_t stat; >} si_pipe_t; > > > >extern "C" { ># 61 "/emc/leichj/p4/main/smarts/platform/misc/posix/ssi_misc.h" >int sm_si_callmain(int (*main)(int,char**),int argc,char **argv); > > > > > >sm_err_t sm_POSIXstacktrace_init(void); >void sm_POSIXstacktrace(sm_bool_t stdinfo, int line, const char *file); ># 120 "/emc/leichj/p4/main/smarts/platform/misc/posix/ssi_misc.h" >typedef ino_t si_ino_t; >typedef dev_t si_dev_t; > > >typedef int si_sock_t; > > >} ># 24 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" 2 ># 33 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" ># 1 "/emc/leichj/p4/main/smarts/platform/include/../misc/../misc/si_error.h" 1 ># 26 "/emc/leichj/p4/main/smarts/platform/include/../misc/../misc/si_error.h" >typedef enum si_error_code_e { > SI_ERRCODE_NCHARS = 4, > SI_ERRCODE_CHARSIZE = 6, > SI_ERRCODE_RANGE = 8 >} si_error_code_e; ># 34 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" 2 ># 350 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" >extern "C" { ># 360 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > extern const char* sm_si_current_user_extern; > extern const char* sm_si_unprivileged_user_extern; > extern const char* sm_si_logname_extern; > > > > > > extern sm_bool_t si_enable_win32_eventlog; ># 390 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_init_only_multithreaded(void); ># 406 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_init(void); ># 419 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_daemonize(void); ># 433 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void >sm_si_panic_internal(const char* filename, unsigned lineo); ># 449 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void >sm_si_server_shutdown(si_int32_t code); ># 478 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > const char * >sm_si_gethome(void); > > > > > pid_t >sm_si_getpid(void); ># 495 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" >struct sm_version_info_s >{ ># 505 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > int major_version; > > > > > > > int minor_version; > > > > > > > int patch_version; > > > > > > > int buildnum; > > > > > const char* component; > > > > > const char* version; > > > > > const char* builddate; > > > > > const char* vendor; > > > > > const char* copyright; > > > > > const char* homeurl; ># 565 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > const char* BV; > > > > > > > const char* comment; ># 583 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > const char* sccs; > > > > > > > const volatile struct sm_version_info_s* > next; >}; > > > > >typedef struct sm_version_info_s sm_version_info_t; ># 609 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > extern const volatile sm_version_info_t* sm_platform_version; ># 664 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > char* >sm_si_format_version(const volatile sm_version_info_t* vi > = sm_platform_version, > sm_bool_t show_component = 0, > char* buf = (__null),size_t size = 0); ># 684 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > char* >sm_si_format_suite_versions(void); ># 694 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void >sm_si_set_suite_versions(const char *); ># 705 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > const char* >sm_si_get_suite_versions(void); ># 718 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void >si_print_main_version(const char* program); ># 730 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void >sm_si_add_version_info(const volatile sm_version_info_t* vi); ># 811 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > int >sm_si_osversion(void); ># 823 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > long >sm_si_option_value(const char* optname); > > > > >struct sockaddr; ># 848 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_bool_t >sm_si_address_is_acceptable(struct sockaddr* addr); ># 875 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" >enum sm_err_flags_e >{ > > > SI_ERR_FORCE_WARN = 1, > > > > > > SI_ERR_FORCE_TRACE = SI_ERR_FORCE_WARN << 1, > > > > > > SI_ERR_SPECIAL_TRACE = SI_ERR_FORCE_TRACE << 1 >}; > > >typedef enum sm_err_flags_e sm_err_flags_t; ># 936 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_bool_t >sm_si_get_error_info(sm_err_t err,const char** table, const char** name, > const char** text,sm_err_flags_t* flags); ># 956 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > const char* >sm_si_strerror(int err); ># 975 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > const char* >sm_si_error_name(int err); > > > > > > > > sm_err_t >sm_si_error_number(const char* name); ># 1003 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > char * >sm_si_error_table_name(sm_err_t code, > char buffer[SI_ERRCODE_NCHARS + 1] ); ># 1057 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_error_messages(const char *const *msgs, > const char *const *names, > sm_err_t base, > unsigned nmsgs ); ># 1096 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void >sm_si_print_stacktrace_internal(int line,const char* file); ># 1129 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_print_stacktrace_initinternal(void); ># 1326 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > int >sm_si_getopt(char* const* argv, > const char* optstring, > char** scanptr, > int* optind, > char** optarg ); ># 1446 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > int >sm_si_getsubopt(char** optionsp, > const char* const* tokens, > char** valuep ); ># 1555 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > int >sm_si_getsubopt_complete(char** optionsp, > const char* const* tokens, > char** valuep ); ># 1622 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_bool_t >sm_si_moreoptval(char** olistp, > char** valuep ); ># 1648 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_argv_clone(char ***argvp, > char *const *argv2 ); ># 1717 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_argv_parse > (char ***argvp, > const char *cmdstr ); ># 1760 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_argv_string > (char **cmdstr, > const char **argv ); ># 1796 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_shquote > (char **cmdstr, > const char * const arg ); ># 1831 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_shquotev(char **cmdstr, > int argc, > char * const * argv ); > > > > > > > > void >sm_si_argv_delete(char** argv ); ># 1905 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void >sm_si_syslog(int priority, > const char* message, > ... ); ># 1938 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void >sm_si_win32_eventlog( > int event_type, > int category, > int eventID, > const char *p1 = (__null), > const char *p2 = (__null), > const char *p3 = (__null), > const char *p4 = (__null), > const char *p5 = (__null), > const char *p6 = (__null) > ); ># 1967 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > int >sm_si_setlogmask(int maskpri ); ># 1984 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > int >sm_si_parselevel(const char *lev ); ># 2002 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_parseloglevel(const char *lev ); ># 2014 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_parseerrlevel(const char *lev ); ># 2026 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_parsetracelevel(const char *lev ); ># 2061 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void >sm_si_setlogname(const char *name, > sm_bool_t lock ); > > > > > > >struct sm_roll_ctx_s >{ int fileno; > char* newname; > char* filename; >}; > > > > >typedef struct sm_roll_ctx_s sm_roll_ctx_t; ># 2126 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_roll_err_file(const char* newName,sm_roll_ctx_t **ctx = (__null)); ># 2164 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >si_roll_general(const char* newName, const char* path_var, const char* subdir, const char* suffix, char* buffer, size_t bufsize); ># 2194 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >si_roll_specific(const char* outfile); ># 2208 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" >struct si_timespec_s { > > si_int32_t seconds; > > si_int32_t nanoseconds; >}; > > > > > >typedef struct si_timespec_s si_timespec_t; > > > > >struct sm_time_formats_s >{ > const char* date; > > > > > > > const char* time; > > > > > > > const char* datetime; ># 2275 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > const char* hptime; ># 2306 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > const char* interval; > > > > > > > const char* hpinterval; >}; > > > > > >typedef struct sm_time_formats_s sm_time_formats_t; ># 2329 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > extern const sm_time_formats_t* const sm_std_time_formats; ># 2360 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_nanosleep(const si_timespec_t* rqtp, > si_timespec_t* rmtp ); ># 2380 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_gettime(si_timespec_t* rqtp ); ># 2399 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_format_hptime(char *buf,size_t bufsiz,const char* format,si_int32_t nsec); ># 2415 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_format_interval(char *buf,size_t bufsiz,const char* format,si_uint32_t sec); > > > > > > > > void >sm_si_substitute_hp_format(char *fmt,char sub); ># 2469 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void >sm_si_lock_locale(void); ># 2512 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void >sm_si_save_locale(void); ># 2525 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void >sm_si_unlock_locale(void); ># 2573 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_localtime(time_t utime,struct tm *btime); ># 2603 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_gmtime(time_t utime,struct tm *btime); ># 2628 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > time_t >sm_si_mktime(struct tm *timep); ># 2664 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > size_t >sm_si_strftime(char *s,size_t maxsize,const char *fmt, > const struct tm *timep); ># 2791 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_command_open(const char* command, > const char* options, > const char* user, > > si_pipe_t* stream, > > ... ); ># 2911 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_command_openv(char* const argv[], > const char* options, > const char* user, > > si_pipe_t* stream, > > ... ); ># 2975 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_command_status(si_pipe_t* stream, > int* status ); ># 3019 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_command_kill(si_pipe_t* stream, > int grace = 10 ); ># 3042 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_command_close(si_pipe_t* stream , > int* status ); ># 3069 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_command_stop_graceful(si_pipe_t* stream ); ># 3095 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_command_stop_forceful(si_pipe_t* stream ); > > > > > > void >si_command_destruct(void); ># 3129 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_command_execv(char* const argv[]); > > > > > > >enum si_cmd_system_options_e { > > SM_CMD_INPUT = 1, > > > SM_CMD_OUTPUT = (SM_CMD_INPUT << 1), ># 3151 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > SM_CMD_DEFINE_ENV = (SM_CMD_INPUT << 2) >}; > > > typedef enum si_cmd_system_options_e si_cmd_system_options_t; ># 3217 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_command_system(const char* cmdline, int *status, si_uint32_t options, ...); ># 3265 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" >typedef struct sm_wildcard_s sm_wildcard_t; ># 3388 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_wildcard_t* sm_si_compile_pattern(const char* pattern); ># 3400 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t > sm_si_match_wildcard(const sm_wildcard_t* wildcard,const char* string); ># 3411 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void sm_si_free_wildcard(sm_wildcard_t*); > > > > >typedef struct sm_regexp_s sm_regexp_t; ># 3445 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_regexp_t* sm_si_compile_regexp(const char* regexp_string); ># 3463 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t > sm_si_match_regexp(const sm_regexp_t* regexp,const char* string); ># 3474 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void sm_si_free_regexp(sm_regexp_t* regexp); ># 3487 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" >enum SI_VISIT { > > SI_PREORDER, > > SI_POSTORDER, > > SI_ENDORDER, > > SI_LEAF >}; > >typedef enum SI_VISIT SI_VISIT; ># 3551 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void* >sm_si_tsearch(const void* key, > void** rootp, > int (*compar)(const void*, const void*) ); ># 3589 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void* >sm_si_tdelete(const void* key, > void** rootp, > int (*compar)(const void*, const void*) ); ># 3621 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void* >sm_si_tfind(const void* key, > void *const *rootp, > int (*compar)(const void*, const void*) ); ># 3665 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void >sm_si_twalk(const void* root, > void (*action)(const void*, SI_VISIT, int) ); ># 3676 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > const void* >si_tkey(const void* node); ># 3698 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" >enum sm_pathparse_option_e { > > SM_PATHPARSE_READ = 1, > > SM_PATHPARSE_WRITE = 2, > > > > > SM_PATHPARSE_CREATE = 4, > > > > SM_PATHPARSE_EXEC = 8, > > SM_PATH_NOESC_F1 = 16, > > SM_PATH_NOESC_F2 = 32, > > SM_PATH_NOESC_F3 = 64}; >typedef enum sm_pathparse_option_e sm_pathparse_option_t; ># 3761 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_pathparse( > const char *filename, > const char *default_file_spec, > const char *related_file_spec, > int options, > char *buffer, > size_t bufsize); > > > > > >enum sm_fparse_opt_e { > > SM_FP_DEFAULT = 0, > > SM_FP_NOESC_F1 = 16, > > SM_FP_NOESC_F2 = 32, > > SM_FP_NOESC_F3 = 64, > > SM_FP_NOSYSDEF = 128 >}; > >typedef enum sm_fparse_opt_e sm_fparse_opt_t; ># 3796 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" >enum sm_fparse_fld { > > SM_FP_SCHEME = 1, > > SM_FP_HOST, > > SM_FP_DIRECTORY, > > SM_FP_FILENAME, > > SM_FP_TYPE, > > SM_FP_SUBTYPE, > > SM_FP_ALL, > > SM_FP_FILESPEC, > > SM_FP_FILETYPESUB}; > >typedef enum sm_fparse_fld sm_fparse_fld_t; ># 4019 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_fparse( > const char *primary_file_spec, > const char *default_file_spec, > const char *related_file_spec, > int option, > sm_fparse_fld_t field, > char *buffer, > size_t bufsize, > sm_bool_t slashcvt); ># 4041 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_bool_t >sm_si_can_access( > const char *filespec, > int rights, > sm_bool_t iscreate); ># 4060 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_getfs(const char *filespec, char *buffer, size_t buflen); ># 4095 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_fgetln(FILE *fp, size_t *linelen, char **buf, size_t *buflen); > > > > > >struct si_fstat_s >{ > > > > si_dev_t st_dev; > > > > > > time_t st_mtim; > > > > > > size_t st_size; >}; > > > > >typedef struct si_fstat_s si_fstat_t; > > > > > >struct si_cryptodata_s >{ ># 4142 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > si_dev_t st_ino; > > > > > > si_ino_t st_dev; >}; > > > > >typedef struct si_cryptodata_s si_cryptodata_t; ># 4169 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_isdir(const char* path); ># 4193 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >si_fstat(const char* path,si_fstat_t* data); ># 4223 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_getcryptodata_(const char* path,si_cryptodata_t* data); ># 4276 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_getrealpath(const char* path,size_t realPathLen,char* realPath); ># 4306 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_env_clone(char ***envp, > char *const *env2 ); ># 4329 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >sm_si_env_cloneMyEnv(char ***envp ); ># 4387 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > sm_err_t >si_env_put(char ***envp, > const char *varname, > const char *value ); ># 4405 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > void >sm_si_env_delete(char** env ); ># 4473 "/emc/leichj/p4/main/smarts/platform/include/../misc/si_misc.h" > size_t >si_hashaddr(const void* addr); > > > > > > >} ># 708 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" 1 ># 18 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" ># 1 "/emc/leichj/p4/main/smarts/platform/mutex/posix/ssi_mutex.h" 1 ># 15 "/emc/leichj/p4/main/smarts/platform/mutex/posix/ssi_mutex.h" ># 1 "/usr/include/pthread.h" 1 3 4 ># 20 "/usr/include/pthread.h" 3 4 ># 1 "/usr/include/sched.h" 1 3 4 ># 32 "/usr/include/sched.h" 3 4 ># 1 "/usr/include/bits/sched.h" 1 3 4 ># 62 "/usr/include/bits/sched.h" 3 4 >struct sched_param > { > int __sched_priority; > }; > >extern "C" { > > > >extern int clone (int (*__fn) (void *__arg), void *__child_stack, > int __flags, void *__arg) throw (); > > >} ># 98 "/usr/include/bits/sched.h" 3 4 >typedef unsigned long int __cpu_mask; > > > > > > >typedef struct >{ > __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))]; >} cpu_set_t; ># 33 "/usr/include/sched.h" 2 3 4 > > > > >extern "C" { > > >extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param) > throw (); > > >extern int sched_getparam (__pid_t __pid, struct sched_param *__param) throw (); > > >extern int sched_setscheduler (__pid_t __pid, int __policy, > __const struct sched_param *__param) throw (); > > >extern int sched_getscheduler (__pid_t __pid) throw (); > > >extern int sched_yield (void) throw (); > > >extern int sched_get_priority_max (int __algorithm) throw (); > > >extern int sched_get_priority_min (int __algorithm) throw (); > > >extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) throw (); ># 76 "/usr/include/sched.h" 3 4 >extern int sched_setaffinity (__pid_t __pid, size_t __cpusetsize, > __const cpu_set_t *__cpuset) throw (); > > >extern int sched_getaffinity (__pid_t __pid, size_t __cpusetsize, > cpu_set_t *__cpuset) throw (); > > >} ># 21 "/usr/include/pthread.h" 2 3 4 > > > ># 1 "/usr/include/signal.h" 1 3 4 ># 31 "/usr/include/signal.h" 3 4 >extern "C" { > ># 1 "/usr/include/bits/sigset.h" 1 3 4 ># 34 "/usr/include/signal.h" 2 3 4 ># 400 "/usr/include/signal.h" 3 4 >} ># 25 "/usr/include/pthread.h" 2 3 4 ># 1 "/usr/include/bits/pthreadtypes.h" 1 3 4 ># 26 "/usr/include/pthread.h" 2 3 4 ># 1 "/usr/include/bits/initspin.h" 1 3 4 ># 27 "/usr/include/pthread.h" 2 3 4 > > >extern "C" { ># 59 "/usr/include/pthread.h" 3 4 >enum >{ > PTHREAD_CREATE_JOINABLE, > > PTHREAD_CREATE_DETACHED > >}; > >enum >{ > PTHREAD_INHERIT_SCHED, > > PTHREAD_EXPLICIT_SCHED > >}; > >enum >{ > PTHREAD_SCOPE_SYSTEM, > > PTHREAD_SCOPE_PROCESS > >}; > >enum >{ > PTHREAD_MUTEX_TIMED_NP, > PTHREAD_MUTEX_RECURSIVE_NP, > PTHREAD_MUTEX_ERRORCHECK_NP, > PTHREAD_MUTEX_ADAPTIVE_NP > > , > PTHREAD_MUTEX_NORMAL = PTHREAD_MUTEX_TIMED_NP, > PTHREAD_MUTEX_RECURSIVE = PTHREAD_MUTEX_RECURSIVE_NP, > PTHREAD_MUTEX_ERRORCHECK = PTHREAD_MUTEX_ERRORCHECK_NP, > PTHREAD_MUTEX_DEFAULT = PTHREAD_MUTEX_NORMAL > > > > , PTHREAD_MUTEX_FAST_NP = PTHREAD_MUTEX_ADAPTIVE_NP > >}; > >enum >{ > PTHREAD_PROCESS_PRIVATE, > > PTHREAD_PROCESS_SHARED > >}; > > >enum >{ > PTHREAD_RWLOCK_PREFER_READER_NP, > PTHREAD_RWLOCK_PREFER_WRITER_NP, > PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, > PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_WRITER_NP >}; ># 131 "/usr/include/pthread.h" 3 4 >struct _pthread_cleanup_buffer >{ > void (*__routine) (void *); > void *__arg; > int __canceltype; > struct _pthread_cleanup_buffer *__prev; >}; > > > >enum >{ > PTHREAD_CANCEL_ENABLE, > > PTHREAD_CANCEL_DISABLE > >}; >enum >{ > PTHREAD_CANCEL_DEFERRED, > > PTHREAD_CANCEL_ASYNCHRONOUS > >}; ># 163 "/usr/include/pthread.h" 3 4 >extern int pthread_create (pthread_t *__restrict __threadp, > __const pthread_attr_t *__restrict __attr, > void *(*__start_routine) (void *), > void *__restrict __arg) throw (); > > >extern pthread_t pthread_self (void) throw (); > > >extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) throw (); > > >extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); > > > > >extern int pthread_join (pthread_t __th, void **__thread_return); > > > > > >extern int pthread_detach (pthread_t __th) throw (); > > > > > > > >extern int pthread_attr_init (pthread_attr_t *__attr) throw (); > > >extern int pthread_attr_destroy (pthread_attr_t *__attr) throw (); > > >extern int pthread_attr_setdetachstate (pthread_attr_t *__attr, > int __detachstate) throw (); > > >extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr, > int *__detachstate) throw (); > > >extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr, > __const struct sched_param *__restrict > __param) throw (); > > >extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict > __attr, > struct sched_param *__restrict __param) > throw (); > > >extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy) > throw (); > > >extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict > __attr, int *__restrict __policy) > throw (); > > >extern int pthread_attr_setinheritsched (pthread_attr_t *__attr, > int __inherit) throw (); > > >extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict > __attr, int *__restrict __inherit) > throw (); > > >extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope) > throw (); > > >extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr, > int *__restrict __scope) throw (); > > > >extern int pthread_attr_setguardsize (pthread_attr_t *__attr, > size_t __guardsize) throw (); > > >extern int pthread_attr_getguardsize (__const pthread_attr_t *__restrict > __attr, size_t *__restrict __guardsize) > throw (); > > > > > > >extern int pthread_attr_setstackaddr (pthread_attr_t *__attr, > void *__stackaddr) throw (); > > >extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict > __attr, void **__restrict __stackaddr) > throw (); > > > > > >extern int pthread_attr_setstack (pthread_attr_t *__attr, void *__stackaddr, > size_t __stacksize) throw (); > > >extern int pthread_attr_getstack (__const pthread_attr_t *__restrict __attr, > void **__restrict __stackaddr, > size_t *__restrict __stacksize) throw (); > > > > > >extern int pthread_attr_setstacksize (pthread_attr_t *__attr, > size_t __stacksize) throw (); > > >extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict > __attr, size_t *__restrict __stacksize) > throw (); > > > > > >extern int pthread_getattr_np (pthread_t __th, pthread_attr_t *__attr) throw (); > > > > > > >extern int pthread_setschedparam (pthread_t __target_thread, int __policy, > __const struct sched_param *__param) > throw (); > > >extern int pthread_getschedparam (pthread_t __target_thread, > int *__restrict __policy, > struct sched_param *__restrict __param) > throw (); > > > >extern int pthread_getconcurrency (void) throw (); > > >extern int pthread_setconcurrency (int __level) throw (); > > > > > > > >extern int pthread_yield (void) throw (); > > > > > > >extern int pthread_mutex_init (pthread_mutex_t *__restrict __mutex, > __const pthread_mutexattr_t *__restrict > __mutex_attr) throw (); > > >extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) throw (); > > >extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) throw (); > > >extern int pthread_mutex_lock (pthread_mutex_t *__mutex) throw (); > > > >extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, > __const struct timespec *__restrict > __abstime) throw (); > > > >extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) throw (); > > > > > > >extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) throw (); > > >extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) throw (); > > >extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t * > __restrict __attr, > int *__restrict __pshared) throw (); > > >extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr, > int __pshared) throw (); > > > > > >extern int pthread_mutexattr_settype (pthread_mutexattr_t *__attr, int __kind) > throw (); > > >extern int pthread_mutexattr_gettype (__const pthread_mutexattr_t *__restrict > __attr, int *__restrict __kind) throw (); > > > > > > > >extern int pthread_cond_init (pthread_cond_t *__restrict __cond, > __const pthread_condattr_t *__restrict > __cond_attr) throw (); > > >extern int pthread_cond_destroy (pthread_cond_t *__cond) throw (); > > >extern int pthread_cond_signal (pthread_cond_t *__cond) throw (); > > >extern int pthread_cond_broadcast (pthread_cond_t *__cond) throw (); > > > >extern int pthread_cond_wait (pthread_cond_t *__restrict __cond, > pthread_mutex_t *__restrict __mutex); > > > > > >extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, > pthread_mutex_t *__restrict __mutex, > __const struct timespec *__restrict > __abstime); > > > > >extern int pthread_condattr_init (pthread_condattr_t *__attr) throw (); > > >extern int pthread_condattr_destroy (pthread_condattr_t *__attr) throw (); > > >extern int pthread_condattr_getpshared (__const pthread_condattr_t * > __restrict __attr, > int *__restrict __pshared) throw (); > > >extern int pthread_condattr_setpshared (pthread_condattr_t *__attr, > int __pshared) throw (); > > > > > > > >extern int pthread_rwlock_init (pthread_rwlock_t *__restrict __rwlock, > __const pthread_rwlockattr_t *__restrict > __attr) throw (); > > >extern int pthread_rwlock_destroy (pthread_rwlock_t *__rwlock) throw (); > > >extern int pthread_rwlock_rdlock (pthread_rwlock_t *__rwlock) throw (); > > >extern int pthread_rwlock_tryrdlock (pthread_rwlock_t *__rwlock) throw (); > > > >extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, > __const struct timespec *__restrict > __abstime) throw (); > > > >extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) throw (); > > >extern int pthread_rwlock_trywrlock (pthread_rwlock_t *__rwlock) throw (); > > > >extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, > __const struct timespec *__restrict > __abstime) throw (); > > > >extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) throw (); > > > > > >extern int pthread_rwlockattr_init (pthread_rwlockattr_t *__attr) throw (); > > >extern int pthread_rwlockattr_destroy (pthread_rwlockattr_t *__attr) throw (); > > >extern int pthread_rwlockattr_getpshared (__const pthread_rwlockattr_t * > __restrict __attr, > int *__restrict __pshared) throw (); > > >extern int pthread_rwlockattr_setpshared (pthread_rwlockattr_t *__attr, > int __pshared) throw (); > > >extern int pthread_rwlockattr_getkind_np (__const pthread_rwlockattr_t *__attr, > int *__pref) throw (); > > >extern int pthread_rwlockattr_setkind_np (pthread_rwlockattr_t *__attr, > int __pref) throw (); ># 510 "/usr/include/pthread.h" 3 4 >extern int pthread_spin_init (pthread_spinlock_t *__lock, int __pshared) > throw (); > > >extern int pthread_spin_destroy (pthread_spinlock_t *__lock) throw (); > > >extern int pthread_spin_lock (pthread_spinlock_t *__lock) throw (); > > >extern int pthread_spin_trylock (pthread_spinlock_t *__lock) throw (); > > >extern int pthread_spin_unlock (pthread_spinlock_t *__lock) throw (); > > > > >extern int pthread_barrier_init (pthread_barrier_t *__restrict __barrier, > __const pthread_barrierattr_t *__restrict > __attr, unsigned int __count) throw (); > >extern int pthread_barrier_destroy (pthread_barrier_t *__barrier) throw (); > >extern int pthread_barrierattr_init (pthread_barrierattr_t *__attr) throw (); > >extern int pthread_barrierattr_destroy (pthread_barrierattr_t *__attr) throw (); > >extern int pthread_barrierattr_getpshared (__const pthread_barrierattr_t * > __restrict __attr, > int *__restrict __pshared) throw (); > >extern int pthread_barrierattr_setpshared (pthread_barrierattr_t *__attr, > int __pshared) throw (); > >extern int pthread_barrier_wait (pthread_barrier_t *__barrier) throw (); ># 557 "/usr/include/pthread.h" 3 4 >extern int pthread_key_create (pthread_key_t *__key, > void (*__destr_function) (void *)) throw (); > > >extern int pthread_key_delete (pthread_key_t __key) throw (); > > >extern int pthread_setspecific (pthread_key_t __key, > __const void *__pointer) throw (); > > >extern void *pthread_getspecific (pthread_key_t __key) throw (); ># 580 "/usr/include/pthread.h" 3 4 >extern int pthread_once (pthread_once_t *__once_control, > void (*__init_routine) (void)); > > > > > > >extern int pthread_setcancelstate (int __state, int *__oldstate); > > > >extern int pthread_setcanceltype (int __type, int *__oldtype); > > >extern int pthread_cancel (pthread_t __cancelthread); > > > > >extern void pthread_testcancel (void); ># 614 "/usr/include/pthread.h" 3 4 >extern void _pthread_cleanup_push (struct _pthread_cleanup_buffer *__buffer, > void (*__routine) (void *), > void *__arg) throw (); > > > > > > > >extern void _pthread_cleanup_pop (struct _pthread_cleanup_buffer *__buffer, > int __execute) throw (); ># 635 "/usr/include/pthread.h" 3 4 >extern void _pthread_cleanup_push_defer (struct _pthread_cleanup_buffer *__buffer, > void (*__routine) (void *), > void *__arg) throw (); ># 646 "/usr/include/pthread.h" 3 4 >extern void _pthread_cleanup_pop_restore (struct _pthread_cleanup_buffer *__buffer, > int __execute) throw (); > > > > > >extern int pthread_getcpuclockid (pthread_t __thread_id, > __clockid_t *__clock_id) throw (); > > > > ># 1 "/usr/include/bits/sigthread.h" 1 3 4 ># 31 "/usr/include/bits/sigthread.h" 3 4 >extern int pthread_sigmask (int __how, > __const __sigset_t *__restrict __newmask, > __sigset_t *__restrict __oldmask)throw (); > > >extern int pthread_kill (pthread_t __threadid, int __signo) throw (); ># 660 "/usr/include/pthread.h" 2 3 4 ># 675 "/usr/include/pthread.h" 3 4 >extern int pthread_atfork (void (*__prepare) (void), > void (*__parent) (void), > void (*__child) (void)) throw (); > > > > >extern void pthread_kill_other_threads_np (void) throw (); > >} ># 16 "/emc/leichj/p4/main/smarts/platform/mutex/posix/ssi_mutex.h" 2 > > > >extern int pthread_mutexattr_settype (pthread_mutexattr_t*,int); > > > > > > >typedef pthread_mutex_t si_mutex_t; ># 35 "/emc/leichj/p4/main/smarts/platform/mutex/posix/ssi_mutex.h" >typedef pthread_mutex_t si_mutex_untracked_t; ># 19 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" 2 ># 81 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" >extern "C" { ># 117 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" > sm_err_t >sm_si_mutex_init(si_mutex_t* mutex, > const char* options ); ># 138 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" > sm_err_t >pthread_mutex_destroy(si_mutex_t* mutex ); ># 160 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" > sm_err_t >sm_si_mutex_lock(si_mutex_t* mutex ); ># 180 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" > sm_err_t >sm_si_mutex_trylock(si_mutex_t* mutex ); ># 195 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" > sm_err_t >sm_si_mutex_unlock(si_mutex_t* mutex ); ># 227 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" > sm_err_t >sm_si_mutex_untracked_init( > si_mutex_untracked_t* mutex, > void* reserved ); ># 249 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" > sm_err_t >pthread_mutex_destroy( > si_mutex_untracked_t* mutex ); ># 272 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" > sm_err_t >pthread_mutex_lock( > si_mutex_untracked_t* mutex ); ># 293 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" > sm_err_t >pthread_mutex_trylock( > si_mutex_untracked_t* mutex ); ># 309 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" > sm_err_t >pthread_mutex_unlock( > si_mutex_untracked_t* mutex ); ># 329 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" >typedef char si_tiny_mutex_t; ># 350 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" > sm_err_t >sm_si_tiny_mutex_init(si_tiny_mutex_t* mutex, > void* reserved ); ># 366 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" > sm_err_t >sm_si_tiny_mutex_destroy(si_tiny_mutex_t* mutex ); ># 387 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" > sm_err_t >sm_si_tiny_mutex_lock(si_tiny_mutex_t* mutex ); ># 404 "/emc/leichj/p4/main/smarts/platform/include/../mutex/si_mutex.h" > sm_err_t >sm_si_tiny_mutex_unlock(si_tiny_mutex_t* mutex ); > > > >} ># 709 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/include/../condvar/si_condvar.h" 1 ># 19 "/emc/leichj/p4/main/smarts/platform/include/../condvar/si_condvar.h" ># 1 "/emc/leichj/p4/main/smarts/platform/condvar/posix/ssi_condvar.h" 1 ># 20 "/emc/leichj/p4/main/smarts/platform/condvar/posix/ssi_condvar.h" >typedef pthread_cond_t si_cond_t; ># 20 "/emc/leichj/p4/main/smarts/platform/include/../condvar/si_condvar.h" 2 ># 57 "/emc/leichj/p4/main/smarts/platform/include/../condvar/si_condvar.h" >extern "C" { ># 114 "/emc/leichj/p4/main/smarts/platform/include/../condvar/si_condvar.h" > sm_err_t >sm_si_cond_init(si_cond_t* cvp, > void* reserved ); ># 136 "/emc/leichj/p4/main/smarts/platform/include/../condvar/si_condvar.h" > sm_err_t >pthread_cond_destroy(si_cond_t* cvp ); ># 165 "/emc/leichj/p4/main/smarts/platform/include/../condvar/si_condvar.h" > sm_err_t >sm_si_cond_wait(si_cond_t* cvp, > si_mutex_t* mutex ); ># 216 "/emc/leichj/p4/main/smarts/platform/include/../condvar/si_condvar.h" > sm_err_t >sm_si_cond_timedwait(si_cond_t* cvp, > si_mutex_t* mutex, > si_timespec_t* timelim ); ># 232 "/emc/leichj/p4/main/smarts/platform/include/../condvar/si_condvar.h" > sm_err_t >pthread_cond_signal(si_cond_t* cvp ); ># 246 "/emc/leichj/p4/main/smarts/platform/include/../condvar/si_condvar.h" > sm_err_t >pthread_cond_broadcast(si_cond_t* cvp ); > > > >} ># 710 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/include/../rwlock/si_rwlock.h" 1 ># 39 "/emc/leichj/p4/main/smarts/platform/include/../rwlock/si_rwlock.h" >struct si_rwlock_t {typedef si_rwlock_t SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) > void* val; > int magic; >}; > > > >typedef struct si_rwlock_t si_rwlock_t; ># 72 "/emc/leichj/p4/main/smarts/platform/include/../rwlock/si_rwlock.h" >extern "C" { > > > > > > > > extern si_rwlock_t sm_si_rwlock_empty_lock_extern; ># 180 "/emc/leichj/p4/main/smarts/platform/include/../rwlock/si_rwlock.h" > sm_err_t >sm_si_rw_init(si_rwlock_t* lock, > void* dummy ); ># 206 "/emc/leichj/p4/main/smarts/platform/include/../rwlock/si_rwlock.h" > sm_err_t >sm_si_rw_destroy(si_rwlock_t* lock ); ># 223 "/emc/leichj/p4/main/smarts/platform/include/../rwlock/si_rwlock.h" > sm_err_t >sm_si_rw_rdlock(si_rwlock_t* lock ); ># 247 "/emc/leichj/p4/main/smarts/platform/include/../rwlock/si_rwlock.h" > sm_err_t >sm_si_rw_wrlock(si_rwlock_t* lock ); ># 272 "/emc/leichj/p4/main/smarts/platform/include/../rwlock/si_rwlock.h" > sm_err_t >sm_si_rw_upgrade(si_rwlock_t* lock ); ># 287 "/emc/leichj/p4/main/smarts/platform/include/../rwlock/si_rwlock.h" > sm_err_t >sm_si_rw_unlock(si_rwlock_t* lock ); > > > >} ># 711 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/include/../thread/si_thread.h" 1 ># 18 "/emc/leichj/p4/main/smarts/platform/include/../thread/si_thread.h" ># 1 "/emc/leichj/p4/main/smarts/platform/thread/posix/ssi_thread.h" 1 ># 28 "/emc/leichj/p4/main/smarts/platform/thread/posix/ssi_thread.h" >typedef int si_thread_t; >typedef pthread_once_t si_thread_once_t; >typedef pthread_key_t si_thread_key_t; ># 66 "/emc/leichj/p4/main/smarts/platform/thread/posix/ssi_thread.h" >int pthread_setconcurrency(int); ># 19 "/emc/leichj/p4/main/smarts/platform/include/../thread/si_thread.h" 2 ># 81 "/emc/leichj/p4/main/smarts/platform/include/../thread/si_thread.h" >extern "C" { ># 140 "/emc/leichj/p4/main/smarts/platform/include/../thread/si_thread.h" > sm_err_t >sm_si_thread_create(si_thread_t* thread, > void* reserved, > void* (*start)(void*), > void* arg ); > > > > > > > void >sm_si_thread_yield(void); ># 172 "/emc/leichj/p4/main/smarts/platform/include/../thread/si_thread.h" > void >sm_si_thread_exit(void* status ); ># 192 "/emc/leichj/p4/main/smarts/platform/include/../thread/si_thread.h" > sm_err_t >sm_si_thread_waitexit(si_timespec_t* timespec ); ># 218 "/emc/leichj/p4/main/smarts/platform/include/../thread/si_thread.h" > sm_err_t >pthread_once(si_thread_once_t* flag, > void (*once)(void) ); > > > > > > si_thread_t >sm_si_thread_self(void); ># 269 "/emc/leichj/p4/main/smarts/platform/include/../thread/si_thread.h" > sm_err_t >pthread_key_create(si_thread_key_t* key , > void (*destructor)(void*) ); ># 293 "/emc/leichj/p4/main/smarts/platform/include/../thread/si_thread.h" > sm_err_t >pthread_setspecific(si_thread_key_t key, > const void* value ); ># 314 "/emc/leichj/p4/main/smarts/platform/include/../thread/si_thread.h" > void* >pthread_getspecific(si_thread_key_t key ); > > > > > > > sm_bool_t >sm_si_thread_equal(si_thread_t t1, > si_thread_t t2 ); ># 354 "/emc/leichj/p4/main/smarts/platform/include/../thread/si_thread.h" > void >sm_si_standard_info(char *outbuf, > size_t buflen, > sm_bool_t force , > sm_bool_t ishandler ); ># 368 "/emc/leichj/p4/main/smarts/platform/include/../thread/si_thread.h" > void* sm_si_thread_getLockTable(void); ># 378 "/emc/leichj/p4/main/smarts/platform/include/../thread/si_thread.h" > void sm_si_thread_dump_locktable(void* ptr, const char *name); ># 389 "/emc/leichj/p4/main/smarts/platform/include/../thread/si_thread.h" > sm_bool_t si_thread_holdingLocks(void); > > > > > > >} ># 712 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/include/../module/si_module.h" 1 ># 26 "/emc/leichj/p4/main/smarts/platform/include/../module/si_module.h" ># 1 "/emc/leichj/p4/main/smarts/platform/linux_rhAS40-x86-32/debug/moderr.h" 1 ># 17 "/emc/leichj/p4/main/smarts/platform/linux_rhAS40-x86-32/debug/moderr.h" >enum RTLD_et { > RTLD_OK = 0, > > SI_EBADPATH = 1229128704, > SI_ENOEXTENSION = 1229128705, > SI_ENOTPROG = 1229128706, > SI_ELOADERR = 1229128707, > SI_EUNLOADERR = 1229128708, > > SM_ERROR_TABLE_BASE_RTLD = 1229128704 > >}; ># 41 "/emc/leichj/p4/main/smarts/platform/linux_rhAS40-x86-32/debug/moderr.h" >typedef enum RTLD_et RTLD_et; > >extern "C" > > void _sm_RTLD_error_table_init(void); > > >extern "C" > > int _sm_RTLD_error_table_initializer_done; > > > > >static struct RTLD_error_table_initializer >{typedef RTLD_error_table_initializer SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) RTLD_error_table_initializer() > { if (!_sm_RTLD_error_table_initializer_done) > { _sm_RTLD_error_table_initializer_done = 1; > _sm_RTLD_error_table_init(); > } > } >} RTLD_error_table_initializer_dummy; ># 27 "/emc/leichj/p4/main/smarts/platform/include/../module/si_module.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/module/linux/ssi_module.h" 1 ># 14 "/emc/leichj/p4/main/smarts/platform/module/linux/ssi_module.h" >typedef void* sm_lhandle_t; > >typedef void* sm_module_list_t; ># 28 "/emc/leichj/p4/main/smarts/platform/include/../module/si_module.h" 2 ># 52 "/emc/leichj/p4/main/smarts/platform/include/../module/si_module.h" >typedef void* (*si_program_entrypoint_t)(char**); ># 118 "/emc/leichj/p4/main/smarts/platform/include/../module/si_module.h" >extern "C" { ># 192 "/emc/leichj/p4/main/smarts/platform/include/../module/si_module.h" > sm_err_t >sm_si_program_load(const char* program, > char** etextp, > si_program_entrypoint_t* entry ); ># 258 "/emc/leichj/p4/main/smarts/platform/include/../module/si_module.h" > sm_err_t >sm_si_library_load(const char* name, > char** etextp > ); ># 331 "/emc/leichj/p4/main/smarts/platform/include/../module/si_module.h" > sm_err_t >sm_si_library_nload(const char* name, > char** etextp, > sm_lhandle_t *handle); ># 359 "/emc/leichj/p4/main/smarts/platform/include/../module/si_module.h" > void* >sm_si_lib_entry(sm_lhandle_t handle, > const char *entry); ># 381 "/emc/leichj/p4/main/smarts/platform/include/../module/si_module.h" > sm_err_t >sm_si_module_create_list(sm_module_list_t **pmodlist); ># 394 "/emc/leichj/p4/main/smarts/platform/include/../module/si_module.h" > void >sm_si_module_destroy_list(sm_module_list_t* modlist); ># 420 "/emc/leichj/p4/main/smarts/platform/include/../module/si_module.h" > void* >sm_si_lib_find_symbol(sm_lhandle_t handle, sm_module_list_t* modlist, > const char* search); ># 438 "/emc/leichj/p4/main/smarts/platform/include/../module/si_module.h" > sm_err_t >sm_si_library_unload(sm_lhandle_t handle); ># 473 "/emc/leichj/p4/main/smarts/platform/include/../module/si_module.h" > sm_err_t >sm_si_base_to_library_name(const char* base, char** translated); ># 500 "/emc/leichj/p4/main/smarts/platform/include/../module/si_module.h" > sm_err_t >si_library_name_to_base(const char* name, char** base_name); > > > > > >} ># 713 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" 1 ># 18 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" ># 1 "/emc/leichj/p4/main/smarts/platform/net/posix/ssi_net.h" 1 ># 30 "/emc/leichj/p4/main/smarts/platform/net/posix/ssi_net.h" ># 31 "/emc/leichj/p4/main/smarts/platform/net/posix/ssi_net.h" 2 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.5/include/limits.h" 1 3 4 ># 11 "/usr/lib/gcc/x86_64-redhat-linux/3.4.5/include/limits.h" 3 4 ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.5/include/syslimits.h" 1 3 4 > > > > > > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.5/include/limits.h" 1 3 4 ># 122 "/usr/lib/gcc/x86_64-redhat-linux/3.4.5/include/limits.h" 3 4 ># 1 "/usr/include/limits.h" 1 3 4 ># 144 "/usr/include/limits.h" 3 4 ># 1 "/usr/include/bits/posix1_lim.h" 1 3 4 ># 153 "/usr/include/bits/posix1_lim.h" 3 4 ># 1 "/usr/include/bits/local_lim.h" 1 3 4 ># 36 "/usr/include/bits/local_lim.h" 3 4 ># 1 "/usr/include/linux/limits.h" 1 3 4 ># 37 "/usr/include/bits/local_lim.h" 2 3 4 ># 154 "/usr/include/bits/posix1_lim.h" 2 3 4 ># 145 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/posix2_lim.h" 1 3 4 ># 149 "/usr/include/limits.h" 2 3 4 > > > ># 1 "/usr/include/bits/xopen_lim.h" 1 3 4 ># 34 "/usr/include/bits/xopen_lim.h" 3 4 ># 1 "/usr/include/bits/stdio_lim.h" 1 3 4 ># 35 "/usr/include/bits/xopen_lim.h" 2 3 4 ># 153 "/usr/include/limits.h" 2 3 4 ># 123 "/usr/lib/gcc/x86_64-redhat-linux/3.4.5/include/limits.h" 2 3 4 ># 8 "/usr/lib/gcc/x86_64-redhat-linux/3.4.5/include/syslimits.h" 2 3 4 ># 12 "/usr/lib/gcc/x86_64-redhat-linux/3.4.5/include/limits.h" 2 3 4 ># 32 "/emc/leichj/p4/main/smarts/platform/net/posix/ssi_net.h" 2 > > > > ># 1 "/usr/include/sys/socket.h" 1 3 4 ># 25 "/usr/include/sys/socket.h" 3 4 >extern "C" { > ># 1 "/usr/include/sys/uio.h" 1 3 4 ># 26 "/usr/include/sys/uio.h" 3 4 >extern "C" { > > ># 1 "/usr/include/bits/uio.h" 1 3 4 ># 42 "/usr/include/bits/uio.h" 3 4 >struct iovec > { > void *iov_base; > size_t iov_len; > }; ># 30 "/usr/include/sys/uio.h" 2 3 4 ># 40 "/usr/include/sys/uio.h" 3 4 >extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count); ># 50 "/usr/include/sys/uio.h" 3 4 >extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count); > >} ># 28 "/usr/include/sys/socket.h" 2 3 4 > ># 30 "/usr/include/sys/socket.h" 2 3 4 > > > > > ># 1 "/usr/include/bits/socket.h" 1 3 4 ># 29 "/usr/include/bits/socket.h" 3 4 ># 30 "/usr/include/bits/socket.h" 2 3 4 > ># 1 "/usr/lib/gcc/x86_64-redhat-linux/3.4.5/include/limits.h" 1 3 4 ># 32 "/usr/include/bits/socket.h" 2 3 4 ># 41 "/usr/include/bits/socket.h" 3 4 >enum __socket_type >{ > SOCK_STREAM = 1, > > > SOCK_DGRAM = 2, > > > SOCK_RAW = 3, > > SOCK_RDM = 4, > > SOCK_SEQPACKET = 5, > > > SOCK_PACKET = 10 > > > >}; ># 142 "/usr/include/bits/socket.h" 3 4 ># 1 "/usr/include/bits/sockaddr.h" 1 3 4 ># 29 "/usr/include/bits/sockaddr.h" 3 4 >typedef unsigned short int sa_family_t; ># 143 "/usr/include/bits/socket.h" 2 3 4 > > >struct sockaddr > { > sa_family_t sa_family; > char sa_data[14]; > }; ># 162 "/usr/include/bits/socket.h" 3 4 >struct sockaddr_storage > { > sa_family_t ss_family; > __uint32_t __ss_align; > char __ss_padding[(128 - (2 * sizeof (__uint32_t)))]; > }; > > > >enum > { > MSG_OOB = 0x01, > > MSG_PEEK = 0x02, > > MSG_DONTROUTE = 0x04, > > > > MSG_TRYHARD = MSG_DONTROUTE, > > > MSG_CTRUNC = 0x08, > > MSG_PROXY = 0x10, > > MSG_TRUNC = 0x20, > > MSG_DONTWAIT = 0x40, > > MSG_EOR = 0x80, > > MSG_WAITALL = 0x100, > > MSG_FIN = 0x200, > > MSG_SYN = 0x400, > > MSG_CONFIRM = 0x800, > > MSG_RST = 0x1000, > > MSG_ERRQUEUE = 0x2000, > > MSG_NOSIGNAL = 0x4000, > > MSG_MORE = 0x8000 > > }; > > > > >struct msghdr > { > void *msg_name; > socklen_t msg_namelen; > > struct iovec *msg_iov; > size_t msg_iovlen; > > void *msg_control; > size_t msg_controllen; > > int msg_flags; > }; > > >struct cmsghdr > { > size_t cmsg_len; > > int cmsg_level; > int cmsg_type; > > > > }; ># 257 "/usr/include/bits/socket.h" 3 4 >extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, > struct cmsghdr *__cmsg) throw (); ># 284 "/usr/include/bits/socket.h" 3 4 >enum > { > SCM_RIGHTS = 0x01 > > > , SCM_CREDENTIALS = 0x02 > > > }; > > > >struct ucred >{ > pid_t pid; > uid_t uid; > gid_t gid; >}; > > ># 1 "/usr/include/asm/socket.h" 1 3 4 > > > > > > ># 1 "/usr/include/asm-i386/socket.h" 1 3 4 > > > ># 1 "/usr/include/asm/sockios.h" 1 3 4 > > > > > > ># 1 "/usr/include/asm-i386/sockios.h" 1 3 4 ># 8 "/usr/include/asm/sockios.h" 2 3 4 ># 5 "/usr/include/asm-i386/socket.h" 2 3 4 ># 8 "/usr/include/asm/socket.h" 2 3 4 ># 305 "/usr/include/bits/socket.h" 2 3 4 > > > >struct linger > { > int l_onoff; > int l_linger; > }; ># 36 "/usr/include/sys/socket.h" 2 3 4 > > > > >struct osockaddr > { > unsigned short int sa_family; > unsigned char sa_data[14]; > }; > > > > >enum >{ > SHUT_RD = 0, > > SHUT_WR, > > SHUT_RDWR > >}; ># 100 "/usr/include/sys/socket.h" 3 4 >extern int socket (int __domain, int __type, int __protocol) throw (); > > > > > >extern int socketpair (int __domain, int __type, int __protocol, > int __fds[2]) throw (); > > >extern int bind (int __fd, __const struct sockaddr * __addr, socklen_t __len) > throw (); > > >extern int getsockname (int __fd, struct sockaddr *__restrict __addr, > socklen_t *__restrict __len) throw (); ># 124 "/usr/include/sys/socket.h" 3 4 >extern int connect (int __fd, __const struct sockaddr * __addr, socklen_t __len); > > > >extern int getpeername (int __fd, struct sockaddr *__restrict __addr, > socklen_t *__restrict __len) throw (); > > > > > > >extern ssize_t send (int __fd, __const void *__buf, size_t __n, int __flags); > > > > > > >extern ssize_t recv (int __fd, void *__buf, size_t __n, int __flags); > > > > > > >extern ssize_t sendto (int __fd, __const void *__buf, size_t __n, > int __flags, __const struct sockaddr * __addr, > socklen_t __addr_len); ># 161 "/usr/include/sys/socket.h" 3 4 >extern ssize_t recvfrom (int __fd, void *__restrict __buf, size_t __n, > int __flags, struct sockaddr *__restrict __addr, > socklen_t *__restrict __addr_len); > > > > > > > >extern ssize_t sendmsg (int __fd, __const struct msghdr *__message, > int __flags); > > > > > > >extern ssize_t recvmsg (int __fd, struct msghdr *__message, int __flags); > > > > > >extern int getsockopt (int __fd, int __level, int __optname, > void *__restrict __optval, > socklen_t *__restrict __optlen) throw (); > > > > >extern int setsockopt (int __fd, int __level, int __optname, > __const void *__optval, socklen_t __optlen) throw (); > > > > > >extern int listen (int __fd, int __n) throw (); ># 209 "/usr/include/sys/socket.h" 3 4 >extern int accept (int __fd, struct sockaddr *__restrict __addr, > socklen_t *__restrict __addr_len); > > > > > > > >extern int shutdown (int __fd, int __how) throw (); > > > > >extern int sockatmark (int __fd) throw (); > > > > > > > >extern int isfdtype (int __fd, int __fdtype) throw (); > > >} ># 37 "/emc/leichj/p4/main/smarts/platform/net/posix/ssi_net.h" 2 > > > > > ># 1 "/usr/include/netinet/in.h" 1 3 4 ># 28 "/usr/include/netinet/in.h" 3 4 >extern "C" { > > >enum > { > IPPROTO_IP = 0, > > IPPROTO_HOPOPTS = 0, > > IPPROTO_ICMP = 1, > > IPPROTO_IGMP = 2, > > IPPROTO_IPIP = 4, > > IPPROTO_TCP = 6, > > IPPROTO_EGP = 8, > > IPPROTO_PUP = 12, > > IPPROTO_UDP = 17, > > IPPROTO_IDP = 22, > > IPPROTO_TP = 29, > > IPPROTO_IPV6 = 41, > > IPPROTO_ROUTING = 43, > > IPPROTO_FRAGMENT = 44, > > IPPROTO_RSVP = 46, > > IPPROTO_GRE = 47, > > IPPROTO_ESP = 50, > > IPPROTO_AH = 51, > > IPPROTO_ICMPV6 = 58, > > IPPROTO_NONE = 59, > > IPPROTO_DSTOPTS = 60, > > IPPROTO_MTP = 92, > > IPPROTO_ENCAP = 98, > > IPPROTO_PIM = 103, > > IPPROTO_COMP = 108, > > IPPROTO_SCTP = 132, > > IPPROTO_RAW = 255, > > IPPROTO_MAX > }; > > > >typedef uint16_t in_port_t; > > >enum > { > IPPORT_ECHO = 7, > IPPORT_DISCARD = 9, > IPPORT_SYSTAT = 11, > IPPORT_DAYTIME = 13, > IPPORT_NETSTAT = 15, > IPPORT_FTP = 21, > IPPORT_TELNET = 23, > IPPORT_SMTP = 25, > IPPORT_TIMESERVER = 37, > IPPORT_NAMESERVER = 42, > IPPORT_WHOIS = 43, > IPPORT_MTP = 57, > > IPPORT_TFTP = 69, > IPPORT_RJE = 77, > IPPORT_FINGER = 79, > IPPORT_TTYLINK = 87, > IPPORT_SUPDUP = 95, > > > IPPORT_EXECSERVER = 512, > IPPORT_LOGINSERVER = 513, > IPPORT_CMDSERVER = 514, > IPPORT_EFSSERVER = 520, > > > IPPORT_BIFFUDP = 512, > IPPORT_WHOSERVER = 513, > IPPORT_ROUTESERVER = 520, > > > IPPORT_RESERVED = 1024, > > > IPPORT_USERRESERVED = 5000 > }; > > > >typedef uint32_t in_addr_t; >struct in_addr > { > in_addr_t s_addr; > }; ># 193 "/usr/include/netinet/in.h" 3 4 >struct in6_addr > { > union > { > uint8_t u6_addr8[16]; > uint16_t u6_addr16[8]; > uint32_t u6_addr32[4]; > } in6_u; > > > > }; > >extern const struct in6_addr in6addr_any; >extern const struct in6_addr in6addr_loopback; ># 219 "/usr/include/netinet/in.h" 3 4 >struct sockaddr_in > { > sa_family_t sin_family; > in_port_t sin_port; > struct in_addr sin_addr; > > > unsigned char sin_zero[sizeof (struct sockaddr) - > (sizeof (unsigned short int)) - > sizeof (in_port_t) - > sizeof (struct in_addr)]; > }; > > >struct sockaddr_in6 > { > sa_family_t sin6_family; > in_port_t sin6_port; > uint32_t sin6_flowinfo; > struct in6_addr sin6_addr; > uint32_t sin6_scope_id; > }; > > > >struct ip_mreq > { > > struct in_addr imr_multiaddr; > > > struct in_addr imr_interface; > }; > >struct ip_mreq_source > { > > struct in_addr imr_multiaddr; > > > struct in_addr imr_interface; > > > struct in_addr imr_sourceaddr; > }; > > >struct ipv6_mreq > { > > struct in6_addr ipv6mr_multiaddr; > > > unsigned int ipv6mr_interface; > }; > > > >struct group_req > { > > uint32_t gr_interface; > > > struct sockaddr_storage gr_group; > }; > >struct group_source_req > { > > uint32_t gsr_interface; > > > struct sockaddr_storage gsr_group; > > > struct sockaddr_storage gsr_source; > }; > > > >struct ip_msfilter > { > > struct in_addr imsf_multiaddr; > > > struct in_addr imsf_interface; > > > uint32_t imsf_fmode; > > > uint32_t imsf_numsrc; > > struct in_addr imsf_slist[1]; > }; > > > > > >struct group_filter > { > > uint32_t gf_interface; > > > struct sockaddr_storage gf_group; > > > uint32_t gf_fmode; > > > uint32_t gf_numsrc; > > struct sockaddr_storage gf_slist[1]; >}; ># 345 "/usr/include/netinet/in.h" 3 4 ># 1 "/usr/include/bits/in.h" 1 3 4 ># 82 "/usr/include/bits/in.h" 3 4 >struct ip_opts > { > struct in_addr ip_dst; > char ip_opts[40]; > }; > > >struct ip_mreqn > { > struct in_addr imr_multiaddr; > struct in_addr imr_address; > int imr_ifindex; > }; > > >struct in_pktinfo > { > int ipi_ifindex; > struct in_addr ipi_spec_dst; > struct in_addr ipi_addr; > }; ># 346 "/usr/include/netinet/in.h" 2 3 4 ># 354 "/usr/include/netinet/in.h" 3 4 >extern uint32_t ntohl (uint32_t __netlong) throw () __attribute__ ((__const__)); >extern uint16_t ntohs (uint16_t __netshort) > throw () __attribute__ ((__const__)); >extern uint32_t htonl (uint32_t __hostlong) > throw () __attribute__ ((__const__)); >extern uint16_t htons (uint16_t __hostshort) > throw () __attribute__ ((__const__)); > > > > ># 1 "/usr/include/bits/byteswap.h" 1 3 4 ># 27 "/usr/include/bits/byteswap.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 28 "/usr/include/bits/byteswap.h" 2 3 4 ># 366 "/usr/include/netinet/in.h" 2 3 4 ># 428 "/usr/include/netinet/in.h" 3 4 >extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) throw (); > > >extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in) > throw (); ># 456 "/usr/include/netinet/in.h" 3 4 >struct in6_pktinfo > { > struct in6_addr ipi6_addr; > unsigned int ipi6_ifindex; > }; > > > > >extern int inet6_option_space (int __nbytes) throw (); >extern int inet6_option_init (void *__bp, struct cmsghdr **__cmsgp, > int __type) throw (); >extern int inet6_option_append (struct cmsghdr *__cmsg, > __const uint8_t *__typep, int __multx, > int __plusy) throw (); >extern uint8_t *inet6_option_alloc (struct cmsghdr *__cmsg, int __datalen, > int __multx, int __plusy) throw (); >extern int inet6_option_next (__const struct cmsghdr *__cmsg, > uint8_t **__tptrp) throw (); >extern int inet6_option_find (__const struct cmsghdr *__cmsg, > uint8_t **__tptrp, int __type) throw (); > > > > > >extern int getipv4sourcefilter (int __s, struct in_addr __interface_addr, > struct in_addr __group, uint32_t *__fmode, > uint32_t *__numsrc, struct in_addr *__slist) > throw (); > > >extern int setipv4sourcefilter (int __s, struct in_addr __interface_addr, > struct in_addr __group, uint32_t __fmode, > uint32_t __numsrc, > __const struct in_addr *__slist) > throw (); > > > >extern int getsourcefilter (int __s, uint32_t __interface_addr, > __const struct sockaddr *__group, > socklen_t __grouplen, uint32_t *__fmode, > uint32_t *__numsrc, > struct sockaddr_storage *__slist) throw (); > > >extern int setsourcefilter (int __s, uint32_t __interface_addr, > __const struct sockaddr *__group, > socklen_t __grouplen, uint32_t __fmode, > uint32_t __numsrc, > __const struct sockaddr_storage *__slist) throw (); > > >} ># 43 "/emc/leichj/p4/main/smarts/platform/net/posix/ssi_net.h" 2 > > > ># 1 "/usr/include/netinet/ip.h" 1 3 4 ># 27 "/usr/include/netinet/ip.h" 3 4 >extern "C" { > >struct timestamp > { > u_int8_t len; > u_int8_t ptr; > > unsigned int flags:4; > unsigned int overflow:4; > > > > > > > u_int32_t data[9]; > }; > >struct iphdr > { > > unsigned int ihl:4; > unsigned int version:4; > > > > > > > u_int8_t tos; > u_int16_t tot_len; > u_int16_t id; > u_int16_t frag_off; > u_int8_t ttl; > u_int8_t protocol; > u_int16_t check; > u_int32_t saddr; > u_int32_t daddr; > > }; ># 108 "/usr/include/netinet/ip.h" 3 4 >struct ip > { > > unsigned int ip_hl:4; > unsigned int ip_v:4; > > > > > > u_int8_t ip_tos; > u_short ip_len; > u_short ip_id; > u_short ip_off; > > > > > u_int8_t ip_ttl; > u_int8_t ip_p; > u_short ip_sum; > struct in_addr ip_src, ip_dst; > }; > > > > >struct ip_timestamp > { > u_int8_t ipt_code; > u_int8_t ipt_len; > u_int8_t ipt_ptr; > > unsigned int ipt_flg:4; > unsigned int ipt_oflw:4; > > > > > > u_int32_t data[9]; > }; ># 247 "/usr/include/netinet/ip.h" 3 4 >} ># 47 "/emc/leichj/p4/main/smarts/platform/net/posix/ssi_net.h" 2 > > > > > > > ># 1 "/usr/include/netinet/ip_icmp.h" 1 3 4 ># 25 "/usr/include/netinet/ip_icmp.h" 3 4 >extern "C" { > >struct icmphdr >{ > u_int8_t type; > u_int8_t code; > u_int16_t checksum; > union > { > struct > { > u_int16_t id; > u_int16_t sequence; > } echo; > u_int32_t gateway; > struct > { > u_int16_t __unused; > u_int16_t mtu; > } frag; > } un; >}; ># 132 "/usr/include/netinet/ip_icmp.h" 3 4 >struct icmp_ra_addr >{ > u_int32_t ira_addr; > u_int32_t ira_preference; >}; > >struct icmp >{ > u_int8_t icmp_type; > u_int8_t icmp_code; > u_int16_t icmp_cksum; > union > { > u_char ih_pptr; > struct in_addr ih_gwaddr; > struct ih_idseq > { > u_int16_t icd_id; > u_int16_t icd_seq; > } ih_idseq; > u_int32_t ih_void; > > > struct ih_pmtu > { > u_int16_t ipm_void; > u_int16_t ipm_nextmtu; > } ih_pmtu; > > struct ih_rtradv > { > u_int8_t irt_num_addrs; > u_int8_t irt_wpa; > u_int16_t irt_lifetime; > } ih_rtradv; > } icmp_hun; ># 178 "/usr/include/netinet/ip_icmp.h" 3 4 > union > { > struct > { > u_int32_t its_otime; > u_int32_t its_rtime; > u_int32_t its_ttime; > } id_ts; > struct > { > struct ip idi_ip; > > } id_ip; > struct icmp_ra_addr id_radv; > u_int32_t id_mask; > u_int8_t id_data[1]; > } icmp_dun; > > > > > > > >}; ># 281 "/usr/include/netinet/ip_icmp.h" 3 4 >} ># 55 "/emc/leichj/p4/main/smarts/platform/net/posix/ssi_net.h" 2 > ># 1 "/usr/include/arpa/inet.h" 1 3 4 ># 31 "/usr/include/arpa/inet.h" 3 4 >extern "C" { > > > >extern in_addr_t inet_addr (__const char *__cp) throw (); > > >extern in_addr_t inet_lnaof (struct in_addr __in) throw (); > > > >extern struct in_addr inet_makeaddr (in_addr_t __net, in_addr_t __host) > throw (); > > >extern in_addr_t inet_netof (struct in_addr __in) throw (); > > > >extern in_addr_t inet_network (__const char *__cp) throw (); > > > >extern char *inet_ntoa (struct in_addr __in) throw (); > > > > >extern int inet_pton (int __af, __const char *__restrict __cp, > void *__restrict __buf) throw (); > > > > >extern __const char *inet_ntop (int __af, __const void *__restrict __cp, > char *__restrict __buf, socklen_t __len) > throw (); > > > > > > >extern int inet_aton (__const char *__cp, struct in_addr *__inp) throw (); > > > >extern char *inet_neta (in_addr_t __net, char *__buf, size_t __len) throw (); > > > > >extern char *inet_net_ntop (int __af, __const void *__cp, int __bits, > char *__buf, size_t __len) throw (); > > > > >extern int inet_net_pton (int __af, __const char *__cp, > void *__buf, size_t __len) throw (); > > > > >extern unsigned int inet_nsap_addr (__const char *__cp, > unsigned char *__buf, int __len) throw (); > > > >extern char *inet_nsap_ntoa (int __len, __const unsigned char *__cp, > char *__buf) throw (); > > >} ># 57 "/emc/leichj/p4/main/smarts/platform/net/posix/ssi_net.h" 2 ># 1 "/usr/include/sys/ioctl.h" 1 3 4 ># 24 "/usr/include/sys/ioctl.h" 3 4 >extern "C" { > > ># 1 "/usr/include/bits/ioctls.h" 1 3 4 ># 24 "/usr/include/bits/ioctls.h" 3 4 ># 1 "/usr/include/asm/ioctls.h" 1 3 4 > > > > > > ># 1 "/usr/include/asm-i386/ioctls.h" 1 3 4 > > > ># 1 "/usr/include/asm/ioctl.h" 1 3 4 > > > > > > ># 1 "/usr/include/asm-i386/ioctl.h" 1 3 4 ># 8 "/usr/include/asm/ioctl.h" 2 3 4 ># 5 "/usr/include/asm-i386/ioctls.h" 2 3 4 ># 8 "/usr/include/asm/ioctls.h" 2 3 4 ># 25 "/usr/include/bits/ioctls.h" 2 3 4 ># 28 "/usr/include/sys/ioctl.h" 2 3 4 > > ># 1 "/usr/include/bits/ioctl-types.h" 1 3 4 ># 28 "/usr/include/bits/ioctl-types.h" 3 4 >struct winsize > { > unsigned short int ws_row; > unsigned short int ws_col; > unsigned short int ws_xpixel; > unsigned short int ws_ypixel; > }; > > >struct termio > { > unsigned short int c_iflag; > unsigned short int c_oflag; > unsigned short int c_cflag; > unsigned short int c_lflag; > unsigned char c_line; > unsigned char c_cc[8]; >}; ># 31 "/usr/include/sys/ioctl.h" 2 3 4 > > > > > > ># 1 "/usr/include/sys/ttydefaults.h" 1 3 4 ># 38 "/usr/include/sys/ioctl.h" 2 3 4 > > > > >extern int ioctl (int __fd, unsigned long int __request, ...) throw (); > >} ># 58 "/emc/leichj/p4/main/smarts/platform/net/posix/ssi_net.h" 2 ># 78 "/emc/leichj/p4/main/smarts/platform/net/posix/ssi_net.h" ># 1 "/usr/include/netinet/icmp6.h" 1 3 4 ># 23 "/usr/include/netinet/icmp6.h" 3 4 ># 1 "/usr/include/string.h" 1 3 4 ># 28 "/usr/include/string.h" 3 4 >extern "C" { > > > > ># 34 "/usr/include/string.h" 2 3 4 > > > > >extern void *memcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memmove (void *__dest, __const void *__src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memccpy (void *__restrict __dest, __const void *__restrict __src, > int __c, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern void *memset (void *__s, int __c, size_t __n) throw () __attribute__ ((__nonnull__ (1))); > > >extern int memcmp (__const void *__s1, __const void *__s2, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern void *memchr (__const void *__s, int __c, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern void *rawmemchr (__const void *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern void *memrchr (__const void *__s, int __c, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strcpy (char *__restrict __dest, __const char *__restrict __src) > throw () __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strcat (char *__restrict __dest, __const char *__restrict __src) > throw () __attribute__ ((__nonnull__ (1, 2))); > >extern char *strncat (char *__restrict __dest, __const char *__restrict __src, > size_t __n) throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern int strncmp (__const char *__s1, __const char *__s2, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strcoll (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern size_t strxfrm (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (2))); > ># 121 "/usr/include/string.h" 3 4 >extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n, > __locale_t __l) throw () __attribute__ ((__nonnull__ (2, 4))); > > > > >extern char *strdup (__const char *__s) > throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *strndup (__const char *__string, size_t __n) > throw () __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1))); ># 165 "/usr/include/string.h" 3 4 > > >extern char *strchr (__const char *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern char *strrchr (__const char *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strchrnul (__const char *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strcspn (__const char *__s, __const char *__reject) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern size_t strspn (__const char *__s, __const char *__accept) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strpbrk (__const char *__s, __const char *__accept) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > >extern char *strstr (__const char *__haystack, __const char *__needle) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *strtok (char *__restrict __s, __const char *__restrict __delim) > throw () __attribute__ ((__nonnull__ (2))); > > > > >extern char *__strtok_r (char *__restrict __s, > __const char *__restrict __delim, > char **__restrict __save_ptr) > throw () __attribute__ ((__nonnull__ (2, 3))); > >extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim, > char **__restrict __save_ptr) > throw () __attribute__ ((__nonnull__ (2, 3))); > > > > >extern char *strcasestr (__const char *__haystack, __const char *__needle) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern void *memmem (__const void *__haystack, size_t __haystacklen, > __const void *__needle, size_t __needlelen) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3))); > > > >extern void *__mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern void *mempcpy (void *__restrict __dest, > __const void *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern size_t strlen (__const char *__s) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern size_t strnlen (__const char *__string, size_t __maxlen) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern char *strerror (int __errnum) throw (); > ># 281 "/usr/include/string.h" 3 4 >extern char *strerror_r (int __errnum, char *__buf, size_t __buflen) > throw () __attribute__ ((__nonnull__ (2))); > > > > > >extern void __bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); > > > >extern void bcopy (__const void *__src, void *__dest, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern void bzero (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); > > >extern int bcmp (__const void *__s1, __const void *__s2, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *index (__const char *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > >extern char *rindex (__const char *__s, int __c) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > >extern int ffs (int __i) throw () __attribute__ ((__const__)); > > > > >extern int ffsl (long int __l) throw () __attribute__ ((__const__)); > >__extension__ extern int ffsll (long long int __ll) > throw () __attribute__ ((__const__)); > > > > >extern int strcasecmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int strcasecmp_l (__const char *__s1, __const char *__s2, > __locale_t __loc) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3))); > >extern int strncasecmp_l (__const char *__s1, __const char *__s2, > size_t __n, __locale_t __loc) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4))); > > > > > >extern char *strsep (char **__restrict __stringp, > __const char *__restrict __delim) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int strverscmp (__const char *__s1, __const char *__s2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strsignal (int __sig) throw (); > > >extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > >extern char *__stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern char *stpncpy (char *__restrict __dest, > __const char *__restrict __src, size_t __n) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern char *strfry (char *__string) throw () __attribute__ ((__nonnull__ (1))); > > >extern void *memfrob (void *__s, size_t __n) throw () __attribute__ ((__nonnull__ (1))); > > > > > > >extern char *basename (__const char *__filename) throw () __attribute__ ((__nonnull__ (1))); ># 426 "/usr/include/string.h" 3 4 >} ># 24 "/usr/include/netinet/icmp6.h" 2 3 4 ># 34 "/usr/include/netinet/icmp6.h" 3 4 >struct icmp6_filter > { > uint32_t data[8]; > }; > >struct icmp6_hdr > { > uint8_t icmp6_type; > uint8_t icmp6_code; > uint16_t icmp6_cksum; > union > { > uint32_t icmp6_un_data32[1]; > uint16_t icmp6_un_data16[2]; > uint8_t icmp6_un_data8[4]; > } icmp6_dataun; > }; ># 112 "/usr/include/netinet/icmp6.h" 3 4 >struct nd_router_solicit > { > struct icmp6_hdr nd_rs_hdr; > > }; > > > > > > >struct nd_router_advert > { > struct icmp6_hdr nd_ra_hdr; > uint32_t nd_ra_reachable; > uint32_t nd_ra_retransmit; > > }; ># 141 "/usr/include/netinet/icmp6.h" 3 4 >struct nd_neighbor_solicit > { > struct icmp6_hdr nd_ns_hdr; > struct in6_addr nd_ns_target; > > }; > > > > > > >struct nd_neighbor_advert > { > struct icmp6_hdr nd_na_hdr; > struct in6_addr nd_na_target; > > }; ># 174 "/usr/include/netinet/icmp6.h" 3 4 >struct nd_redirect > { > struct icmp6_hdr nd_rd_hdr; > struct in6_addr nd_rd_target; > struct in6_addr nd_rd_dst; > > }; > > > > > > >struct nd_opt_hdr > { > uint8_t nd_opt_type; > uint8_t nd_opt_len; > > }; ># 202 "/usr/include/netinet/icmp6.h" 3 4 >struct nd_opt_prefix_info > { > uint8_t nd_opt_pi_type; > uint8_t nd_opt_pi_len; > uint8_t nd_opt_pi_prefix_len; > uint8_t nd_opt_pi_flags_reserved; > uint32_t nd_opt_pi_valid_time; > uint32_t nd_opt_pi_preferred_time; > uint32_t nd_opt_pi_reserved2; > struct in6_addr nd_opt_pi_prefix; > }; > > > > > >struct nd_opt_rd_hdr > { > uint8_t nd_opt_rh_type; > uint8_t nd_opt_rh_len; > uint16_t nd_opt_rh_reserved1; > uint32_t nd_opt_rh_reserved2; > > }; > >struct nd_opt_mtu > { > uint8_t nd_opt_mtu_type; > uint8_t nd_opt_mtu_len; > uint16_t nd_opt_mtu_reserved; > uint32_t nd_opt_mtu_mtu; > }; > > >struct nd_opt_adv_interval > { > uint8_t nd_opt_adv_interval_type; > uint8_t nd_opt_adv_interval_len; > uint16_t nd_opt_adv_interval_reserved; > uint32_t nd_opt_adv_interval_ival; > }; > > >struct nd_opt_home_agent_info > { > uint8_t nd_opt_home_agent_info_type; > uint8_t nd_opt_home_agent_info_len; > uint16_t nd_opt_home_agent_info_reserved; > int16_t nd_opt_home_agent_info_preference; > uint16_t nd_opt_home_agent_info_lifetime; > }; ># 79 "/emc/leichj/p4/main/smarts/platform/net/posix/ssi_net.h" 2 ># 93 "/emc/leichj/p4/main/smarts/platform/net/posix/ssi_net.h" >typedef enum si_invalid_socket_e { > SI_INVALID_SOCKET = -1 >} si_invalid_socket_e; > > > > >typedef in_port_t si_port_t; > >typedef in_addr_t si_in_addr_t; ># 113 "/emc/leichj/p4/main/smarts/platform/net/posix/ssi_net.h" ># 1 "/usr/include/netdb.h" 1 3 4 ># 33 "/usr/include/netdb.h" 3 4 ># 1 "/usr/include/rpc/netdb.h" 1 3 4 ># 42 "/usr/include/rpc/netdb.h" 3 4 ># 43 "/usr/include/rpc/netdb.h" 2 3 4 > >extern "C" { > >struct rpcent >{typedef rpcent SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) > char *r_name; > char **r_aliases; > int r_number; >}; > >extern void setrpcent (int __stayopen) throw (); >extern void endrpcent (void) throw (); >extern struct rpcent *getrpcbyname (__const char *__name) throw (); >extern struct rpcent *getrpcbynumber (int __number) throw (); >extern struct rpcent *getrpcent (void) throw (); > > >extern int getrpcbyname_r (__const char *__name, struct rpcent *__result_buf, > char *__buffer, size_t __buflen, > struct rpcent **__result) throw (); > >extern int getrpcbynumber_r (int __number, struct rpcent *__result_buf, > char *__buffer, size_t __buflen, > struct rpcent **__result) throw (); > >extern int getrpcent_r (struct rpcent *__result_buf, char *__buffer, > size_t __buflen, struct rpcent **__result) throw (); > > >} ># 34 "/usr/include/netdb.h" 2 3 4 > > > > ># 1 "/usr/include/bits/siginfo.h" 1 3 4 ># 25 "/usr/include/bits/siginfo.h" 3 4 ># 1 "/usr/include/bits/wordsize.h" 1 3 4 ># 26 "/usr/include/bits/siginfo.h" 2 3 4 > > > > > > > >typedef union sigval > { > int sival_int; > void *sival_ptr; > } sigval_t; ># 273 "/usr/include/bits/siginfo.h" 3 4 >typedef struct sigevent > { > sigval_t sigev_value; > int sigev_signo; > int sigev_notify; > > union > { > int _pad[((64 / sizeof (int)) - 3)]; > > > > __pid_t _tid; > > struct > { > void (*_function) (sigval_t); > void *_attribute; > } _sigev_thread; > } _sigev_un; > } sigevent_t; > > > > > > >enum >{ > SIGEV_SIGNAL = 0, > > SIGEV_NONE, > > SIGEV_THREAD, > > > SIGEV_THREAD_ID = 4 > >}; ># 39 "/usr/include/netdb.h" 2 3 4 > > > > ># 1 "/usr/include/bits/netdb.h" 1 3 4 ># 27 "/usr/include/bits/netdb.h" 3 4 >struct netent >{ > char *n_name; > char **n_aliases; > int n_addrtype; > uint32_t n_net; >}; ># 44 "/usr/include/netdb.h" 2 3 4 ># 54 "/usr/include/netdb.h" 3 4 >extern "C" { > > > > > > >extern int *__h_errno_location (void) throw () __attribute__ ((__const__)); ># 88 "/usr/include/netdb.h" 3 4 >extern void herror (__const char *__str) throw (); > > >extern __const char *hstrerror (int __err_num) throw (); > > > > >struct hostent >{ > char *h_name; > char **h_aliases; > int h_addrtype; > int h_length; > char **h_addr_list; > >}; > > > > > > >extern void sethostent (int __stay_open); > > > > > >extern void endhostent (void); > > > > > > >extern struct hostent *gethostent (void); > > > > > > >extern struct hostent *gethostbyaddr (__const void *__addr, __socklen_t __len, > int __type); > > > > > >extern struct hostent *gethostbyname (__const char *__name); ># 149 "/usr/include/netdb.h" 3 4 >extern struct hostent *gethostbyname2 (__const char *__name, int __af); ># 161 "/usr/include/netdb.h" 3 4 >extern int gethostent_r (struct hostent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct hostent **__restrict __result, > int *__restrict __h_errnop); > >extern int gethostbyaddr_r (__const void *__restrict __addr, __socklen_t __len, > int __type, > struct hostent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct hostent **__restrict __result, > int *__restrict __h_errnop); > >extern int gethostbyname_r (__const char *__restrict __name, > struct hostent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct hostent **__restrict __result, > int *__restrict __h_errnop); > >extern int gethostbyname2_r (__const char *__restrict __name, int __af, > struct hostent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct hostent **__restrict __result, > int *__restrict __h_errnop); ># 192 "/usr/include/netdb.h" 3 4 >extern void setnetent (int __stay_open); > > > > > >extern void endnetent (void); > > > > > > >extern struct netent *getnetent (void); > > > > > > >extern struct netent *getnetbyaddr (uint32_t __net, int __type); > > > > > >extern struct netent *getnetbyname (__const char *__name); ># 231 "/usr/include/netdb.h" 3 4 >extern int getnetent_r (struct netent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct netent **__restrict __result, > int *__restrict __h_errnop); > >extern int getnetbyaddr_r (uint32_t __net, int __type, > struct netent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct netent **__restrict __result, > int *__restrict __h_errnop); > >extern int getnetbyname_r (__const char *__restrict __name, > struct netent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct netent **__restrict __result, > int *__restrict __h_errnop); > > > > >struct servent >{ > char *s_name; > char **s_aliases; > int s_port; > char *s_proto; >}; > > > > > > >extern void setservent (int __stay_open); > > > > > >extern void endservent (void); > > > > > > >extern struct servent *getservent (void); > > > > > > >extern struct servent *getservbyname (__const char *__name, > __const char *__proto); > > > > > > >extern struct servent *getservbyport (int __port, __const char *__proto); ># 303 "/usr/include/netdb.h" 3 4 >extern int getservent_r (struct servent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct servent **__restrict __result); > >extern int getservbyname_r (__const char *__restrict __name, > __const char *__restrict __proto, > struct servent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct servent **__restrict __result); > >extern int getservbyport_r (int __port, __const char *__restrict __proto, > struct servent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct servent **__restrict __result); > > > > >struct protoent >{ > char *p_name; > char **p_aliases; > int p_proto; >}; > > > > > > >extern void setprotoent (int __stay_open); > > > > > >extern void endprotoent (void); > > > > > > >extern struct protoent *getprotoent (void); > > > > > >extern struct protoent *getprotobyname (__const char *__name); > > > > > >extern struct protoent *getprotobynumber (int __proto); ># 369 "/usr/include/netdb.h" 3 4 >extern int getprotoent_r (struct protoent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct protoent **__restrict __result); > >extern int getprotobyname_r (__const char *__restrict __name, > struct protoent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct protoent **__restrict __result); > >extern int getprotobynumber_r (int __proto, > struct protoent *__restrict __result_buf, > char *__restrict __buf, size_t __buflen, > struct protoent **__restrict __result); ># 390 "/usr/include/netdb.h" 3 4 >extern int setnetgrent (__const char *__netgroup); > > > > > > > >extern void endnetgrent (void); ># 407 "/usr/include/netdb.h" 3 4 >extern int getnetgrent (char **__restrict __hostp, > char **__restrict __userp, > char **__restrict __domainp); ># 418 "/usr/include/netdb.h" 3 4 >extern int innetgr (__const char *__netgroup, __const char *__host, > __const char *__user, __const char *domain); > > > > > > > >extern int getnetgrent_r (char **__restrict __hostp, > char **__restrict __userp, > char **__restrict __domainp, > char *__restrict __buffer, size_t __buflen); ># 446 "/usr/include/netdb.h" 3 4 >extern int rcmd (char **__restrict __ahost, unsigned short int __rport, > __const char *__restrict __locuser, > __const char *__restrict __remuser, > __const char *__restrict __cmd, int *__restrict __fd2p); ># 458 "/usr/include/netdb.h" 3 4 >extern int rcmd_af (char **__restrict __ahost, unsigned short int __rport, > __const char *__restrict __locuser, > __const char *__restrict __remuser, > __const char *__restrict __cmd, int *__restrict __fd2p, > sa_family_t __af); ># 474 "/usr/include/netdb.h" 3 4 >extern int rexec (char **__restrict __ahost, int __rport, > __const char *__restrict __name, > __const char *__restrict __pass, > __const char *__restrict __cmd, int *__restrict __fd2p); ># 486 "/usr/include/netdb.h" 3 4 >extern int rexec_af (char **__restrict __ahost, int __rport, > __const char *__restrict __name, > __const char *__restrict __pass, > __const char *__restrict __cmd, int *__restrict __fd2p, > sa_family_t __af); ># 500 "/usr/include/netdb.h" 3 4 >extern int ruserok (__const char *__rhost, int __suser, > __const char *__remuser, __const char *__locuser); ># 510 "/usr/include/netdb.h" 3 4 >extern int ruserok_af (__const char *__rhost, int __suser, > __const char *__remuser, __const char *__locuser, > sa_family_t __af); ># 522 "/usr/include/netdb.h" 3 4 >extern int rresvport (int *__alport); ># 531 "/usr/include/netdb.h" 3 4 >extern int rresvport_af (int *__alport, sa_family_t __af); > > > > > > >struct addrinfo >{ > int ai_flags; > int ai_family; > int ai_socktype; > int ai_protocol; > socklen_t ai_addrlen; > struct sockaddr *ai_addr; > char *ai_canonname; > struct addrinfo *ai_next; >}; > > > >struct gaicb >{ > const char *ar_name; > const char *ar_service; > const struct addrinfo *ar_request; > struct addrinfo *ar_result; > > int __return; > int __unused[5]; >}; ># 631 "/usr/include/netdb.h" 3 4 >extern int getaddrinfo (__const char *__restrict __name, > __const char *__restrict __service, > __const struct addrinfo *__restrict __req, > struct addrinfo **__restrict __pai); > > >extern void freeaddrinfo (struct addrinfo *__ai) throw (); > > >extern __const char *gai_strerror (int __ecode) throw (); > > > > > >extern int getnameinfo (__const struct sockaddr *__restrict __sa, > socklen_t __salen, char *__restrict __host, > socklen_t __hostlen, char *__restrict __serv, > socklen_t __servlen, unsigned int __flags); ># 661 "/usr/include/netdb.h" 3 4 >extern int getaddrinfo_a (int __mode, struct gaicb *__list[], > int __ent, struct sigevent *__restrict __sig); ># 672 "/usr/include/netdb.h" 3 4 >extern int gai_suspend (__const struct gaicb *__const __list[], int __ent, > __const struct timespec *__timeout); > > >extern int gai_error (struct gaicb *__req) throw (); > > >extern int gai_cancel (struct gaicb *__gaicbp) throw (); > > >} ># 114 "/emc/leichj/p4/main/smarts/platform/net/posix/ssi_net.h" 2 ># 19 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/linux_rhAS40-x86-32/debug/dnserr.h" 1 ># 17 "/emc/leichj/p4/main/smarts/platform/linux_rhAS40-x86-32/debug/dnserr.h" >enum DNS_et { > DNS_OK = 0, > > SI_EADDRFORMAT = 4428544, > SI_EHOST_NOT_FOUND = 4428545, > SI_ETRY_AGAIN = 4428546, > SI_ENO_RECOVERY = 4428547, > SI_ENO_ADDRESS = 4428548, > SI_EUNKNOWN_CODE = 4428549, > SI_DNS_INTERNAL = 4428550, > SI_EAFNOSUPPORT = 4428551, > SI_WSANOTINITIALISED = 4428552, > SI_WSAENETDOWN = 4428553, > SI_WSAEINPROGRESS = 4428554, > SI_WSAEINTR = 4428555, > SI_WSASYSNOTREADY = 4428556, > SI_WSAVERNOTSUPPORTED = 4428557, > SI_WSAEPROCLIM = 4428558, > SI_DNS_WSAEFAULT = 4428559, > SI_ADDRUNACCEPTABLE = 4428560, > SI_ECANTRESNOMEM = 4428561, > SI_EAI_AGAIN = 4428562, > SI_EAI_BADFLAGS = 4428563, > SI_EAI_FAIL = 4428564, > SI_EAI_FAMILY = 4428565, > SI_EAI_MEMORY = 4428566, > SI_EAI_NONAME = 4428567, > SI_EAI_OVERFLOW = 4428568, > SI_EAI_SERVICE = 4428569, > SI_EAI_SOCKTYPE = 4428570, > SI_EAI_SYSTEM = 4428571, > > SM_ERROR_TABLE_BASE_DNS = 4428544 > >}; ># 64 "/emc/leichj/p4/main/smarts/platform/linux_rhAS40-x86-32/debug/dnserr.h" >typedef enum DNS_et DNS_et; > >extern "C" > > void _sm_DNS_error_table_init(void); > > >extern "C" > > int _sm_DNS_error_table_initializer_done; > > > > >static struct DNS_error_table_initializer >{typedef DNS_error_table_initializer SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) DNS_error_table_initializer() > { if (!_sm_DNS_error_table_initializer_done) > { _sm_DNS_error_table_initializer_done = 1; > _sm_DNS_error_table_init(); > } > } >} DNS_error_table_initializer_dummy; ># 20 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" 2 ># 128 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" >extern "C" { ># 137 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > extern sm_bool_t ipv6_supported; ># 232 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_accept(si_sock_t* ns, > si_sock_t s, > struct sockaddr* addr, > > > int* addrlen ); ># 258 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_bind(si_sock_t s, > const struct sockaddr* addr, > int addrlen); ># 276 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_closesocket(si_sock_t s ); ># 295 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_dupsocket(si_sock_t original, > si_sock_t* dupsock ); ># 320 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_connect(si_sock_t s, > const struct sockaddr* addr, > size_t addrlen ); ># 337 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_get_ifaddr(struct sockaddr_in* addr); ># 360 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_getpeername(si_sock_t s, > struct sockaddr* addr, > int* addrlen ); ># 383 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_getsockname(si_sock_t s, > struct sockaddr* addr, > int* addrlen ); ># 407 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_getsockopt(si_sock_t s, > int level, > int optname, > char* optval, > int* optlen ); ># 440 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_ioctlsocket(si_sock_t s, > int cmd, > unsigned long* argp ); ># 459 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_listen(si_sock_t s, > int backlog ); ># 486 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_recv(size_t* rcvd, > si_sock_t s, > char* buf, > size_t buflen, > int flags ); ># 525 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_recvfrom(size_t* rcvd, > si_sock_t s, > char* buf, > int buflen, > int flags, > struct sockaddr* from, > int* addrlen ); ># 578 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_select(int* nselect, > si_sock_t nfds, > fd_set* readset, > fd_set* writeset, > fd_set* exceptset, > const si_timespec_t* timeout ); ># 610 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_send(size_t* sent, > si_sock_t s, > const char* buf, > int buflen, > int flags ); ># 652 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_sendto(size_t* sent, > si_sock_t s, > const char* buf, > int buflen, > int flags, > const struct sockaddr* to, > int addrlen ); ># 678 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_setsockopt(si_sock_t s, > int level, > int optname, > const char* optval, > int optlen ); ># 702 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_shutdown(si_sock_t s, > int how ); ># 732 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_socket(si_sock_t* s, > int family, > int type, > int protocol ); ># 761 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_gethostname(char* hname, > size_t namelen ); ># 838 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_name2addr(const char* name, > struct sockaddr* addrs, > size_t addrlen, > unsigned *numaddrs ); ># 903 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_addr2name(const struct sockaddr* addr, > size_t addrlen, > char* buf, > size_t buflen ); ># 928 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_addr2str(const struct sockaddr* addr, > size_t addrlen, > char* buf, > size_t buflen ); ># 955 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > int >sm_si_addrcmp(const struct sockaddr* addr1, const struct sockaddr* addr2); ># 991 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_privsocket(si_sock_t *s, int family, int type, int protocol, int port); ># 1003 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_inheritdup(si_sock_t s1, si_sock_t *s2); ># 1031 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_socket_to_me(si_sock_t *s1, si_sock_t *s2, sm_bool_t noinherit); ># 1047 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > sm_err_t >sm_si_inet_pton(int af, const char *src, void *dst); ># 1065 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" > const char * >sm_si_inet_ntop(int af, const void *src, char *dst, size_t size); ># 1123 "/emc/leichj/p4/main/smarts/platform/include/../net/si_net.h" >struct si_addrinfo { > struct addrinfo* info; > sm_bool_t _native; > >}; >typedef struct si_addrinfo si_addrinfo_t; > > sm_err_t >sm_si_getaddrinfo(const char *nodename, > const char *servname, > const struct addrinfo *hints, > struct si_addrinfo **res); > > sm_err_t >sm_si_getnameinfo(const struct sockaddr *sa, > socklen_t salen, > char *host, > size_t hostlen, > char *serv, > size_t servlen, > int flags); > > void >sm_si_freeaddrinfo(struct si_addrinfo *ai); > > > > > > >enum si_privopentype_e { > > SM_PO_INET4 = 2, > > SM_PO_INET6 = 10 >}; > > >typedef enum si_privopentype_e si_privopentype_t; > > > > > >} ># 714 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/include/../pipe/si_pipe.h" 1 ># 19 "/emc/leichj/p4/main/smarts/platform/include/../pipe/si_pipe.h" ># 1 "/emc/leichj/p4/main/smarts/platform/pipe/posix/ssi_pipe.h" 1 ># 17 "/emc/leichj/p4/main/smarts/platform/pipe/posix/ssi_pipe.h" ># 1 "/usr/include/sys/un.h" 1 3 4 ># 27 "/usr/include/sys/un.h" 3 4 >extern "C" { > > >struct sockaddr_un > { > sa_family_t sun_family; > char sun_path[108]; > }; ># 45 "/usr/include/sys/un.h" 3 4 >} ># 18 "/emc/leichj/p4/main/smarts/platform/pipe/posix/ssi_pipe.h" 2 > >typedef struct si_pipe_addr_s >{typedef si_pipe_addr_s SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) struct sockaddr_un pipeAddr; >} si_pipe_addr_t; > >typedef struct si_pipe_conn_s >{typedef si_pipe_conn_s SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) si_pipe_addr_t address; > si_sock_t socket; > int readHandle; > int writeHandle; > sm_bool_t initializedToAccept; >} si_pipe_conn_t; ># 20 "/emc/leichj/p4/main/smarts/platform/include/../pipe/si_pipe.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/linux_rhAS40-x86-32/debug/pipeerr.h" 1 ># 17 "/emc/leichj/p4/main/smarts/platform/linux_rhAS40-x86-32/debug/pipeerr.h" >enum PIPE_et { > PIPE_OK = 0, > > PIPE_ENOENVPIPEDIR = 1083442432, > PIPE_EPIPETOOLONG = 1083442433, > PIPE_EPIPEBADDIR = 1083442434, > PIPE_EBROKEN_PIPE = 1083442435, > PIPE_EBAD_PIPE = 1083442436, > PIPE_EPIPE_BUSY = 1083442437, > PIPE_ENO_DATA = 1083442438, > PIPE_EPIPE_NOT_CONNECTED = 1083442439, > PIPE_EPIPE_LISTENING = 1083442440, > > SM_ERROR_TABLE_BASE_PIPE = 1083442432 > >}; ># 45 "/emc/leichj/p4/main/smarts/platform/linux_rhAS40-x86-32/debug/pipeerr.h" >typedef enum PIPE_et PIPE_et; > >extern "C" > > void _sm_PIPE_error_table_init(void); > > >extern "C" > > int _sm_PIPE_error_table_initializer_done; > > > > >static struct PIPE_error_table_initializer >{typedef PIPE_error_table_initializer SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) PIPE_error_table_initializer() > { if (!_sm_PIPE_error_table_initializer_done) > { _sm_PIPE_error_table_initializer_done = 1; > _sm_PIPE_error_table_init(); > } > } >} PIPE_error_table_initializer_dummy; ># 21 "/emc/leichj/p4/main/smarts/platform/include/../pipe/si_pipe.h" 2 ># 71 "/emc/leichj/p4/main/smarts/platform/include/../pipe/si_pipe.h" >extern "C" { ># 189 "/emc/leichj/p4/main/smarts/platform/include/../pipe/si_pipe.h" > sm_err_t >sm_si_pipe_init(si_pipe_conn_t* p,const char* iName,int flags); ># 223 "/emc/leichj/p4/main/smarts/platform/include/../pipe/si_pipe.h" > sm_err_t >sm_si_pipe_listen(si_pipe_conn_t* p,int backlog); ># 243 "/emc/leichj/p4/main/smarts/platform/include/../pipe/si_pipe.h" > sm_err_t >sm_si_pipe_accept(si_pipe_conn_t* np,si_pipe_conn_t* p, > si_timespec_t* timeout); ># 263 "/emc/leichj/p4/main/smarts/platform/include/../pipe/si_pipe.h" > sm_err_t >sm_si_pipe_connect(si_pipe_conn_t* p,si_timespec_t* timeout); ># 284 "/emc/leichj/p4/main/smarts/platform/include/../pipe/si_pipe.h" > sm_err_t >sm_si_pipe_recv(size_t* rcvd, si_pipe_conn_t* p, > char* buf,size_t buflen,int flags); ># 315 "/emc/leichj/p4/main/smarts/platform/include/../pipe/si_pipe.h" > sm_err_t >sm_si_pipe_peek(size_t* recvd, si_pipe_conn_t* p, > char* buf,size_t buflen,int flags); ># 337 "/emc/leichj/p4/main/smarts/platform/include/../pipe/si_pipe.h" > sm_err_t >sm_si_pipe_send(size_t* sent, si_pipe_conn_t* p, > const char* buf, size_t buflen, int flags); ># 351 "/emc/leichj/p4/main/smarts/platform/include/../pipe/si_pipe.h" > sm_err_t >sm_si_pipe_close(si_pipe_conn_t* p); ># 375 "/emc/leichj/p4/main/smarts/platform/include/../pipe/si_pipe.h" > sm_err_t >sm_si_pipe_destroy(si_pipe_conn_t* p); > > > >} ># 715 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/include/../fileio/si_fileio.h" 1 ># 18 "/emc/leichj/p4/main/smarts/platform/include/../fileio/si_fileio.h" ># 1 "/emc/leichj/p4/main/smarts/platform/fileio/posix/ssi_fileio.h" 1 ># 14 "/emc/leichj/p4/main/smarts/platform/fileio/posix/ssi_fileio.h" ># 1 "/usr/include/stdlib.h" 1 3 4 ># 33 "/usr/include/stdlib.h" 3 4 ># 34 "/usr/include/stdlib.h" 2 3 4 > >extern "C" { > > > > > > ># 1 "/usr/include/bits/waitflags.h" 1 3 4 ># 43 "/usr/include/stdlib.h" 2 3 4 ># 1 "/usr/include/bits/waitstatus.h" 1 3 4 ># 67 "/usr/include/bits/waitstatus.h" 3 4 >union wait > { > int w_status; > struct > { > > unsigned int __w_termsig:7; > unsigned int __w_coredump:1; > unsigned int __w_retcode:8; > unsigned int:16; > > > > > > > > } __wait_terminated; > struct > { > > unsigned int __w_stopval:8; > unsigned int __w_stopsig:8; > unsigned int:16; > > > > > > > } __wait_stopped; > }; ># 44 "/usr/include/stdlib.h" 2 3 4 ># 96 "/usr/include/stdlib.h" 3 4 > > >typedef struct > { > int quot; > int rem; > } div_t; > > > >typedef struct > { > long int quot; > long int rem; > } ldiv_t; > > > > > > > >__extension__ typedef struct > { > long long int quot; > long long int rem; > } lldiv_t; > > ># 140 "/usr/include/stdlib.h" 3 4 >extern size_t __ctype_get_mb_cur_max (void) throw (); > > > > >extern double atof (__const char *__nptr) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern int atoi (__const char *__nptr) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > >extern long int atol (__const char *__nptr) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >__extension__ extern long long int atoll (__const char *__nptr) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); > > > > > >extern double strtod (__const char *__restrict __nptr, > char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern float strtof (__const char *__restrict __nptr, > char **__restrict __endptr) throw () __attribute__ ((__nonnull__ (1))); > >extern long double strtold (__const char *__restrict __nptr, > char **__restrict __endptr) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern long int strtol (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))); > >extern unsigned long int strtoul (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))); > > > > >__extension__ >extern long long int strtoq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))); > >__extension__ >extern unsigned long long int strtouq (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >__extension__ >extern long long int strtoll (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))); > >__extension__ >extern unsigned long long int strtoull (__const char *__restrict __nptr, > char **__restrict __endptr, int __base) > throw () __attribute__ ((__nonnull__ (1))); > ># 239 "/usr/include/stdlib.h" 3 4 >extern long int strtol_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 4))); > >extern unsigned long int strtoul_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 4))); > >__extension__ >extern long long int strtoll_l (__const char *__restrict __nptr, > char **__restrict __endptr, int __base, > __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 4))); > >__extension__ >extern unsigned long long int strtoull_l (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 4))); > >extern double strtod_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 3))); > >extern float strtof_l (__const char *__restrict __nptr, > char **__restrict __endptr, __locale_t __loc) > throw () __attribute__ ((__nonnull__ (1, 3))); > >extern long double strtold_l (__const char *__restrict __nptr, > char **__restrict __endptr, > __locale_t __loc) throw () __attribute__ ((__nonnull__ (1, 3))); > > > > > > >extern double __strtod_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > throw () __attribute__ ((__nonnull__ (1))); >extern float __strtof_internal (__const char *__restrict __nptr, > char **__restrict __endptr, int __group) > throw () __attribute__ ((__nonnull__ (1))); >extern long double __strtold_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __group) throw () __attribute__ ((__nonnull__ (1))); > >extern long int __strtol_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > throw () __attribute__ ((__nonnull__ (1))); > > > >extern unsigned long int __strtoul_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > throw () __attribute__ ((__nonnull__ (1))); > > > > >__extension__ >extern long long int __strtoll_internal (__const char *__restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > throw () __attribute__ ((__nonnull__ (1))); > > > >__extension__ >extern unsigned long long int __strtoull_internal (__const char * > __restrict __nptr, > char **__restrict __endptr, > int __base, int __group) > throw () __attribute__ ((__nonnull__ (1))); ># 424 "/usr/include/stdlib.h" 3 4 >extern char *l64a (long int __n) throw (); > > >extern long int a64l (__const char *__s) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))); ># 440 "/usr/include/stdlib.h" 3 4 >extern long int random (void) throw (); > > >extern void srandom (unsigned int __seed) throw (); > > > > > >extern char *initstate (unsigned int __seed, char *__statebuf, > size_t __statelen) throw () __attribute__ ((__nonnull__ (2))); > > > >extern char *setstate (char *__statebuf) throw () __attribute__ ((__nonnull__ (1))); > > > > > > > >struct random_data > { > int32_t *fptr; > int32_t *rptr; > int32_t *state; > int rand_type; > int rand_deg; > int rand_sep; > int32_t *end_ptr; > }; > >extern int random_r (struct random_data *__restrict __buf, > int32_t *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); > >extern int srandom_r (unsigned int __seed, struct random_data *__buf) > throw () __attribute__ ((__nonnull__ (2))); > >extern int initstate_r (unsigned int __seed, char *__restrict __statebuf, > size_t __statelen, > struct random_data *__restrict __buf) > throw () __attribute__ ((__nonnull__ (2, 4))); > >extern int setstate_r (char *__restrict __statebuf, > struct random_data *__restrict __buf) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > > >extern int rand (void) throw (); > >extern void srand (unsigned int __seed) throw (); > > > > >extern int rand_r (unsigned int *__seed) throw (); > > > > > > > >extern double drand48 (void) throw (); >extern double erand48 (unsigned short int __xsubi[3]) throw () __attribute__ ((__nonnull__ (1))); > > >extern long int lrand48 (void) throw (); >extern long int nrand48 (unsigned short int __xsubi[3]) > throw () __attribute__ ((__nonnull__ (1))); > > >extern long int mrand48 (void) throw (); >extern long int jrand48 (unsigned short int __xsubi[3]) > throw () __attribute__ ((__nonnull__ (1))); > > >extern void srand48 (long int __seedval) throw (); >extern unsigned short int *seed48 (unsigned short int __seed16v[3]) > throw () __attribute__ ((__nonnull__ (1))); >extern void lcong48 (unsigned short int __param[7]) throw () __attribute__ ((__nonnull__ (1))); > > > > > >struct drand48_data > { > unsigned short int __x[3]; > unsigned short int __old_x[3]; > unsigned short int __c; > unsigned short int __init; > unsigned long long int __a; > }; > > >extern int drand48_r (struct drand48_data *__restrict __buffer, > double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); >extern int erand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > double *__restrict __result) throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int lrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern int nrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int mrand48_r (struct drand48_data *__restrict __buffer, > long int *__restrict __result) > throw () __attribute__ ((__nonnull__ (1, 2))); >extern int jrand48_r (unsigned short int __xsubi[3], > struct drand48_data *__restrict __buffer, > long int *__restrict __result) > throw () __attribute__ ((__nonnull__ (1, 2))); > > >extern int srand48_r (long int __seedval, struct drand48_data *__buffer) > throw () __attribute__ ((__nonnull__ (2))); > >extern int seed48_r (unsigned short int __seed16v[3], > struct drand48_data *__buffer) throw () __attribute__ ((__nonnull__ (1, 2))); > >extern int lcong48_r (unsigned short int __param[7], > struct drand48_data *__buffer) > throw () __attribute__ ((__nonnull__ (1, 2))); > > > > > > > > > >extern void *malloc (size_t __size) throw () __attribute__ ((__malloc__)); > >extern void *calloc (size_t __nmemb, size_t __size) > throw () __attribute__ ((__malloc__)); > > > > > > > >extern void *realloc (void *__ptr, size_t __size) throw () __attribute__ ((__malloc__)); > >extern void free (void *__ptr) throw (); > > > > >extern void cfree (void *__ptr) throw (); > > > ># 1 "/usr/include/alloca.h" 1 3 4 ># 25 "/usr/include/alloca.h" 3 4 ># 26 "/usr/include/alloca.h" 2 3 4 > >extern "C" { > > > > > >extern void *alloca (size_t __size) throw (); > > > > > >} ># 607 "/usr/include/stdlib.h" 2 3 4 > > > > >extern void *valloc (size_t __size) throw () __attribute__ ((__malloc__)); > > > > >extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size) > throw () __attribute__ ((__nonnull__ (1))); > > > > >extern void abort (void) throw () __attribute__ ((__noreturn__)); > > > >extern int atexit (void (*__func) (void)) throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg) > throw () __attribute__ ((__nonnull__ (1))); > > > > > > >extern void exit (int __status) throw () __attribute__ ((__noreturn__)); > > > > > > >extern void _Exit (int __status) throw () __attribute__ ((__noreturn__)); > > > > > > >extern char *getenv (__const char *__name) throw () __attribute__ ((__nonnull__ (1))); > > > > >extern char *__secure_getenv (__const char *__name) throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int putenv (char *__string) throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int setenv (__const char *__name, __const char *__value, int __replace) > throw () __attribute__ ((__nonnull__ (2))); > > >extern int unsetenv (__const char *__name) throw (); > > > > > > >extern int clearenv (void) throw (); ># 691 "/usr/include/stdlib.h" 3 4 >extern char *mktemp (char *__template) throw () __attribute__ ((__nonnull__ (1))); ># 702 "/usr/include/stdlib.h" 3 4 >extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))); ># 711 "/usr/include/stdlib.h" 3 4 >extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))); ># 721 "/usr/include/stdlib.h" 3 4 >extern char *mkdtemp (char *__template) throw () __attribute__ ((__nonnull__ (1))); > > > > > > > > >extern int system (__const char *__command); > > > > > > > >extern char *canonicalize_file_name (__const char *__name) > throw () __attribute__ ((__nonnull__ (1))); ># 749 "/usr/include/stdlib.h" 3 4 >extern char *realpath (__const char *__restrict __name, > char *__restrict __resolved) throw (); > > > > > > >typedef int (*__compar_fn_t) (__const void *, __const void *); > > >typedef __compar_fn_t comparison_fn_t; > > > > > > >extern void *bsearch (__const void *__key, __const void *__base, > size_t __nmemb, size_t __size, __compar_fn_t __compar) > __attribute__ ((__nonnull__ (1, 2, 5))); > > > >extern void qsort (void *__base, size_t __nmemb, size_t __size, > __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4))); > > > >extern int abs (int __x) throw () __attribute__ ((__const__)); >extern long int labs (long int __x) throw () __attribute__ ((__const__)); > > > >__extension__ extern long long int llabs (long long int __x) > throw () __attribute__ ((__const__)); > > > > > > > >extern div_t div (int __numer, int __denom) > throw () __attribute__ ((__const__)); >extern ldiv_t ldiv (long int __numer, long int __denom) > throw () __attribute__ ((__const__)); > > > > >__extension__ extern lldiv_t lldiv (long long int __numer, > long long int __denom) > throw () __attribute__ ((__const__)); > ># 814 "/usr/include/stdlib.h" 3 4 >extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))); > > > > >extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign) throw () __attribute__ ((__nonnull__ (3, 4))); > > > > >extern char *gcvt (double __value, int __ndigit, char *__buf) > throw () __attribute__ ((__nonnull__ (3))); > > > > >extern char *qecvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > throw () __attribute__ ((__nonnull__ (3, 4))); >extern char *qfcvt (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign) > throw () __attribute__ ((__nonnull__ (3, 4))); >extern char *qgcvt (long double __value, int __ndigit, char *__buf) > throw () __attribute__ ((__nonnull__ (3))); > > > > >extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); >extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt, > int *__restrict __sign, char *__restrict __buf, > size_t __len) throw () __attribute__ ((__nonnull__ (3, 4, 5))); > >extern int qecvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > throw () __attribute__ ((__nonnull__ (3, 4, 5))); >extern int qfcvt_r (long double __value, int __ndigit, > int *__restrict __decpt, int *__restrict __sign, > char *__restrict __buf, size_t __len) > throw () __attribute__ ((__nonnull__ (3, 4, 5))); > > > > > > > >extern int mblen (__const char *__s, size_t __n) throw (); > > >extern int mbtowc (wchar_t *__restrict __pwc, > __const char *__restrict __s, size_t __n) throw (); > > >extern int wctomb (char *__s, wchar_t __wchar) throw (); > > > >extern size_t mbstowcs (wchar_t *__restrict __pwcs, > __const char *__restrict __s, size_t __n) throw (); > >extern size_t wcstombs (char *__restrict __s, > __const wchar_t *__restrict __pwcs, size_t __n) > throw (); > > > > > > > > >extern int rpmatch (__const char *__response) throw () __attribute__ ((__nonnull__ (1))); ># 902 "/usr/include/stdlib.h" 3 4 >extern int getsubopt (char **__restrict __optionp, > char *__const *__restrict __tokens, > char **__restrict __valuep) > throw () __attribute__ ((__nonnull__ (1, 2, 3))); > > > > > >extern void setkey (__const char *__key) throw () __attribute__ ((__nonnull__ (1))); > > > > > > > >extern int posix_openpt (int __oflag); > > > > > > > >extern int grantpt (int __fd) throw (); > > > >extern int unlockpt (int __fd) throw (); > > > > >extern char *ptsname (int __fd) throw (); > > > > > > >extern int ptsname_r (int __fd, char *__buf, size_t __buflen) > throw () __attribute__ ((__nonnull__ (2))); > > >extern int getpt (void); > > > > > > >extern int getloadavg (double __loadavg[], int __nelem) > throw () __attribute__ ((__nonnull__ (1))); > > > > > >} ># 15 "/emc/leichj/p4/main/smarts/platform/fileio/posix/ssi_fileio.h" 2 ># 1 "/usr/include/dirent.h" 1 3 4 ># 28 "/usr/include/dirent.h" 3 4 >extern "C" { ># 62 "/usr/include/dirent.h" 3 4 ># 1 "/usr/include/bits/dirent.h" 1 3 4 ># 23 "/usr/include/bits/dirent.h" 3 4 >struct dirent > { > > __ino_t d_ino; > __off_t d_off; > > > > > unsigned short int d_reclen; > unsigned char d_type; > char d_name[256]; > }; > > >struct dirent64 > { > __ino64_t d_ino; > __off64_t d_off; > unsigned short int d_reclen; > unsigned char d_type; > char d_name[256]; > }; ># 63 "/usr/include/dirent.h" 2 3 4 ># 98 "/usr/include/dirent.h" 3 4 >enum > { > DT_UNKNOWN = 0, > > DT_FIFO = 1, > > DT_CHR = 2, > > DT_DIR = 4, > > DT_BLK = 6, > > DT_REG = 8, > > DT_LNK = 10, > > DT_SOCK = 12, > > DT_WHT = 14 > > }; ># 128 "/usr/include/dirent.h" 3 4 >typedef struct __dirstream DIR; > > > > > > >extern DIR *opendir (__const char *__name) __attribute__ ((__nonnull__ (1))); > > > > > > >extern int closedir (DIR *__dirp) __attribute__ ((__nonnull__ (1))); ># 155 "/usr/include/dirent.h" 3 4 >extern struct dirent *readdir (DIR *__dirp) __attribute__ ((__nonnull__ (1))); ># 166 "/usr/include/dirent.h" 3 4 >extern struct dirent64 *readdir64 (DIR *__dirp) __attribute__ ((__nonnull__ (1))); ># 176 "/usr/include/dirent.h" 3 4 >extern int readdir_r (DIR *__restrict __dirp, > struct dirent *__restrict __entry, > struct dirent **__restrict __result) > __attribute__ ((__nonnull__ (1, 2, 3))); ># 193 "/usr/include/dirent.h" 3 4 >extern int readdir64_r (DIR *__restrict __dirp, > struct dirent64 *__restrict __entry, > struct dirent64 **__restrict __result) > __attribute__ ((__nonnull__ (1, 2, 3))); > > > > >extern void rewinddir (DIR *__dirp) throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern void seekdir (DIR *__dirp, long int __pos) throw () __attribute__ ((__nonnull__ (1))); > > >extern long int telldir (DIR *__dirp) throw () __attribute__ ((__nonnull__ (1))); > > > > > >extern int dirfd (DIR *__dirp) throw () __attribute__ ((__nonnull__ (1))); ># 235 "/usr/include/dirent.h" 3 4 ># 236 "/usr/include/dirent.h" 2 3 4 > > > > > > >extern int scandir (__const char *__restrict __dir, > struct dirent ***__restrict __namelist, > int (*__selector) (__const struct dirent *), > int (*__cmp) (__const void *, __const void *)) > __attribute__ ((__nonnull__ (1, 2))); ># 263 "/usr/include/dirent.h" 3 4 >extern int scandir64 (__const char *__restrict __dir, > struct dirent64 ***__restrict __namelist, > int (*__selector) (__const struct dirent64 *), > int (*__cmp) (__const void *, __const void *)) > __attribute__ ((__nonnull__ (1, 2))); > > > > >extern int alphasort (__const void *__e1, __const void *__e2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 285 "/usr/include/dirent.h" 3 4 >extern int alphasort64 (__const void *__e1, __const void *__e2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); > > > > > >extern int versionsort (__const void *__e1, __const void *__e2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 306 "/usr/include/dirent.h" 3 4 >extern int versionsort64 (__const void *__e1, __const void *__e2) > throw () __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2))); ># 316 "/usr/include/dirent.h" 3 4 >extern __ssize_t getdirentries (int __fd, char *__restrict __buf, > size_t __nbytes, > __off_t *__restrict __basep) > throw () __attribute__ ((__nonnull__ (2, 4))); ># 333 "/usr/include/dirent.h" 3 4 >extern __ssize_t getdirentries64 (int __fd, char *__restrict __buf, > size_t __nbytes, > __off64_t *__restrict __basep) > throw () __attribute__ ((__nonnull__ (2, 4))); > > > > >} ># 16 "/emc/leichj/p4/main/smarts/platform/fileio/posix/ssi_fileio.h" 2 > >struct sm_glob_s {typedef sm_glob_s SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) > DIR* dirp; > sm_wildcard_t* w; > struct dirent* RD_d; > struct dirent* RD_dbuf; >}; >typedef struct sm_glob_s sm_glob_t; ># 19 "/emc/leichj/p4/main/smarts/platform/include/../fileio/si_fileio.h" 2 ># 47 "/emc/leichj/p4/main/smarts/platform/include/../fileio/si_fileio.h" >extern "C" { ># 91 "/emc/leichj/p4/main/smarts/platform/include/../fileio/si_fileio.h" > sm_err_t >sm_si_fileio_glob(const char* directory, > const char* pattern, > char** matches, > int* matchlen ); ># 117 "/emc/leichj/p4/main/smarts/platform/include/../fileio/si_fileio.h" > sm_err_t >sm_si_fileio_glob_construct( > sm_glob_t *gd, > const char* pattern); ># 138 "/emc/leichj/p4/main/smarts/platform/include/../fileio/si_fileio.h" > sm_err_t >sm_si_fileio_glob_open(sm_glob_t *gd, > const char *directory, > char **match); ># 156 "/emc/leichj/p4/main/smarts/platform/include/../fileio/si_fileio.h" > sm_err_t >sm_si_fileio_glob_next(sm_glob_t *gd, > char **match); ># 168 "/emc/leichj/p4/main/smarts/platform/include/../fileio/si_fileio.h" > sm_err_t >sm_si_fileio_glob_destruct(sm_glob_t *gd); > > > > > >} ># 716 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/include/../security/si_security.h" 1 ># 48 "/emc/leichj/p4/main/smarts/platform/include/../security/si_security.h" >extern "C" { > > > > > > void sm_si_askuserpass_init(void); ># 74 "/emc/leichj/p4/main/smarts/platform/include/../security/si_security.h" > sm_err_t sm_si_ask4password(const char *prompt, char *password, > size_t passwordsize); ># 96 "/emc/leichj/p4/main/smarts/platform/include/../security/si_security.h" > sm_err_t sm_si_ask4user(const char *prompt, char *user, > size_t usersize); ># 111 "/emc/leichj/p4/main/smarts/platform/include/../security/si_security.h" > sm_err_t sm_si_whoami(char *username, size_t unamesize); ># 125 "/emc/leichj/p4/main/smarts/platform/include/../security/si_security.h" > sm_err_t sm_si_setuser(const char *uname); ># 139 "/emc/leichj/p4/main/smarts/platform/include/../security/si_security.h" > sm_err_t si_security_component_init(void); ># 169 "/emc/leichj/p4/main/smarts/platform/include/../security/si_security.h" > sm_err_t sm_si_local_authenticate(const char *username, > const char *password); ># 184 "/emc/leichj/p4/main/smarts/platform/include/../security/si_security.h" > sm_err_t sm_si_getuserids(const char *uname, uid_t *uid, > gid_t *gid); > > > > > > void sm_si_local_authenticate_init(void); > > >} ># 717 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" 1 ># 64 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" >extern "C" { ># 92 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" >typedef enum si_process_state_e { > SM_PROC_UNKNOWN, > SM_PROC_OTHER, > SM_PROC_READY, > SM_PROC_RUNNING, > SM_PROC_BLOCKED, > SM_PROC_SUSPENDED_BLOCKED, > SM_PROC_SUSPENDED_READY, > SM_PROC_TERMINATED, > SM_PROC_STOPPED, > SM_PROC_GROWING, > > SM_TOTAL_PROCESS_STATES >} si_process_state_t; ># 121 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" >typedef enum si_service_state_e { > SM_SRV_UNKNOWN, > SM_SRV_STOPPED, > SM_SRV_START_PENDING, > SM_SRV_STOP_PENDING, > SM_SRV_RUNNING, > SM_SRV_CONTINUE_PENDING, > SM_SRV_PAUSE_PENDING, > SM_SRV_PAUSED, > > SM_TOTAL_SERVICE_STATES >} si_service_state_t; ># 144 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" >typedef enum si_start_type_e { > SM_SRVST_UNKNOWN, > > SM_SRVST_SYSTEM, > SM_SRVST_AUTO, > SM_SRVST_MANUAL, > SM_SRVST_DISABLED, > > SM_TOTAL_START_TYPES >} si_start_type_t; > > > > > > > >typedef struct si_load_stat_s { > > > si_uint64_t nprocs_total; > > > > si_uint64_t nprocs [SM_TOTAL_PROCESS_STATES]; ># 178 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" > si_uint32_t pct_cpu; > > > si_uint32_t pct_mem; > > > si_uint32_t pct_vm; > > > si_uint32_t pct_swap; > > > > si_uint32_t loadavg; >} si_load_stat_t; > >typedef enum si_load_statflag_e { > SM_LOAD_NONE = 0, > > SM_LOAD_PCTCPU = 1, > SM_LOAD_PCTMEM = (SM_LOAD_PCTCPU << 1), > SM_LOAD_PCTVM = (SM_LOAD_PCTMEM << 1), > SM_LOAD_PCTSWAP = (SM_LOAD_PCTVM << 1), > > SM_LOAD_AVG = (SM_LOAD_PCTSWAP << 1), > SM_LOAD_NPROCS = (SM_LOAD_AVG << 1), > SM_LOAD_BYSTATE = (SM_LOAD_NPROCS << 1) >} si_load_statflag_t; > > > > > > >typedef struct si_swap_stat_s {typedef si_swap_stat_s SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) > > > > si_uint64_t rate_swapin; > > > > > si_uint64_t rate_swapout; > > > > > > si_uint64_t count_swappedin; > > > > > si_uint64_t count_swappedout; > > > > > si_uint64_t swpque; > > > > si_uint64_t swpocc; > >} si_swap_stat_t; > >typedef enum si_swap_statflag_e { > SM_SWAP_NONE = 0, > > SM_SWAP_RATE_SWAPIN = 1, > SM_SWAP_RATE_SWAPOUT = (SM_SWAP_RATE_SWAPIN << 1), > > SM_SWAP_COUNT_SWAPPEDIN = (SM_SWAP_RATE_SWAPOUT << 1), > SM_SWAP_COUNT_SWAPPEDOUT = (SM_SWAP_COUNT_SWAPPEDIN << 1), > > SM_SWAP_BYTECOUNTS = (SM_SWAP_COUNT_SWAPPEDOUT << 1), > SM_SWAP_PAGECOUNTS = (SM_SWAP_BYTECOUNTS << 1), > SM_SWAP_BLCKCOUNTS = (SM_SWAP_PAGECOUNTS << 1), > > SM_SWAP_PQUE = (SM_SWAP_BLCKCOUNTS << 1), > SM_SWAP_POCC = (SM_SWAP_PQUE << 1) >} si_swap_statflag_t; > >typedef struct si_misc_stat_s {typedef si_misc_stat_s SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) > > > > > > > > si_uint64_t ncpu; > > > si_uint32_t nswapdevs; > > > > si_uint64_t physpages; > > > > si_uint64_t pagesize; > > > > > si_uint64_t availrmem; > > > > si_uint64_t freemem; > > > > si_uint64_t swaptotal; > > > > > si_uint64_t swapavail; > > > > si_uint64_t swapfree; > > > > si_uint64_t swapresv; >} si_misc_stat_t; > >typedef enum si_miscflag_e { > SM_SYSC_NONE = 0, > > SM_SYSC_NCPU = 1, > SM_SYSC_NSWAPDEVS = (SM_SYSC_NCPU << 1), > SM_SYSC_PHYSPAGES = (SM_SYSC_NSWAPDEVS << 1), > SM_SYSC_PAGESIZE = (SM_SYSC_PHYSPAGES << 1), > > SM_SYSC_AVAILRMEM = (SM_SYSC_PAGESIZE << 1), > SM_SYSC_FREEMEM = (SM_SYSC_AVAILRMEM << 1), > > SM_SYSC_SWAPTOTAL = (SM_SYSC_FREEMEM << 1), > SM_SYSC_SWAPAVAIL = (SM_SYSC_SWAPTOTAL << 1), > SM_SYSC_SWAPFREE = (SM_SYSC_SWAPAVAIL << 1), > SM_SYSC_SWAPRESV = (SM_SYSC_SWAPFREE << 1) >} si_miscflag_t; > > >typedef struct si_service_stat_s {typedef si_service_stat_s SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) > > > > char *name; > > > > char *owner; > > > > char *descr; > > > > char *cmdline; > > > > si_uint64_t pid; > > > > si_service_state_t status; > > > > si_start_type_t starttype; > >} si_service_stat_t; > >typedef enum si_svc_statflag_e { > SM_SVCINFO_NONE = 0, > > SM_SVCINFO_NAME = 1, > SM_SVCINFO_OWNER = (SM_SVCINFO_NAME << 1), > SM_SVCINFO_DESCR = (SM_SVCINFO_OWNER << 1), > SM_SVCINFO_CMDLINE = (SM_SVCINFO_DESCR << 1), > SM_SVCINFO_PID = (SM_SVCINFO_CMDLINE << 1), > SM_SVCINFO_STATUS = (SM_SVCINFO_PID << 1), > SM_SVCINFO_STARTTYPE = (SM_SVCINFO_STATUS << 1) > >} si_svc_statflag_t; > > >typedef struct si_process_stat_s {typedef si_process_stat_s SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) > > char *cmd; > char *args; > > > > si_process_state_t status; > > > > si_uint64_t pid; > si_uint64_t ppid; > si_uint64_t pgid; > > si_uint64_t uid; > si_uint64_t gid; > si_uint64_t euid; > si_uint64_t egid; > > > > si_uint64_t vmsize; > > > si_uint64_t residentsize; > > > > si_uint64_t createtime; > > > > > si_uint64_t owntime; > > > > > > si_uint64_t grouptime; > > > > > si_uint64_t kerneltime; > > > > > si_uint64_t usertime; ># 434 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" > si_uint64_t walltime; > > si_uint32_t pctcpu; > si_uint32_t pctmem; > >} si_process_stat_t; > >typedef enum si_proc_statflag_e { > SM_PROCINFO_NONE = 0, > > SM_PROCINFO_CMD = 1, > SM_PROCINFO_ARGS = (SM_PROCINFO_CMD << 1), > > SM_PROCINFO_STATUS = (SM_PROCINFO_ARGS << 1), > > SM_PROCINFO_PID = (SM_PROCINFO_STATUS << 1), > SM_PROCINFO_PPID = (SM_PROCINFO_PID << 1), > SM_PROCINFO_PGID = (SM_PROCINFO_PPID << 1), > > SM_PROCINFO_UID = (SM_PROCINFO_PGID << 1), > SM_PROCINFO_EUID = (SM_PROCINFO_UID << 1), > SM_PROCINFO_GID = (SM_PROCINFO_EUID << 1), > SM_PROCINFO_EGID = (SM_PROCINFO_GID << 1), > > SM_PROCINFO_VMSIZE = (SM_PROCINFO_EGID << 1), > SM_PROCINFO_RESIDENTSIZE = (SM_PROCINFO_VMSIZE << 1), > > SM_PROCINFO_CREATETIME = (SM_PROCINFO_RESIDENTSIZE << 1), > SM_PROCINFO_OWNTIME = (SM_PROCINFO_CREATETIME << 1), > SM_PROCINFO_GROUPTIME = (SM_PROCINFO_OWNTIME << 1), > SM_PROCINFO_KERNELTIME = (SM_PROCINFO_GROUPTIME << 1), > SM_PROCINFO_USERTIME = (SM_PROCINFO_KERNELTIME << 1), > SM_PROCINFO_WALLTIME = (SM_PROCINFO_USERTIME << 1), > > SM_PROCINFO_PCTCPU = (SM_PROCINFO_WALLTIME << 1), > SM_PROCINFO_PCTMEM = (SM_PROCINFO_PCTCPU << 1) > >} si_proc_statflag_t; > >typedef enum si_pu_stattype_e { > > SM_PU_IDLE, > SM_PU_USER, > SM_PU_KERNEL, > SM_PU_IO, > SM_PU_SWAP, > > SM_TOTAL_CPU_STATS >} si_pu_stattype_t; > >typedef struct si_pu_stat_s { > > > > > si_uint64_t count [SM_TOTAL_CPU_STATS]; > si_uint32_t time_pct [SM_TOTAL_CPU_STATS]; > si_uint64_t cpuid; >} si_pu_stat_t; > >typedef enum si_pu_statflag_e { > SM_PU_NONE = 0, > SM_PU_COUNT = 1, > SM_PU_TIME_PCT = (SM_PU_COUNT << 1), > SM_PU_CPUID = (SM_PU_TIME_PCT << 1) >} si_pu_statflag_t; > > >typedef enum si_filesys_type_e { > > SM_FILESYS_TYPE_UFS, > SM_FILESYS_TYPE_NFS, > SM_FILESYS_TYPE_NFS3, > SM_FILESYS_TYPE_PROC, > SM_FILESYS_TYPE_MNTFS, > SM_FILESYS_TYPE_FD, > SM_FILESYS_TYPE_EXT3, > SM_FILESYS_TYPE_CACHEFS, > SM_FILESYS_TYPE_PCFS, > SM_FILESYS_TYPE_LOFS, > SM_FILESYS_TYPE_HSFS, > SM_FILESYS_TYPE_SWAP, > SM_FILESYS_TYPE_TMPFS, > SM_FILESYS_TYPE_AUTOFS, > SM_FILESYS_TYPE_CDFS, > SM_FILESYS_TYPE_VXFS, > SM_FILESYS_TYPE_DUMP, > SM_FILESYS_TYPE_DFS, > SM_FILESYS_TYPE_HFS, > SM_FILESYS_TYPE_RAM, > SM_FILESYS_TYPE_REMOTE, > SM_FILESYS_TYPE_REMOVABLE, > SM_FILESYS_TYPE_FIXED, > SM_FILESYS_TYPE_UNKNOWN > >} si_filesys_type_t; > >typedef enum si_filesys_options_e { > > SM_FILESYS_OPTIONS_NONE = 0, > > SM_FILESYS_OPTIONS_RO = 1, > SM_FILESYS_OPTIONS_RW = (SM_FILESYS_OPTIONS_RO << 1), > SM_FILESYS_OPTIONS_RQ = (SM_FILESYS_OPTIONS_RW << 1), > SM_FILESYS_OPTIONS_NOQUOTA > = (SM_FILESYS_OPTIONS_RQ << 1), > SM_FILESYS_OPTIONS_SUID = (SM_FILESYS_OPTIONS_NOQUOTA << 1), > SM_FILESYS_OPTIONS_NOSUID = (SM_FILESYS_OPTIONS_SUID << 1), > SM_FILESYS_OPTIONS_NOSUB = (SM_FILESYS_OPTIONS_NOSUID << 1), > SM_FILESYS_OPTIONS_NOINTR = (SM_FILESYS_OPTIONS_NOSUB << 1), > SM_FILESYS_OPTIONS_NOLOGGING= (SM_FILESYS_OPTIONS_NOINTR << 1), > SM_FILESYS_OPTIONS_LARGEFILES > = (SM_FILESYS_OPTIONS_NOLOGGING << 1), > SM_FILESYS_OPTIONS_NOLARGEFILES > = (SM_FILESYS_OPTIONS_LARGEFILES << 1), > SM_FILESYS_OPTIONS_NOAUTO = (SM_FILESYS_OPTIONS_NOLARGEFILES << 1), > SM_FILESYS_OPTIONS_NODEVS = (SM_FILESYS_OPTIONS_NOAUTO << 1) > >} si_filesys_options_t; > >typedef struct si_filesys_stat_s { > > > > > const char *devname; > const char *mntpoint; > const char *drvref; > > si_uint32_t f_options; > si_filesys_type_t f_type; > > si_uint64_t f_bsize; > si_uint64_t f_blocks; > si_uint64_t f_bfree; > si_uint64_t f_bavail; > si_uint64_t f_files; > si_uint64_t f_ffree; > si_uint64_t f_favail; > si_uint64_t f_bytes; > si_uint64_t f_free; > si_uint64_t f_avail; > >} si_filesys_stat_t; > >typedef enum si_filesys_statflag_e { > SM_FILESYS_NONE = 0, > > SM_FILESYS_DEVNAME = 1, > SM_FILESYS_MNTPOINT = (SM_FILESYS_DEVNAME << 1), > SM_FILESYS_DRVREF = (SM_FILESYS_MNTPOINT << 1), > > > SM_FILESYS_BSIZE = (SM_FILESYS_DRVREF << 1), > SM_FILESYS_BLOCKS = (SM_FILESYS_BSIZE << 1), > SM_FILESYS_BFREE = (SM_FILESYS_BLOCKS << 1), > SM_FILESYS_BAVAIL = (SM_FILESYS_BFREE << 1), > > SM_FILESYS_FILES = (SM_FILESYS_BAVAIL << 1), > > SM_FILESYS_FFREE = (SM_FILESYS_FILES << 1), > SM_FILESYS_FAVAIL = (SM_FILESYS_FFREE << 1), > > > SM_FILESYS_BYTES = (SM_FILESYS_FAVAIL << 1), > SM_FILESYS_FREE = (SM_FILESYS_BYTES << 1), > SM_FILESYS_AVAIL = (SM_FILESYS_FREE << 1), > > > SM_FILESYS_OPTIONS = (SM_FILESYS_AVAIL << 1), > > > SM_FILESYS_TYPE = (SM_FILESYS_OPTIONS << 1) > >} si_filesys_statflag_t; > >typedef struct si_disk_stat_s { > sm_bool_t active; > > si_uint64_t bytes_read; > si_uint64_t bytes_written; > si_uint64_t bytes_transferred; > > si_uint64_t read_ops; > si_uint64_t write_ops; > si_uint64_t total_ops; > > > si_uint64_t readq_len; > si_uint64_t writeq_len; > si_uint64_t totalq_len; > > > si_uint64_t integral_readq_len; > si_uint64_t integral_writeq_len; > si_uint64_t integral_totalq_len; > > si_uint64_t readq_last_updated; > si_uint64_t writeq_last_updated; > si_uint64_t totalq_last_updated; > > >} si_disk_stat_t; > >typedef enum si_disk_statflag_e { > SM_DISK_NONE = 0, > > SM_DISK_ACTIVE = 1, > > SM_DISK_BYTES_READ = (SM_DISK_ACTIVE << 1), > SM_DISK_BYTES_WRITTEN = (SM_DISK_BYTES_READ << 1), > SM_DISK_BYTES_TRANSFERRED = (SM_DISK_BYTES_WRITTEN << 1), > > SM_DISK_READ_OPS = (SM_DISK_BYTES_TRANSFERRED << 1), > SM_DISK_WRITE_OPS = (SM_DISK_READ_OPS << 1), > SM_DISK_TOTAL_OPS = (SM_DISK_WRITE_OPS << 1), > > SM_DISK_READQ_LEN = (SM_DISK_TOTAL_OPS << 1), > SM_DISK_WRITEQ_LEN = (SM_DISK_READQ_LEN << 1), > SM_DISK_TOTALQ_LEN = (SM_DISK_WRITEQ_LEN << 1), > > SM_DISK_INTEGRAL_READQ_LEN = (SM_DISK_TOTALQ_LEN << 1), > SM_DISK_INTEGRAL_WRITEQ_LEN = (SM_DISK_INTEGRAL_READQ_LEN << 1), > SM_DISK_INTEGRAL_TOTALQ_LEN = (SM_DISK_INTEGRAL_WRITEQ_LEN << 1), > > SM_DISK_READQ_LAST_UPDATED = (SM_DISK_INTEGRAL_TOTALQ_LEN << 1), > SM_DISK_WRITEQ_LAST_UPDATED = (SM_DISK_READQ_LAST_UPDATED << 1), > SM_DISK_TOTALQ_LAST_UPDATED = (SM_DISK_WRITEQ_LAST_UPDATED << 1) >} si_disk_statflag_e; > >typedef struct si_stat_s { > void *sysdata; > si_uint32_t magic; >} si_stat_t; ># 686 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" > sm_err_t >sm_si_stat_init(si_stat_t *ctx); ># 697 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" > sm_err_t >sm_si_stat_destroy(si_stat_t *ctx); ># 720 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" > sm_err_t si_stat_cycle(si_stat_t *ctx); ># 742 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" > sm_err_t sm_si_get_load_stats(si_stat_t *ctx, si_load_stat_t *stat, > si_uint32_t *flags); ># 765 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" > sm_err_t sm_si_get_swap_stats(si_stat_t *ctx, si_swap_stat_t *stat, > si_uint32_t *flags); ># 790 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" > sm_err_t sm_si_get_misc_stats(si_stat_t *ctx, > si_misc_stat_t *stat, > si_uint32_t *flags); ># 826 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" > sm_err_t sm_si_get_process_stats_first(si_stat_t *ctx, > si_process_stat_t *stat, > si_uint32_t *flags); ># 860 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" > sm_err_t sm_si_get_process_stats_next(si_stat_t *ctx, > si_process_stat_t *stat, > si_uint32_t *flags); ># 895 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" > sm_err_t sm_si_get_service_stats_first(si_stat_t *ctx, > si_service_stat_t *stat, > si_uint32_t *flags); ># 929 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" > sm_err_t sm_si_get_service_stats_next(si_stat_t *ctx, > si_service_stat_t *stat, > si_uint32_t *flags); ># 960 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" > sm_err_t sm_si_get_pu_stats_first(si_stat_t *ctx, > si_pu_stat_t *stat, > si_uint32_t *flags); ># 990 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" > sm_err_t sm_si_get_pu_stats_next(si_stat_t *ctx, si_pu_stat_t *stat, > si_uint32_t *flags); ># 1021 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" > sm_err_t sm_si_get_filesys_stats_first(si_stat_t *ctx, > si_filesys_stat_t *stat, > si_uint32_t *flags); ># 1051 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" > sm_err_t sm_si_get_filesys_stats_next(si_stat_t *ctx, > si_filesys_stat_t *stat, > si_uint32_t *flags); ># 1075 "/emc/leichj/p4/main/smarts/platform/include/../stat/si_stat.h" > sm_err_t sm_si_get_disk_stats(si_stat_t *ctx, const char *dev, > si_disk_stat_t *stat, > si_uint32_t *flags); > > > >} ># 718 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/include/../netif/si_netif.h" 1 ># 38 "/emc/leichj/p4/main/smarts/platform/include/../netif/si_netif.h" >extern "C" { ># 47 "/emc/leichj/p4/main/smarts/platform/include/../netif/si_netif.h" >typedef struct si_netif_context_s {typedef si_netif_context_s SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) > void *sysdata; > si_uint32_t magic; >} si_netif_context_t; > > > > > > >typedef struct si_netif_input_stats_s {typedef si_netif_input_stats_s SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) > > > > > si_uint64_t ipkts_total; > > > > > si_uint64_t ipkts_ok; > > > > > si_uint64_t ipkts_err; > > > > > si_uint64_t ipkts_drop; > > > > > si_uint64_t ipkts_overflow; > > > > > si_uint64_t ipkts_collision; > >} si_netif_input_stats_t; > > >typedef enum si_netif_input_statflag_e { > > NETIF_INPUT_NONE = 0, > NETIF_INPUT_PKTS_TOTAL = 1, > NETIF_INPUT_PKTS_OK = (NETIF_INPUT_PKTS_TOTAL << 1), > NETIF_INPUT_PKTS_ERR = (NETIF_INPUT_PKTS_OK << 1), > NETIF_INPUT_PKTS_DROP = (NETIF_INPUT_PKTS_ERR << 1), > NETIF_INPUT_PKTS_OVERFLOW = (NETIF_INPUT_PKTS_DROP << 1), > NETIF_INPUT_PKTS_COLLISION = (NETIF_INPUT_PKTS_OVERFLOW << 1) > >} si_netif_input_statflag_t; > > > > > >typedef struct si_netif_output_stats_s {typedef si_netif_output_stats_s SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) > > > > > si_uint64_t opkts_total; > > > > > si_uint64_t opkts_ok; > > > > > si_uint64_t opkts_err; > > > > > si_uint64_t opkts_drop; > > > > > si_uint64_t opkts_overflow; > > > > > si_uint64_t opkts_collision; > >} si_netif_output_stats_t; > > >typedef enum si_netif_output_statflag_e { > > NETIF_OUTPUT_NONE = 0, > NETIF_OUTPUT_PKTS_TOTAL = 1, > NETIF_OUTPUT_PKTS_OK = (NETIF_OUTPUT_PKTS_TOTAL << 1), > NETIF_OUTPUT_PKTS_ERR = (NETIF_OUTPUT_PKTS_OK << 1), > NETIF_OUTPUT_PKTS_DROP = (NETIF_OUTPUT_PKTS_ERR << 1), > NETIF_OUTPUT_PKTS_OVERFLOW = (NETIF_OUTPUT_PKTS_DROP << 1), > NETIF_OUTPUT_PKTS_COLLISION = (NETIF_OUTPUT_PKTS_OVERFLOW << 1) > >} si_netif_output_statflag_t; > > > > > > >typedef struct si_netif_s {typedef si_netif_s SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) > > > > > char *name; > > > > > char *type; > > > > > char *descr; > > > > > char *admin_status; > > > > > char *oper_status; > > > > > char *hwaddr; > > > > > char *family; > > > > > char *addr; > > > > > char *netmask; > > > > > sm_bool_t supports_multicast; > > > > > si_uint32_t mtu; > > > > > si_uint32_t index; > > > > > si_netif_input_stats_t input_stats; > > > > > si_netif_output_stats_t output_stats; > >} si_netif_t; > > >typedef enum si_netif_statflag_e { > > NETIF_NONE = 0, > NETIF_NAME = 1, > NETIF_TYPE = (NETIF_NAME << 1), > NETIF_DESCR = (NETIF_TYPE << 1), > NETIF_ADMIN_STATUS = (NETIF_DESCR << 1), > NETIF_OPER_STATUS = (NETIF_ADMIN_STATUS << 1), > NETIF_HWADDR = (NETIF_OPER_STATUS << 1), > NETIF_FAMILY = (NETIF_HWADDR << 1), > NETIF_ADDR = (NETIF_FAMILY << 1), > NETIF_NETMASK = (NETIF_ADDR << 1), > NETIF_SUPPORTS_MULTICAST > = (NETIF_NETMASK << 1), > NETIF_MTU = (NETIF_SUPPORTS_MULTICAST << 1), > NETIF_INDEX = (NETIF_MTU << 1), > NETIF_INPUT_STATS = (NETIF_INDEX << 1), > NETIF_OUTPUT_STATS = (NETIF_INPUT_STATS << 1), > NETIF_INPUT_STATS_GLOBAL > = (NETIF_OUTPUT_STATS << 1), > NETIF_OUTPUT_STATS_GLOBAL > = (NETIF_INPUT_STATS_GLOBAL << 1) > >} si_netif_statflag_t; ># 290 "/emc/leichj/p4/main/smarts/platform/include/../netif/si_netif.h" >typedef enum si_socket_state_e { > SOCKET_STATE_CLOSED, > SOCKET_STATE_CLOSING, > SOCKET_STATE_LISTEN, > SOCKET_STATE_ESTABLISHED, > SOCKET_STATE_SYN_SENT, > SOCKET_STATE_SYN_RECEIVED, > SOCKET_STATE_TIME_WAIT, > SOCKET_STATE_CLOSE_WAIT, > SOCKET_STATE_FIN_WAIT_1, > SOCKET_STATE_FIN_WAIT_2, > SOCKET_STATE_LAST_ACK, > SOCKET_STATE_BOUND, > SOCKET_STATE_UNKNOWN >} si_socket_state_t; ># 317 "/emc/leichj/p4/main/smarts/platform/include/../netif/si_netif.h" >typedef enum si_protocol_e { > SOCKET_PROTOCOL_UDP, > SOCKET_PROTOCOL_TCP, > SOCKET_PROTOCOL_UNIX, > SOCKET_PROTOCOL_UNKNOWN >} si_protocol_t; > > > > >typedef struct si_socket_s {typedef si_socket_s SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) > > > > > si_uint32_t socket_flags; > > > > > si_protocol_t protocol; > > > > > si_uint64_t recv_q; > > > > > si_uint64_t send_q; > > > > > char local_address[256]; > > > > > si_uint16_t local_port; > > > > > char remote_address[256]; > > > > > si_uint16_t remote_port; > > > > > si_socket_state_t state; > > > > > char progname[256]; > > > > > si_uint64_t pid; > > > > > si_uint64_t fileid; > > > > > si_uint64_t nodeid; > > > > > si_uint64_t fd; > > > > > struct si_socket_s *next; > >} si_socket_t; > >typedef enum si_socket_statflag_e { > > SOCKET_NONE = 0, > SOCKET_PROTOCOL = 1, > SOCKET_RECV_Q = (SOCKET_PROTOCOL << 1), > SOCKET_SEND_Q = (SOCKET_RECV_Q << 1), > SOCKET_LOCAL_ADDRESS = (SOCKET_SEND_Q << 1), > SOCKET_LOCAL_PORT = (SOCKET_LOCAL_ADDRESS << 1), > SOCKET_REMOTE_ADDRESS = (SOCKET_LOCAL_PORT << 1), > SOCKET_REMOTE_PORT = (SOCKET_REMOTE_ADDRESS << 1), > SOCKET_STATE = (SOCKET_REMOTE_PORT << 1), > SOCKET_PROG_NAME = (SOCKET_STATE << 1), > SOCKET_PID = (SOCKET_PROG_NAME << 1), > SOCKET_FILEID = (SOCKET_PID << 1), > SOCKET_NODEID = (SOCKET_FILEID << 1), > SOCKET_FD = (SOCKET_NODEID << 1) > >} si_socket_statflag_t; ># 443 "/emc/leichj/p4/main/smarts/platform/include/../netif/si_netif.h" > sm_err_t >sm_si_netif_init(si_netif_context_t *ctx); ># 456 "/emc/leichj/p4/main/smarts/platform/include/../netif/si_netif.h" > sm_err_t >sm_si_netif_destroy(si_netif_context_t *ctx); ># 510 "/emc/leichj/p4/main/smarts/platform/include/../netif/si_netif.h" > sm_err_t >sm_si_get_ifstats_first(si_netif_context_t *ctx, > si_netif_t *netif, > si_uint32_t *netif_flags, > si_uint32_t *input_flags, > si_uint32_t *output_flags); ># 566 "/emc/leichj/p4/main/smarts/platform/include/../netif/si_netif.h" > sm_err_t >sm_si_get_ifstats_next(si_netif_context_t *ctx, > si_netif_t *netif, > si_uint32_t *netif_flags, > si_uint32_t *input_flags, > si_uint32_t *output_flags); ># 599 "/emc/leichj/p4/main/smarts/platform/include/../netif/si_netif.h" > sm_err_t >sm_si_get_sockets(si_netif_context_t *ctx, > si_uint64_t *num_sockets, > si_socket_t *sockif); ># 634 "/emc/leichj/p4/main/smarts/platform/include/../netif/si_netif.h" > sm_err_t >sm_si_get_pid_sockets(si_netif_context_t *ctx, > si_uint64_t pid, > si_uint64_t *num_sockets, > si_socket_t *sockif); > > > > >} ># 719 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/include/../bignum/si_bignum.h" 1 ># 19 "/emc/leichj/p4/main/smarts/platform/include/../bignum/si_bignum.h" ># 1 "/emc/leichj/p4/main/smarts/platform/linux_rhAS40-x86-32/debug/bignumerr.h" 1 ># 17 "/emc/leichj/p4/main/smarts/platform/linux_rhAS40-x86-32/debug/bignumerr.h" >enum BNUM_et { > BNUM_OK = 0, > > SI_DIVIDE_BY_ZERO = 149245184, > SI_INVALID_BIGNUM = 149245185, > > SM_ERROR_TABLE_BASE_BNUM = 149245184 > >}; ># 38 "/emc/leichj/p4/main/smarts/platform/linux_rhAS40-x86-32/debug/bignumerr.h" >typedef enum BNUM_et BNUM_et; > >extern "C" > > void _sm_BNUM_error_table_init(void); > > >extern "C" > > int _sm_BNUM_error_table_initializer_done; > > > > >static struct BNUM_error_table_initializer >{typedef BNUM_error_table_initializer SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) BNUM_error_table_initializer() > { if (!_sm_BNUM_error_table_initializer_done) > { _sm_BNUM_error_table_initializer_done = 1; > _sm_BNUM_error_table_init(); > } > } >} BNUM_error_table_initializer_dummy; ># 20 "/emc/leichj/p4/main/smarts/platform/include/../bignum/si_bignum.h" 2 ># 81 "/emc/leichj/p4/main/smarts/platform/include/../bignum/si_bignum.h" > typedef si_uint16_t si_digit_t; > > > > > > >typedef struct{ > si_digit_t* value; > si_int32_t nDigits; > si_uint32_t size; > }si_bignum_t; > > > > > > > >extern "C" { ># 157 "/emc/leichj/p4/main/smarts/platform/include/../bignum/si_bignum.h" > sm_err_t >sm_si_bignum_init(si_bignum_t* bn,si_int32_t nDigits); > > > > > > sm_err_t >sm_si_bignum_destroy(si_bignum_t* bn); ># 175 "/emc/leichj/p4/main/smarts/platform/include/../bignum/si_bignum.h" > sm_err_t >si_bignum_hex2bignum(si_bignum_t* bn,si_uchar8_t* bytes, > si_int32_t nBytes); ># 186 "/emc/leichj/p4/main/smarts/platform/include/../bignum/si_bignum.h" > sm_err_t >si_bignum_bignum2netbytes(si_uchar8_t** bytes,si_int32_t* byteLength, > si_bignum_t* bn); ># 197 "/emc/leichj/p4/main/smarts/platform/include/../bignum/si_bignum.h" > sm_err_t >si_bignum_netbytes2bignum(si_bignum_t* bn,si_uchar8_t* bytes, > si_int32_t byteLength); > > > > > > > > sm_err_t >sm_si_bignum_add(si_bignum_t* r,si_bignum_t* a,si_bignum_t* b); > > > > > > > > sm_err_t >sm_si_bignum_subtract(si_bignum_t* r,si_bignum_t* a,si_bignum_t* b); ># 226 "/emc/leichj/p4/main/smarts/platform/include/../bignum/si_bignum.h" > sm_err_t >sm_si_bignum_multiply(si_bignum_t* r,si_bignum_t* a,si_bignum_t* b); ># 236 "/emc/leichj/p4/main/smarts/platform/include/../bignum/si_bignum.h" > sm_err_t >sm_si_bignum_divide(si_bignum_t* q,si_bignum_t* r, > si_bignum_t* a,si_bignum_t* b); > > > > > > > > sm_err_t >sm_si_bignum_modulo(si_bignum_t* r,si_bignum_t* a,si_bignum_t* b); ># 257 "/emc/leichj/p4/main/smarts/platform/include/../bignum/si_bignum.h" > sm_err_t >si_bignum_modmultiply(si_bignum_t* r,si_bignum_t* x, > si_bignum_t* y,si_bignum_t* b); ># 268 "/emc/leichj/p4/main/smarts/platform/include/../bignum/si_bignum.h" > sm_err_t >sm_si_bignum_pow(si_bignum_t* r,si_bignum_t* x,si_bignum_t* n); ># 279 "/emc/leichj/p4/main/smarts/platform/include/../bignum/si_bignum.h" > sm_err_t >sm_si_bignum_modpow(si_bignum_t* r,si_bignum_t* x, > si_bignum_t* n,si_bignum_t* p); ># 292 "/emc/leichj/p4/main/smarts/platform/include/../bignum/si_bignum.h" > sm_err_t >sm_si_bignum_assign(si_bignum_t* lhs,si_bignum_t* rhs); ># 302 "/emc/leichj/p4/main/smarts/platform/include/../bignum/si_bignum.h" > sm_err_t >sm_si_bignum_iszero(sm_bool_t* isEqual,si_bignum_t* lhs); ># 312 "/emc/leichj/p4/main/smarts/platform/include/../bignum/si_bignum.h" > sm_err_t >sm_si_bignum_cmp(si_int32_t* result,si_bignum_t* lhs,si_bignum_t* rhs); > > > > > >} ># 720 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/include/../crypto/si_crypto.h" 1 ># 20 "/emc/leichj/p4/main/smarts/platform/include/../crypto/si_crypto.h" ># 1 "/emc/leichj/p4/main/smarts/platform/linux_rhAS40-x86-32/debug/cryptoerr.h" 1 ># 17 "/emc/leichj/p4/main/smarts/platform/linux_rhAS40-x86-32/debug/cryptoerr.h" >enum CRPT_et { > CRPT_OK = 0, > > CRYPTO_EINTERNAL = 220468224, > CRYPTO_INVALID_MAGICNUMBER = 220468225, > CRYPTO_AES_INIT_FAILED = 220468226, > CRYPTO_INVALID_DIRECTION = 220468227, > CRYPTO_AES_ENCRYPT_FAILED = 220468228, > CRYPTO_AES_DECRYPT_FAILED = 220468229, > CRYPTO_HASH_IN_ENCRYPT = 220468230, > CRYPTO_HASH_IN_DECRYPT = 220468231, > CRYPTO_HASH_IN_HMAC = 220468232, > CRYPTO_ENCRYPT_IN_HASH = 220468233, > CRYPTO_ENCRYPT_IN_HMAC = 220468234, > CRYPTO_DECRYPT_IN_HASH = 220468235, > CRYPTO_DECRYPT_IN_HMAC = 220468236, > CRYPTO_HMAC_IN_ENCRYPT = 220468237, > CRYPTO_HMAC_IN_DECRYPT = 220468238, > CRYPTO_HMAC_IN_HASH = 220468239, > > SM_ERROR_TABLE_BASE_CRPT = 220468224 > >}; ># 52 "/emc/leichj/p4/main/smarts/platform/linux_rhAS40-x86-32/debug/cryptoerr.h" >typedef enum CRPT_et CRPT_et; > >extern "C" > > void _sm_CRPT_error_table_init(void); > > >extern "C" > > int _sm_CRPT_error_table_initializer_done; > > > > >static struct CRPT_error_table_initializer >{typedef CRPT_error_table_initializer SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) CRPT_error_table_initializer() > { if (!_sm_CRPT_error_table_initializer_done) > { _sm_CRPT_error_table_initializer_done = 1; > _sm_CRPT_error_table_init(); > } > } >} CRPT_error_table_initializer_dummy; ># 21 "/emc/leichj/p4/main/smarts/platform/include/../crypto/si_crypto.h" 2 ># 65 "/emc/leichj/p4/main/smarts/platform/include/../crypto/si_crypto.h" >typedef void* si_crypto_t; > > > > > >typedef enum{ > > > > SI_CRYPTO_AES, > > > > > SI_CRYPTO_DES, > > > > > > SI_CRYPTO_MD5, > > > > > > SI_CRYPTO_SHA1, > > > > > > SI_CRYPTO_SHA224, > SI_CRYPTO_SHA256, > SI_CRYPTO_SHA384, > SI_CRYPTO_SHA512, > > > > > > SI_CRYPTO_HMAC_SHA1 > > }si_crypto_e; > > > > > > >typedef enum{ > > > > SI_CRYPTO_AES_BLOCK = 16, > > > > > SI_CRYPTO_DES_BLOCK = 8, > > > > > > SI_CRYPTO_MD5_BLOCK = 16, > > > > > > SI_CRYPTO_SHA1_BLOCK = 20, ># 147 "/emc/leichj/p4/main/smarts/platform/include/../crypto/si_crypto.h" > SI_CRYPTO_SHA224_BLOCK = 28, > SI_CRYPTO_SHA256_BLOCK = 32, > SI_CRYPTO_SHA384_BLOCK = 48, > SI_CRYPTO_SHA512_BLOCK = 64, > > > > > > SI_CRYPTO_HMAC_SHA1_BLOCK = 20 > > }si_crypto_blocksize_e; ># 173 "/emc/leichj/p4/main/smarts/platform/include/../crypto/si_crypto.h" >typedef struct{ > > > > > si_crypto_e type; > > > > > si_crypto_t crypto; > > > > > > > sm_bool_t direction; > > }si_crypto_ctx; > > > > > > > >extern "C" { ># 265 "/emc/leichj/p4/main/smarts/platform/include/../crypto/si_crypto.h" > sm_err_t >sm_si_crypto_init( si_crypto_ctx* ctx, const si_uchar8_t* key, > size_t length, si_crypto_e type, > sm_bool_t direction); ># 282 "/emc/leichj/p4/main/smarts/platform/include/../crypto/si_crypto.h" > sm_err_t >sm_si_crypto_destroy( si_crypto_ctx* ctx ); ># 307 "/emc/leichj/p4/main/smarts/platform/include/../crypto/si_crypto.h" > sm_err_t >sm_si_crypto_encrypt( si_crypto_ctx* ctx, si_uchar8_t* inBytes, > si_uchar8_t* outBytes ); ># 331 "/emc/leichj/p4/main/smarts/platform/include/../crypto/si_crypto.h" > sm_err_t >sm_si_crypto_decrypt( si_crypto_ctx* ctx, si_uchar8_t* inBytes, > si_uchar8_t* outBytes ); ># 347 "/emc/leichj/p4/main/smarts/platform/include/../crypto/si_crypto.h" > sm_err_t >si_crypto_copy( si_crypto_ctx* dCtx, const si_crypto_ctx* sCtx ); ># 373 "/emc/leichj/p4/main/smarts/platform/include/../crypto/si_crypto.h" > sm_err_t >sm_si_crypto_updatehash( si_crypto_ctx* ctx, const si_uchar8_t* inBytes, > size_t nBytesIn ); ># 395 "/emc/leichj/p4/main/smarts/platform/include/../crypto/si_crypto.h" > sm_err_t >sm_si_crypto_finalizehash( si_crypto_ctx* ctx, si_uchar8_t* digest ); ># 426 "/emc/leichj/p4/main/smarts/platform/include/../crypto/si_crypto.h" > sm_err_t >sm_si_crypto_hmac( si_crypto_ctx* ctx, > si_uchar8_t* data, size_t dataLength, > size_t macLength, si_uchar8_t* mac ); > > > >} ># 721 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/include/../random/si_random.h" 1 ># 24 "/emc/leichj/p4/main/smarts/platform/include/../random/si_random.h" >extern "C" { ># 51 "/emc/leichj/p4/main/smarts/platform/include/../random/si_random.h" > sm_err_t >sm_si_srandom(si_uchar8_t* buffer, si_uint32_t nBytes); > > > > >} ># 722 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/include/../atomic/si_atomic.h" 1 ># 19 "/emc/leichj/p4/main/smarts/platform/include/../atomic/si_atomic.h" ># 1 "/emc/leichj/p4/main/smarts/platform/atomic/linux-x86/ssi_atomic.h" 1 ># 21 "/emc/leichj/p4/main/smarts/platform/atomic/linux-x86/ssi_atomic.h" >typedef si_int32_t si_atomic_t; ># 20 "/emc/leichj/p4/main/smarts/platform/include/../atomic/si_atomic.h" 2 ># 56 "/emc/leichj/p4/main/smarts/platform/include/../atomic/si_atomic.h" >typedef void* si_atomic_ptr_t; > > > > >extern "C" { ># 77 "/emc/leichj/p4/main/smarts/platform/include/../atomic/si_atomic.h" > si_atomic_t sm_si_atomic_increment(si_atomic_t* ref); ># 91 "/emc/leichj/p4/main/smarts/platform/include/../atomic/si_atomic.h" > si_atomic_t sm_si_atomic_decrement(si_atomic_t* ref); ># 130 "/emc/leichj/p4/main/smarts/platform/include/../atomic/si_atomic.h" > sm_bool_t >sm_si_atomic_cmpxchg(si_atomic_ptr_t* ref, si_atomic_ptr_t* oldValue, > si_atomic_ptr_t newValue); > > > > >} ># 723 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" 2 ># 1091 "/emc/leichj/p4/main/smarts/platform/include/cmpbase.h" >struct SI_MemSnapshot; > > >void sm_si_memstats(const char* w = (__null),FILE *f = stderr, > struct SI_MemSnapshot** p = (__null),sm_bool_t activeDiffsOnly = 1); > > > > > > > >struct si_init_initializer >{typedef si_init_initializer SI_INSTRUMENT_TAG; >SI_INSTRUMENT_STRUCT(SI_INSTRUMENT_TAG) si_init_initializer() > { if (sm_si_init_only_multithreaded() != 0) > (sm_si_panic_internal("/emc/leichj/p4/main/smarts/platform/include/cmpbase.h", 1106)); > }; >}; > > > > >static si_init_initializer si_init_initializer_dummy; ># 32 "/emc/leichj/p4/main/smarts/platform/include/smarts.h" 2 ># 1 "/emc/leichj/p4/main/smarts/platform/include/icimrefmodel.h" 1 ># 33 "/emc/leichj/p4/main/smarts/platform/include/smarts.h" 2 ># 17 "/emc/leichj/p4/main/smarts/platform/test/libsrc.c" 2 > >int good_variable;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 432303
:
294532
| 294565