Searched refs:sp (Results 1 - 14 of 14) sorted by relevance

/tldk/examples/l4fwd/
H A Dparse.h37 format_addr(const struct sockaddr_storage *sp, char buf[], size_t len) argument
43 if (sp->ss_family == AF_INET) {
44 i4 = (const struct sockaddr_in *)sp;
46 } else if (sp->ss_family == AF_INET6) {
47 i6 = (const struct sockaddr_in6 *)sp;
53 return inet_ntop(sp->ss_family, addr, buf, len);
H A Dparse.c528 parse_netfe_arg(struct netfe_stream_prm *sp, const char *arg) argument
575 sp->lcore = val[0].u64;
576 sp->op = val[1].u64;
577 pv2saddr(&sp->sprm.local_addr, val + 2, val + 3);
578 pv2saddr(&sp->sprm.remote_addr, val + 4, val + 5);
579 sp->txlen = val[6].u64;
580 pv2saddr(&sp->fprm.local_addr, val + 7, val + 8);
581 pv2saddr(&sp->fprm.remote_addr, val + 9, val + 10);
582 sp->belcore = val[11].u64;
583 sp
602 is_addr_wc(const struct sockaddr_storage *sp) argument
619 check_netfe_arg(const struct netfe_stream_prm *sp) argument
687 struct netfe_stream_prm *sp; local
[all...]
H A Dlcore.h429 netfe_sprm_flll_be(struct netfe_sprm *sp, uint32_t line, uint32_t belc) argument
433 bidx = netbe_find(&sp->local_addr, &sp->remote_addr, belc);
440 sp->bidx = bidx;
/tldk/app/nginx/src/http/v2/
H A Dngx_http_v2_module.c410 size_t *sp = data; local
412 if (*sp <= 2 * NGX_HTTP_V2_STATE_BUFFER_SIZE) {
423 size_t *sp = data; local
425 if (*sp < NGX_MIN_POOL_SIZE) {
433 if (*sp % NGX_POOL_ALIGNMENT) {
448 size_t *sp = data; local
450 if (*sp > NGX_HTTP_V2_MAX_WINDOW) {
484 size_t *sp = data; local
486 if (*sp == 0) {
493 if (*sp > NGX_HTTP_V2_MAX_FRAME_SIZ
[all...]
/tldk/app/nginx/src/http/
H A Dngx_http_script.c929 e->sp--;
930 e->line.len = e->sp->len;
931 e->line.data = e->sp->data;
947 e->sp->len = 1;
948 e->sp->data = (u_char *) "1";
951 e->sp->len = 0;
952 e->sp->data = (u_char *) "";
955 e->sp++;
978 e->sp->len = 0;
979 e->sp
[all...]
H A Dngx_http_script.h20 ngx_http_variable_value_t *sp; member in struct:__anon303
H A Dngx_http_variables.c761 size_t *sp; local
763 sp = (size_t *) ((char *) r + data);
770 v->len = ngx_sprintf(v->data, "%uz", *sp) - v->data;
783 ssize_t s, *sp; local
797 sp = (ssize_t *) ((char *) r + data);
799 *sp = s;
H A Dngx_http_core_module.c5342 size_t *sp = data; local
5344 if (*sp < NGX_MIN_POOL_SIZE) {
5351 if (*sp % NGX_POOL_ALIGNMENT) {
/tldk/lib/libtle_l4p/
H A Dctx.c353 uint32_t i, p, sp, t; local
399 sp = htons(p);
401 s->port.dst = sp;
408 dev->dp[t]->streams[sp] = s;
413 ctx->dev[i].dp[t]->streams[sp] = s;
425 uint32_t i, p, sp, t; local
428 sp = s->port.dst;
429 p = ntohs(sp);
448 if (dev->dp[t]->streams[sp] == s) {
450 dev->dp[t]->streams[sp]
[all...]
/tldk/app/nginx/src/core/
H A Dngx_cycle.c872 ngx_slab_pool_t *sp; local
874 sp = (ngx_slab_pool_t *) zn->shm.addr;
878 if (sp == sp->addr) {
886 if (ngx_shm_remap(&zn->shm, sp->addr) != NGX_OK) {
890 sp = (ngx_slab_pool_t *) zn->shm.addr;
892 if (sp == sp->addr) {
900 &zn->shm.name, sp->addr, sp);
[all...]
/tldk/app/nginx/src/stream/
H A Dngx_stream_script.h20 ngx_stream_variable_value_t *sp; member in struct:__anon451
/tldk/app/nginx/src/os/unix/
H A Dngx_process.c552 ngx_slab_pool_t *sp; local
582 sp = (ngx_slab_pool_t *) shm_zone[i].shm.addr;
584 if (ngx_shmtx_force_unlock(&sp->mutex, pid)) {
/tldk/app/nginx/src/http/modules/
H A Dngx_http_rewrite_module.c166 e->sp = ngx_pcalloc(r->pool,
168 if (e->sp == NULL) {
/tldk/app/nginx/src/http/modules/perl/
H A Dngx_http_perl_module.c693 PUSHMARK(sp);
699 EXTEND(sp, (intptr_t) args[0]);

Completed in 21 milliseconds