Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #include "libts.h"
00030 #include "LogObject.h"
00031
00032 #if defined(solaris)
00033 #include <sys/types.h>
00034 #include <unistd.h>
00035 #endif
00036
00037 #include "P_Net.h"
00038
00039 int fds_limit = 8000;
00040
00041 class FakeUDPNetProcessor : public UDPNetProcessor {
00042 virtual int start(int, size_t) {
00043 ink_release_assert(false);
00044 return 0;
00045 };
00046 } fakeUDPNet;
00047
00048 UDPNetProcessor& udpNet = fakeUDPNet;
00049
00050 ClassAllocator<UDPPacketInternal> udpPacketAllocator("udpPacketAllocator");
00051
00052 void
00053 UDPConnection::Release()
00054 {
00055 ink_release_assert(false);
00056 }
00057
00058 #include "InkAPIInternal.h"
00059 ConfigUpdateCbTable *global_config_cbs = NULL;
00060
00061 void
00062 ConfigUpdateCbTable::invoke(const char * )
00063 {
00064 ink_release_assert(false);
00065 }
00066
00067 struct Machine { static Machine* instance(); };
00068 Machine* Machine::instance() {
00069 ink_release_assert(false);
00070 return NULL;
00071 }
00072
00073 #include "LogCollationAccept.h"
00074 LogCollationAccept::LogCollationAccept(int port)
00075 : Continuation(new_ProxyMutex()),
00076 m_port(port),
00077 m_pending_event(NULL)
00078 {
00079 }
00080 LogCollationAccept::~LogCollationAccept()
00081 {
00082 }
00083
00084 #include "LogCollationClientSM.h"
00085 LogCollationClientSM::LogCollationClientSM(LogHost * log_host):
00086 Continuation(new_ProxyMutex()),
00087 m_host_vc(NULL),
00088 m_host_vio(NULL),
00089 m_auth_buffer(NULL),
00090 m_auth_reader(NULL),
00091 m_send_buffer(NULL),
00092 m_send_reader(NULL),
00093 m_pending_action(NULL),
00094 m_pending_event(NULL),
00095 m_abort_vio(NULL),
00096 m_abort_buffer(NULL),
00097 m_buffer_send_list(NULL), m_buffer_in_iocore(NULL), m_flow(LOG_COLL_FLOW_ALLOW), m_log_host(log_host), m_id(0)
00098 {
00099 }
00100
00101 LogCollationClientSM::~LogCollationClientSM()
00102 {
00103 }
00104
00105 int
00106 LogCollationClientSM::send(LogBuffer * )
00107 {
00108 ink_release_assert(false);
00109 return 0;
00110 }
00111
00112 NetAccept *
00113 UnixNetProcessor::createNetAccept()
00114 {
00115 ink_release_assert(false);
00116 return NULL;
00117 }
00118
00119
00120 NetVCOptions const Connection::DEFAULT_OPTIONS;
00121 NetProcessor::AcceptOptions const NetProcessor::DEFAULT_ACCEPT_OPTIONS;
00122 DNSConnection::Options const DNSConnection::DEFAULT_OPTIONS;
00123
00124
00125 NetProcessor::AcceptOptions&
00126 NetProcessor::AcceptOptions::reset()
00127 {
00128 local_port = 0;
00129 accept_threads = 0;
00130 ip_family = AF_INET;
00131 etype = ET_NET;
00132 f_callback_on_open = false;
00133 recv_bufsize = 0;
00134 send_bufsize = 0;
00135 sockopt_flags = 0;
00136 packet_mark = 0;
00137 packet_tos = 0;
00138 f_inbound_transparent = false;
00139 return *this;
00140 }
00141
00142
00143 int
00144 CacheVC::handleWrite(int , Event * )
00145 {
00146 return 0;
00147 ink_release_assert(false);
00148 }
00149
00150 UnixNetProcessor unix_netProcessor;
00151 NetProcessor& netProcessor = unix_netProcessor;
00152
00153 int
00154 UnixNetProcessor::start(int, size_t)
00155 {
00156 ink_release_assert(false);
00157 return 0;
00158 }
00159
00160 Action *
00161 NetProcessor::accept(Continuation* , AcceptOptions const& )
00162 {
00163 ink_release_assert(false);
00164 return NULL;
00165 }
00166
00167 Action *
00168 NetProcessor::main_accept(Continuation * , SOCKET ,
00169 AcceptOptions const& )
00170 {
00171 ink_release_assert(false);
00172 return NULL;
00173 }
00174
00175 Action *
00176 UnixNetProcessor::accept_internal(Continuation * , int ,
00177 AcceptOptions const& )
00178 {
00179 ink_release_assert(false);
00180 return NULL;
00181 }
00182
00183 NetVConnection *
00184 UnixNetProcessor::allocate_vc(EThread *)
00185 {
00186 ink_release_assert(false);
00187 return NULL;
00188 }
00189
00190
00191 int cache_config_mutex_retry_delay = 2;
00192
00193 #include "I_SplitDNSProcessor.h"
00194 void
00195 SplitDNSConfig::reconfigure()
00196 {
00197 }
00198
00199 ClassAllocator<CacheRemoveCont> cacheRemoveContAllocator("cacheRemoveCont");
00200
00201 CacheHostTable::CacheHostTable(Cache * , CacheType )
00202 {
00203 }
00204
00205 CacheHostTable::~CacheHostTable() { }