Searched refs:state (Results 1 - 25 of 49) sorted by relevance

12

/tldk/lib/libtle_l4p/
H A Dtle_event.h45 enum tle_ev_state state; member in struct:tle_event
112 return ev->state;
116 * move event from DOWN to UP state.
125 if (ev->state != TLE_SEV_DOWN)
132 if (ev->state == TLE_SEV_DOWN) {
133 ev->state = TLE_SEV_UP;
141 * move event from UP to DOWN state.
150 if (ev->state != TLE_SEV_UP)
157 if (ev->state == TLE_SEV_UP) {
158 ev->state
[all...]
H A Dsyncookie.h73 rte_xmm_t state; local
87 state = *secret_key;
89 &state);
90 siphash_finalization(&state);
91 return (state.u32[0] ^ state.u32[1] ^
92 state.u32[2] ^ state.u32[3]);
101 rte_xmm_t state; local
112 state
[all...]
H A Dtcp_rxtx.c66 if (s->tcb.state != TCP_ST_LISTEN) {
90 else if (s->tcb.state == TCP_ST_CLOSED) {
812 s->tcb.state = TCP_ST_CLOSED;
910 cs->tcb.state = TCP_ST_ESTABLISHED;
1035 s->tcb.state = TCP_ST_TIME_WAIT;
1045 uint32_t state; local
1051 state = s->tcb.state;
1053 if (state == TCP_ST_ESTABLISHED) {
1054 s->tcb.state
1082 rx_fin(struct tle_tcp_stream *s, uint32_t state, const union seg_info *si, struct rte_mbuf *mb, struct resp_info *rsp) argument
1134 rx_rst(struct tle_tcp_stream *s, uint32_t state, uint32_t flags, const union seg_info *si) argument
1505 uint32_t state; local
1551 rx_synack(struct tle_tcp_stream *s, uint32_t ts, uint32_t state, const union seg_info *si, struct rte_mbuf *mb, struct resp_info *rsp) argument
1622 uint32_t i, k, n, state; local
1769 uint32_t i, k, n, state; local
2284 uint32_t i, j, k, mss, n, state; local
2387 uint32_t j, k, n, num, slen, state; local
2493 tx_data_fin(struct tle_tcp_stream *s, uint32_t tms, uint32_t state) argument
2511 uint32_t state; local
2533 uint32_t state; local
[all...]
H A Devent.c100 ev->state = TLE_SEV_IDLE;
H A Dtcp_stream.c425 uint32_t state; local
449 state = s->tcb.state;
452 if (state <= TCP_ST_SYN_SENT) {
458 if (state == TCP_ST_ESTABLISHED || state == TCP_ST_CLOSE_WAIT) {
460 /* change state */
461 s->tcb.state = (state == TCP_ST_ESTABLISHED) ?
473 * accroding to the state, clos
[all...]
/tldk/app/nginx/src/mail/
H A Dngx_mail_parse.c27 } state; local
29 state = s->state;
34 switch (state) {
90 state = sw_spaces_before_argument;
93 state = sw_almost_done;
112 state = sw_almost_done;
120 state = sw_argument;
158 state = sw_spaces_before_argument;
161 state
233 } state; local
634 } state; local
[all...]
H A Dngx_mail_auth_http_module.c44 ngx_uint_t state; member in struct:ngx_mail_auth_http_ctx_s
169 s->connection->log->action = "in http auth state";
368 } state; local
373 state = ctx->state;
378 switch (state) {
383 state = sw_H;
390 state = sw_HT;
397 state = sw_HTT;
404 state
930 } state; local
[all...]
H A Dngx_mail_smtp_handler.c106 if (ctx->state) {
109 &c->addr_text, ctx->state,
110 ngx_resolver_strerror(ctx->state));
112 if (ctx->state == NGX_RESOLVE_NXDOMAIN) {
188 if (ctx->state) {
191 &ctx->name, ctx->state,
192 ngx_resolver_strerror(ctx->state));
194 if (ctx->state == NGX_RESOLVE_NXDOMAIN) {
285 c->log->action = "in delay pipelining state";
341 c->log->action = "in auth state";
[all...]
/tldk/app/nginx/src/stream/
H A Dngx_stream_ssl_preread_module.c26 ngx_uint_t state; member in struct:__anon463
196 } state; local
199 "ssl preread: state %ui left %z", ctx->state, ctx->left);
201 state = ctx->state;
222 switch (state) {
225 state = sw_header;
238 state = sw_head_tail;
245 state
[all...]
H A Dngx_stream_upstream.c133 ngx_stream_upstream_state_t *state; local
145 state = s->upstream_states->elts;
148 if (state[i].peer) {
149 len += state[i].peer->len;
165 if (state[i].peer) {
166 p = ngx_cpymem(p, state[i].peer->data, state[i].peer->len);
190 ngx_stream_upstream_state_t *state; local
211 state = s->upstream_states->elts;
216 p = ngx_sprintf(p, "%O", state[
244 ngx_stream_upstream_state_t *state; local
[all...]
H A Dngx_stream_proxy_module.c668 if (u->state) {
669 u->state->response_time = ngx_current_msec - u->state->response_time;
672 u->state = ngx_array_push(s->upstream_states);
673 if (u->state == NULL) {
678 ngx_memzero(u->state, sizeof(ngx_stream_upstream_state_t));
680 u->state->connect_time = (ngx_msec_t) -1;
681 u->state->first_byte_time = (ngx_msec_t) -1;
682 u->state->response_time = ngx_current_msec;
693 u->state
[all...]
H A Dngx_stream_upstream_round_robin.h143 void *data, ngx_uint_t state);
/tldk/app/nginx/src/http/v2/
H A Dngx_http_v2.c285 h2c->state.handler = hc->proxy_protocol ? ngx_http_v2_state_proxy_protocol
358 ngx_memcpy(p, h2c->state.buffer, NGX_HTTP_V2_STATE_BUFFER_SIZE);
359 end = p + h2c->state.buffer_used;
367 if (n == 0 && (h2c->state.incomplete || h2c->processing)) {
380 h2c->state.buffer_used = 0;
381 h2c->state.incomplete = 0;
384 p = h2c->state.handler(h2c, p, end);
648 if (h2c->state.incomplete) {
760 h2c->state.length = ngx_http_v2_parse_length(head);
761 h2c->state
[all...]
H A Dngx_http_v2_table.c110 h2c->state.header = ngx_http_v2_static_table[index];
120 p = ngx_pnalloc(h2c->state.pool, entry->name.len + 1);
125 h2c->state.header.name.len = entry->name.len;
126 h2c->state.header.name.data = p;
144 p = ngx_pnalloc(h2c->state.pool, entry->value.len + 1);
149 h2c->state.header.value.len = entry->value.len;
150 h2c->state.header.value.data = p;
/tldk/app/nginx/src/http/
H A Dngx_http_parse.c135 } state; local
137 state = r->state;
142 switch (state) {
156 state = sw_method;
269 state = sw_spaces_before_uri;
284 state = sw_after_slash_in_uri;
291 state = sw_schema;
313 state = sw_schema_slash;
323 state
849 } state; local
1112 } state; local
1262 } state, quoted_state; local
1610 } state; local
2137 } state; local
[all...]
H A Dngx_http_upstream.c644 u->state = ngx_array_push(r->upstream_states);
645 if (u->state == NULL) {
651 ngx_memzero(u->state, sizeof(ngx_http_upstream_state_t));
1162 if (ctx->state) {
1165 &ctx->name, ctx->state,
1166 ngx_resolver_strerror(ctx->state));
1468 if (u->state && u->state->response_time) {
1469 u->state->response_time = ngx_current_msec - u->state
4082 ngx_uint_t status, state; local
5209 ngx_http_upstream_state_t *state; local
5280 ngx_http_upstream_state_t *state; local
5346 ngx_http_upstream_state_t *state; local
5423 ngx_http_upstream_state_t *state; local
[all...]
/tldk/test/gtest/
H A Dtest_tle_udp_event.cpp91 ASSERT_EQ(event->state, TLE_SEV_IDLE);
99 ASSERT_EQ(event->state, states.event_state);
115 ASSERT_EQ(event->state, states.first_state);
118 ASSERT_EQ(event->state, states.result_state);
138 ASSERT_EQ(event->state, TLE_SEV_IDLE);
141 ASSERT_EQ(event->state, TLE_SEV_DOWN);
144 ASSERT_EQ(event->state, TLE_SEV_UP);
151 ASSERT_EQ(event->state, TLE_SEV_IDLE);
154 ASSERT_EQ(event->state, TLE_SEV_UP);
157 ASSERT_EQ(event->state, TLE_SEV_DOW
[all...]
/tldk/app/nginx/src/event/
H A Dngx_event_openssl_stapling.c73 ngx_uint_t state; member in struct:ngx_ssl_ocsp_ctx_s
948 if (resolve->state) {
951 &resolve->name, resolve->state,
952 ngx_resolver_strerror(resolve->state));
1371 } state; local
1376 state = ctx->state;
1382 switch (state) {
1388 state = sw_H;
1398 state
1642 } state; local
[all...]
H A Dngx_event_connect.h27 ngx_uint_t state);
/tldk/app/nginx/src/http/modules/
H A Dngx_http_ssi_filter_module.c461 if (ctx->state == ssi_start_state) {
471 "saved: %uz state: %ui", ctx->saved, ctx->state);
611 if (ctx->state == ssi_start_state) {
993 ngx_http_ssi_state_e state; local
995 state = ctx->state;
1004 if (state == ssi_start_state) {
1012 state = ssi_tag_state;
1024 ctx->state
[all...]
H A Dngx_http_auth_basic_module.c113 } state; local
180 state = sw_login;
202 switch (state) {
208 state = sw_skip;
218 state = sw_skip;
223 state = sw_passwd;
248 state = sw_login;
256 if (state == sw_passwd) {
270 if (state == sw_passwd) {
H A Dngx_http_ssi_filter_module.h58 ngx_uint_t state; member in struct:__anon228
H A Dngx_http_fastcgi_module.c77 ngx_http_fastcgi_state_e state; member in struct:__anon128
719 r->state = 0;
1324 f->state = ngx_http_fastcgi_st_version;
1332 r->state = 0;
1652 if (f->state < ngx_http_fastcgi_st_data) {
1688 if (f->state == ngx_http_fastcgi_st_padding) {
1691 f->state = ngx_http_fastcgi_st_version;
1698 f->state = ngx_http_fastcgi_st_version;
1711 /* f->state == ngx_http_fastcgi_st_data */
1721 f->state
2551 ngx_http_fastcgi_state_e state; local
[all...]
/tldk/app/nginx/src/os/win32/
H A Dngx_files.c658 } state; local
663 state = sw_start;
668 switch (state) {
678 state = sw_after_slash;
686 state = sw_after_colon;
691 state = sw_after_dot;
696 state = sw_after_slash;
713 state = sw_after_colon;
717 state = sw_normal;
723 state
[all...]
/tldk/app/nginx/src/core/
H A Dngx_resolver.h85 ngx_int_t state; member in struct:__anon59
203 ngx_int_t state; member in struct:ngx_resolver_ctx_s

Completed in 26 milliseconds

12