Searched refs:type (Results 1 - 25 of 72) sorted by relevance

123

/tldk/lib/libtle_l4p/
H A Dstream_table.h64 stbl_pkt_fill_key(struct stbl_key *k, const union pkt_info *pi, uint32_t type) argument
71 if (type == TLE_V4)
73 else if (type == TLE_V6)
80 stbl_lock(struct stbl *st, uint32_t type) argument
82 rte_spinlock_lock(&st->ht[type].l);
86 stbl_unlock(struct stbl *st, uint32_t type) argument
88 rte_spinlock_unlock(&st->ht[type].l);
95 uint32_t type; local
99 type = pi->tf.type;
124 uint32_t type; local
150 stbl_stream_fill_key(struct stbl_key *k, const struct tle_stream *s, uint32_t type) argument
169 uint32_t type; local
197 uint32_t type; local
[all...]
H A Dstream.h34 uint8_t type; /* TLE_V4 or TLE_V6 */ member in struct:tle_stream
93 s->type = TLE_VNUM;
138 if (s->type == TLE_V4) {
141 } else if (s->type == TLE_V6) {
151 dst->ol_flags = dev->tx.ol_flags[s->type];
153 if (s->type == TLE_V4) {
H A Dudp_rxtx.c27 rx_stream_obtain(struct tle_dev *dev, uint32_t type, uint32_t port) argument
31 if (type >= TLE_VNUM || dev->dp[type] == NULL)
34 s = (struct tle_udp_stream *)dev->dp[type]->streams[port];
273 recv_pkt_process(struct rte_mbuf *m[], uint32_t num, uint32_t type) argument
287 if (check_pkt_csum(m[i], flg[i], type, IPPROTO_UDP) != 0) {
319 k = recv_pkt_process(pkt, n, s->s.type);
325 uint32_t type, uint64_t ol_flags, uint32_t pid,
357 if (type == TLE_V4) {
390 frag_fixup(const struct rte_mbuf *ms, struct rte_mbuf *mf, uint32_t type) argument
324 udp_fill_mbuf(struct rte_mbuf *m, uint32_t type, uint64_t ol_flags, uint32_t pid, union udph udph, const struct tle_dest *dst) argument
407 fragment(struct rte_mbuf *pkt, struct rte_mbuf *frag[], uint32_t num, uint32_t type, const struct tle_dest *dst) argument
508 uint32_t mtu, pid, type; local
[all...]
H A Dtcp_misc.h77 uint8_t type; /* TLE_V4/TLE_V6 */ member in struct:typflg::__anon1
423 uint32_t len, type; local
428 type = get_pkt_type(m);
437 if (type == TLE_V4) {
441 } else if (type == TLE_V6) {
451 pi->tf.type = type;
H A Dtcp_rxtx.c43 if (pi->tf.type == TLE_V4)
57 uint32_t type)
61 s = (struct tle_tcp_stream *)dev->dp[type]->streams[pi->port.dst];
76 const union pkt_info *pi, uint32_t type)
83 return rx_obtain_listen_stream(dev, pi, type);
114 if (pi[0].tf.type == TLE_V4) {
118 } else if (pi[0].tf.type == TLE_V6) {
136 if (pi[0].tf.type == TLE_V4) {
142 } else if (pi[0].tf.type == TLE_V6) {
168 get_ip_pid(struct tle_dev *dev, uint32_t num, uint32_t type, uint32_ argument
56 rx_obtain_listen_stream(const struct tle_dev *dev, const union pkt_info *pi, uint32_t type) argument
75 rx_obtain_stream(const struct tle_dev *dev, struct stbl *st, const union pkt_info *pi, uint32_t type) argument
285 tcp_update_mbuf(struct rte_mbuf *m, uint32_t type, const struct tcb *tcb, uint32_t seq, uint32_t pid) argument
369 uint32_t fail, i, k, n, mss, pid, plen, sz, tn, type; local
572 uint32_t pid, type; local
634 uint32_t pid, seq, type; local
834 uint32_t type; local
1763 rx_postsyn(struct tle_dev *dev, struct stbl *st, uint32_t type, uint32_t ts, const union pkt_info pi[], union seg_info si[], struct rte_mbuf *mb[], struct rte_mbuf *rp[], int32_t rc[], uint32_t num) argument
1844 rx_syn(struct tle_dev *dev, uint32_t type, uint32_t ts, const union pkt_info pi[], const union seg_info si[], struct rte_mbuf *mb[], struct rte_mbuf *rp[], int32_t rc[], uint32_t num) argument
2133 uint32_t type; local
[all...]
H A Dsyncookie.h139 if (pi->tf.type == TLE_V4) {
165 if (pi->tf.type == TLE_V4)
177 return (pi->tf.type == TLE_V4) ? mss4len.u32[mi] : mss6len.u32[mi];
/tldk/app/nginx/src/core/
H A Dngx_module.c17 static ngx_uint_t ngx_module_ctx_index(ngx_cycle_t *cycle, ngx_uint_t type,
83 ngx_count_modules(ngx_cycle_t *cycle, ngx_uint_t type) argument
96 if (module->type != type) {
117 module->ctx_index = ngx_module_ctx_index(cycle, type, next);
138 if (module->type != type) {
254 if (module->type == NGX_CORE_MODULE) {
319 ngx_module_ctx_index(ngx_cycle_t *cycle, ngx_uint_t type, ngx_uint_t index) argument
331 if (module->type !
[all...]
H A Dngx_conf_file.c36 NGX_CONF_MODULE, /* module type */
169 } type; local
216 type = parse_file;
234 type = parse_block;
237 type = parse_param;
260 if (type != parse_block) {
270 if (type == parse_block) {
281 if (type == parse_param) {
386 if (cf->cycle->modules[i]->type != NGX_CONF_MODULE
387 && cf->cycle->modules[i]->type !
[all...]
H A Dngx_queue.h103 #define ngx_queue_data(q, type, link) \
104 (type *) ((u_char *) q - offsetof(type, link))
H A Dngx_connection.h26 int type; member in struct:ngx_listening_s
141 int type; member in struct:ngx_connection_s
H A Dngx_module.h236 ngx_uint_t type; member in struct:ngx_module_s
270 ngx_int_t ngx_count_modules(ngx_cycle_t *cycle, ngx_uint_t type);
/tldk/test/gtest/
H A Dtest_scapy_gen.py58 parser.add_argument("l_port", type=int)
59 parser.add_argument("r_port", type=int)
60 parser.add_argument("nb_pkts", type=int)
62 parser.add_argument("-bc3", "--bad_chksum_l3", default=None, type=int)
63 parser.add_argument("-bc4", "--bad_chksum_l4", default=None, type=int)
H A Dtest_tle_dring.h186 int32_t type)
224 if (type == SINGLE)
226 else if (type == MULTI)
254 int32_t type)
264 if (type == SINGLE)
266 else if (type == MULTI)
185 test_dring_enqueue(struct tle_dring *dr, struct rte_ring *r, uint32_t num, int32_t type) argument
253 test_dring_dequeue(struct tle_dring *dr, struct rte_ring *r, uint32_t num, int32_t type) argument
/tldk/app/nginx/src/event/
H A Dngx_event_connect.c23 int rc, type; local
39 type = (pc->type ? pc->type : SOCK_STREAM);
41 s = ngx_socket(pc->sockaddr->sa_family, type, 0);
44 (type == SOCK_STREAM) ? "stream" : "dgram", s);
64 c->type = type;
125 if (pc->type == SOCK_DGRAM && port != 0) {
148 if (type
[all...]
H A Dngx_event_connect.h29 void *data, ngx_uint_t type);
58 int type; member in struct:ngx_peer_connection_s
/tldk/app/nginx/src/http/modules/
H A Dngx_http_realip_module.c21 ngx_uint_t type; member in struct:__anon209
105 NGX_HTTP_MODULE, /* module type */
156 switch (rlcf->type) {
240 if (rlcf->type == NGX_HTTP_REALIP_PROXY) {
372 if (rlcf->type != NGX_CONF_UNSET_UINT) {
379 rlcf->type = NGX_HTTP_REALIP_XREALIP;
384 rlcf->type = NGX_HTTP_REALIP_XFWD;
389 rlcf->type = NGX_HTTP_REALIP_PROXY;
393 rlcf->type = NGX_HTTP_REALIP_HEADER;
419 conf->type
[all...]
H A Dngx_http_xslt_filter_module.c185 NGX_HTTP_MODULE, /* module type */
492 u_char *type, *encoding; local
557 type = ngx_http_xslt_content_type(sheet[i - 1].stylesheet);
560 type = NULL;
564 doc_type = doc->type;
567 "xslt filter type: %d t:%s e:%s",
568 doc_type, type ? type : (u_char *) "(null)",
608 if (type) {
609 len = ngx_strlen(type);
762 u_char *type; local
[all...]
/tldk/app/nginx/src/os/unix/
H A Dngx_files.h35 unsigned type:8; member in struct:__anon380
252 dir->type = 0;
268 (((dir)->type) ? ((dir)->type == DT_DIR) : (S_ISDIR((dir)->info.st_mode)))
270 (((dir)->type) ? ((dir)->type == DT_REG) : (S_ISREG((dir)->info.st_mode)))
272 (((dir)->type) ? ((dir)->type == DT_LNK) : (S_ISLNK((dir)->info.st_mode)))
/tldk/app/nginx/src/os/win32/
H A Dngx_service.c91 service_handler(u_int control, u_int type, void *data, void *ctx) argument
H A Dngx_socket.h23 #define ngx_socket(af, type, proto) \
24 WSASocketW(af, type, proto, NULL, 0, WSA_FLAG_OVERLAPPED)
/tldk/app/nginx/src/tldk/
H A Dtldk_sock.h46 tldk_open_bind_listen(struct tldk_ctx *tcx, int domain, int type,
/tldk/app/nginx/src/stream/
H A Dngx_stream.c61 NGX_CORE_MODULE, /* module type */
130 if (cf->cycle->modules[m]->type != NGX_STREAM_MODULE) {
157 if (cf->cycle->modules[m]->type != NGX_STREAM_MODULE) {
189 if (cf->cycle->modules[m]->type != NGX_STREAM_MODULE) {
231 if (cf->cycle->modules[m]->type != NGX_STREAM_MODULE) {
397 && listen->type == port[i].type
415 port->type = listen->type;
488 ls->type
[all...]
H A Dngx_stream_core_module.c128 NGX_STREAM_MODULE, /* module type */
322 if (c->type == SOCK_STREAM
528 if (cf->cycle->modules[m]->type != NGX_STREAM_MODULE) {
623 ls->type = SOCK_STREAM;
637 ls->type = SOCK_DGRAM;
826 if (ls->type == SOCK_DGRAM) {
849 if (ls->type != als[i].type) {
/tldk/test/dring/
H A Dtest_dring.c169 int32_t type)
179 if (type == SINGLE)
181 else if (type == MULTI)
218 int32_t type)
256 if (type == SINGLE)
258 else if (type == MULTI)
168 test_dring_dequeue(struct tle_dring *dr, struct rte_ring *r, uint32_t num, int32_t type) argument
217 test_dring_enqueue(struct tle_dring *dr, struct rte_ring *r, uint32_t num, int32_t type) argument
/tldk/app/nginx/src/http/
H A Dngx_http.c107 NGX_CORE_MODULE, /* module type */
187 if (cf->cycle->modules[m]->type != NGX_HTTP_MODULE) {
220 if (cf->cycle->modules[m]->type != NGX_HTTP_MODULE) {
252 if (cf->cycle->modules[m]->type != NGX_HTTP_MODULE) {
301 if (cf->cycle->modules[m]->type != NGX_HTTP_MODULE) {
1920 ngx_hash_key_t *type; local
1937 type = ngx_array_push(*types);
1938 if (type == NULL) {
1942 type->key = *default_type;
1943 type
2058 ngx_hash_key_t *type; local
[all...]

Completed in 23 milliseconds

123