Home
last modified time | relevance | path

Searched refs:TSCont (Results 1 – 25 of 215) sorted by relevance

123456789

/trafficserver/tests/tools/plugins/
H A Dcont_schedule.cc42 static TSCont contp_1 = nullptr;
43 static TSCont contp_2 = nullptr;
45 static int TSContScheduleOnPool_handler_1(TSCont contp, TSEvent event, void *edata);
49 static int TSContThreadAffinity_handler(TSCont contp, TSEvent event, void *edata);
52 TSContScheduleOnPool_handler_1(TSCont contp, TSEvent event, void *edata) in TSContScheduleOnPool_handler_1()
71 TSContScheduleOnPool_handler_2(TSCont contp, TSEvent event, void *edata) in TSContScheduleOnPool_handler_2()
114 TSContScheduleOnThread_handler_1(TSCont contp, TSEvent event, void *edata) in TSContScheduleOnThread_handler_1()
138 TSContScheduleOnThread_handler_2(TSCont contp, TSEvent event, void *edata) in TSContScheduleOnThread_handler_2()
169 TSContThreadAffinity_handler(TSCont contp, TSEvent event, void *edata) in TSContThreadAffinity_handler()
199 TSCont contp = TSContCreate(TSContThreadAffinity_handler, TSMutexCreate()); in TSContThreadAffinity_test()
[all …]
H A Dssl_hook_test.cc39 ReenableSSL(TSCont cont, TSEvent event, void *edata) in ReenableSSL()
49 CB_Pre_Accept(TSCont cont, TSEvent event, void *edata) in CB_Pre_Accept()
63 CB_Pre_Accept_Delay(TSCont cont, TSEvent event, void *edata) in CB_Pre_Accept_Delay()
71 TSCont cb = TSContCreate(&ReenableSSL, TSMutexCreate()); in CB_Pre_Accept_Delay()
82 CB_out_start(TSCont cont, TSEvent event, void *edata) in CB_out_start()
106 TSCont cb = TSContCreate(&ReenableSSL, TSMutexCreate()); in CB_out_start_delay()
117 CB_close(TSCont cont, TSEvent event, void *edata) in CB_close()
131 CB_out_close(TSCont cont, TSEvent event, void *edata) in CB_out_close()
159 CB_Client_Hello(TSCont cont, TSEvent event, void *edata) in CB_Client_Hello()
178 CB_SNI(TSCont cont, TSEvent event, void *edata) in CB_SNI()
[all …]
H A Dhook_add_plugin.cc28 transactionHandler(TSCont continuation, TSEvent event, void *d) in transactionHandler()
58 sessionHandler(TSCont continuation, TSEvent event, void *d) in sessionHandler()
61 TSCont txn_contp; in sessionHandler()
92 globalHandler(TSCont continuation, TSEvent event, void *data) in globalHandler()
99 TSCont cont = TSContCreate(sessionHandler, TSMutexCreate()); in globalHandler()
137 TSCont continuation = TSContCreate(globalHandler, nullptr); in TSPluginInit()
H A Dcontinuations_verify.cc50 handle_msg(TSCont contp, TSEvent event, void *edata) in handle_msg()
73 handle_order_1(TSCont contp, TSEvent event, void *edata) in handle_order_1()
103 handle_order_2(TSCont contp, TSEvent event, void *edata) in handle_order_2()
160 TSCont contp_1 = TSContCreate(handle_order_1, TSMutexCreate());
161 TSCont contp_2 = TSContCreate(handle_order_2, TSMutexCreate());
162 TSCont contp = TSContCreate(handle_msg, TSMutexCreate());
H A Demergency_shutdown.cc35 test_handler(TSCont contp, TSEvent event, void *edata) in test_handler()
42 LifecycleHookTracer(TSCont contp, TSEvent event, void *edata) in LifecycleHookTracer()
45 TSCont contp = TSContCreate(test_handler, TSMutexCreate()); in LifecycleHookTracer()
H A Dfatal_shutdown.cc35 test_handler(TSCont contp, TSEvent event, void *edata) in test_handler()
42 LifecycleHookTracer(TSCont contp, TSEvent event, void *edata) in LifecycleHookTracer()
45 TSCont contp = TSContCreate(test_handler, TSMutexCreate()); in LifecycleHookTracer()
H A Dcustom204plugin.cc30 local_handler(TSCont contp, TSEvent event, void *edata) in local_handler()
117 global_handler(TSCont contp, TSEvent event, void *edata) in global_handler()
120 TSCont txn_contp = nullptr; in global_handler()
150 TSCont contp = TSContCreate(global_handler, TSMutexCreate()); in TSPluginInit()
/trafficserver/example/plugins/c-api/protocol/
H A DTxnSM.c37 int main_handler(TSCont contp, TSEvent event, void *data);
40 int state_start(TSCont contp, TSEvent event, void *data);
49 int state_write_to_cache(TSCont contp, TSEvent event, TSVIO vio);
60 int state_done(TSCont contp, TSEvent event, TSVIO vio);
62 int send_response_to_client(TSCont contp);
63 int prepare_to_die(TSCont contp);
73 main_handler(TSCont contp, TSEvent event, void *data) in main_handler()
97 TSCont
100 TSCont contp; in TxnSMCreate()
777 prepare_to_die(TSCont contp) in prepare_to_die()
[all …]
H A DProtocol.c39 static int accept_handler(TSCont contp, TSEvent event, void *edata);
43 accept_handler(TSCont contp, TSEvent event, void *edata) in accept_handler()
45 TSCont txn_sm; in accept_handler()
79 TSCont contp; in protocol_init()
/trafficserver/plugins/cache_promote/
H A Dcache_promote.cc44 cont_handle_policy(TSCont contp, TSEvent event, void *edata) in cont_handle_policy()
132 TSCont contp = TSContCreate(cont_handle_policy, nullptr); in TSRemapNewInstance()
147 TSCont contp = static_cast<TSCont>(ih); in TSRemapDeleteInstance()
163 TSCont contp = static_cast<TSCont>(ih); in TSRemapDoRemap()
/trafficserver/plugins/experimental/fastcgi/src/
H A Dserver_connection.h40 void read(TSVConn vc, TSCont contp);
41 void write(TSVConn vc, TSCont contp);
42 void phpWrite(TSVConn vc, TSCont contp, unsigned char *buf, int data_size, bool endflag);
97 TSCont &
115 TSCont _contp;
/trafficserver/example/plugins/c-api/server_transform/
H A Dserver_transform.c85 static TSCont
88 TSCont contp; in transform_create()
112 transform_destroy(TSCont contp) in transform_destroy()
143 transform_connect(TSCont contp, TransformData *data) in transform_connect()
199 transform_write(TSCont contp, TransformData *data) in transform_write()
215 transform_read_status(TSCont contp, TransformData *data) in transform_read_status()
231 transform_read(TSCont contp, TransformData *data) in transform_read()
254 transform_bypass(TSCont contp, TransformData *data) in transform_bypass()
496 transform_handler(TSCont contp, TSEvent event, void *edata) in transform_handler()
597 transform_plugin(TSCont contp, TSEvent event, void *edata) in transform_plugin()
[all …]
/trafficserver/example/plugins/c-api/session_hooks/
H A Dsession_hooks.c34 txn_handler(TSHttpTxn txnp, TSCont contp) in txn_handler()
44 handle_session(TSHttpSsn ssnp, TSCont contp) in handle_session()
55 ssn_handler(TSCont contp, TSEvent event, void *edata) in ssn_handler()
84 TSCont contp; in TSPluginInit()
/trafficserver/plugins/experimental/traffic_dump/
H A Dsession_data.h65 TSCont aio_cont = nullptr; /// AIO continuation callback
66 TSCont txn_cont = nullptr; /// Transaction continuation callback
180 static int session_aio_handler(TSCont contp, TSEvent event, void *edata);
183 static int global_session_handler(TSCont contp, TSEvent event, void *edata);
/trafficserver/example/plugins/c-api/blacklist_1/
H A Dblacklist_1.c39 static TSCont global_contp;
41 static void handle_txn_start(TSCont contp, TSHttpTxn txnp);
55 destroy_continuation(TSHttpTxn txnp, TSCont contp) in destroy_continuation()
69 handle_dns(TSHttpTxn txnp, TSCont contp) in handle_dns()
132 handle_response(TSHttpTxn txnp, TSCont contp ATS_UNUSED) in handle_response()
177 read_blacklist(TSCont contp) in read_blacklist()
226 blacklist_plugin(TSCont contp, TSEvent event, void *edata) in blacklist_plugin()
289 handle_txn_start(TSCont contp ATS_UNUSED, TSHttpTxn txnp) in handle_txn_start()
291 TSCont txn_contp; in handle_txn_start()
/trafficserver/plugins/background_fetch/
H A Dconfigs.h42 …explicit BgFetchConfig(TSCont cont) : _cont(cont) { TSContDataSet(cont, static_cast<void *>(this))… in BgFetchConfig()
60 TSCont
84 TSCont _cont = nullptr;
/trafficserver/plugins/experimental/metalink/
H A Dmetalink.cc107 cache_open_write(TSCont contp, void *edata) in cache_open_write()
176 cache_open_write_failed(TSCont contp, void * /* edata ATS_UNUSED */) in cache_open_write_failed()
208 write_handler(TSCont contp, TSEvent event, void *edata) in write_handler()
339 vconn_write_ready(TSCont contp, void * /* edata ATS_UNUSED */) in vconn_write_ready()
482 transform_handler(TSCont contp, TSEvent event, void *edata) in transform_handler()
528 cache_open_read(TSCont contp, void *edata) in cache_open_read()
603 vconn_read_ready(TSCont contp, void * /* edata ATS_UNUSED */) in vconn_read_ready()
670 digest_handler(TSCont contp, TSEvent event, void *edata) in digest_handler()
754 http_send_response_hdr(TSCont contp, void *edata) in http_send_response_hdr()
874 handler(TSCont contp, TSEvent event, void *edata) in handler()
[all …]
/trafficserver/example/plugins/c-api/thread_pool/
H A Dthread.h35 typedef int (*ExecFunc)(TSCont, void *);
40 TSCont cont; /* Continuation to call once job is done */
71 Job *job_create(TSCont contp, ExecFunc func, void *data);
/trafficserver/plugins/lua/
H A Dts_lua_coroutine.h58 TSCont contp; // continuation for the routine
68 TSCont contp; // continuation for the async operation
75 ts_lua_async_item *ts_lua_async_create_item(TSCont cont, async_clean func, void *d, ts_lua_cont_inf…
H A Dts_lua_http_intercept.c24 static int ts_lua_http_intercept_entry(TSCont contp, TSEvent event, void *edata);
28 static int ts_lua_http_intercept_handler(TSCont contp, TSEvent event, void *edata);
36 static int ts_lua_flush_wakeup_handler(TSCont contp, TSEvent event, void *edata);
66 TSCont contp; in ts_lua_http_intercept()
99 TSCont contp; in ts_lua_http_server_intercept()
131 ts_lua_http_intercept_entry(TSCont contp, TSEvent event, void *edata) in ts_lua_http_intercept_entry()
162 TSCont contp; in ts_lua_http_intercept_process()
213 ts_lua_http_intercept_handler(TSCont contp, TSEvent event, void *edata) in ts_lua_http_intercept_handler()
405 TSCont contp; in ts_lua_flush_wakeup()
419 ts_lua_flush_wakeup_handler(TSCont contp, TSEvent event ATS_UNUSED, void *edata ATS_UNUSED) in ts_lua_flush_wakeup_handler()
/trafficserver/include/ts/
H A Dts.h1193 tsapi void TSContDestroy(TSCont contp);
1194 tsapi void TSContDataSet(TSCont contp, void *data);
1195 tsapi void *TSContDataGet(TSCont contp);
1201 tsapi TSEventThread TSContThreadAffinityGet(TSCont contp);
1202 tsapi void TSContThreadAffinityClear(TSCont contp);
1205 tsapi TSMutex TSContMutexGet(TSCont contp);
1212 tsapi void TSHttpHookAdd(TSHttpHookID id, TSCont contp);
1797 tsapi TSCont TSNetInvokingContGet(TSVConn conn);
1875 tsapi TSAction TSCacheRead(TSCont contp, TSCacheKey key);
1905 tsapi TSAction TSCacheWrite(TSCont contp, TSCacheKey key);
[all …]
/trafficserver/example/plugins/c-api/intercept/
H A Dintercept.cc60 static TSCont TxnHook;
61 static TSCont InterceptHook;
63 static int InterceptInterceptHook(TSCont contp, TSEvent event, void *edata);
64 static int InterceptTxnHook(TSCont contp, TSEvent event, void *edata);
89 read(TSVConn vc, TSCont contp) in read()
99 write(TSVConn vc, TSCont contp) in write()
171 InterceptAttemptDestroy(InterceptState *istate, TSCont contp) in InterceptAttemptDestroy()
202 static TSCont
205 TSCont contp; in InterceptContCreate()
269 InterceptInterceptHook(TSCont contp, TSEvent event, void *edata) in InterceptInterceptHook()
[all …]
/trafficserver/example/plugins/c-api/bnull_transform/
H A Dbnull_transform.c81 handle_buffering(TSCont contp, MyData *data) in handle_buffering()
158 handle_output(TSCont contp, MyData *data) in handle_output()
175 handle_transform(TSCont contp) in handle_transform()
207 bnull_transform(TSCont contp, TSEvent event, void *edata ATS_UNUSED) in bnull_transform()
283 transform_plugin(TSCont contp ATS_UNUSED, TSEvent event, void *edata) in transform_plugin()
/trafficserver/plugins/experimental/collapsed_forwarding/
H A Dcollapsed_forwarding.cc165 on_immediate(RequestData *req, TSCont &contp) in on_immediate()
191 on_send_response_header(RequestData *req, TSHttpTxn &txnp, TSCont &contp) in on_send_response_header()
230 on_txn_close(RequestData *req, TSHttpTxn &txnp, TSCont &contp) in on_txn_close()
239 static int collapsed_cont(TSCont contp, TSEvent event, void *edata);
244 TSCont cont = TSContCreate(collapsed_cont, TSMutexCreate()); in setup_transaction_cont()
266 collapsed_cont(TSCont contp, TSEvent event, void *edata) in collapsed_cont()
339 TSCont cont = TSContCreate(collapsed_cont, TSMutexCreate()); in TSPluginInit()
/trafficserver/example/plugins/c-api/passthru/
H A Dpassthru.cc45 static int PassthruSessionEvent(TSCont cont, TSEvent event, void *edata);
80 read(TSVConn vconn, TSCont contp) in read()
91 write(TSVConn vconn, TSCont contp) in write()
136 TSCont contp;
182 PassthruSessionEvent(TSCont cont, TSEvent event, void *edata) in PassthruSessionEvent()
274 PassthruAccept(TSCont /* cont */, TSEvent event, void *edata) in PassthruAccept() argument
296 TSCont cont = nullptr; in PassthruListen()

Completed in 229 milliseconds

123456789