Home
last modified time | relevance | path

Searched refs:pvlen (Results 1 – 25 of 74) sorted by relevance

123

/dports/net-mgmt/pmacct/pmacct-1.7.5/src/
H A Dacct.c85 struct pkt_vlen_hdr_primitives *pvlen = prim_ptrs->pvlen; in compare_accounting_structure() local
116 if (pvlen && elem->pvlen) res_vlen = vlen_prims_cmp(elem->pvlen, pvlen); in compare_accounting_structure()
132 struct pkt_vlen_hdr_primitives *pvlen = prim_ptrs->pvlen; in insert_accounting_structure() local
325 if (elem_acc->pvlen) { in insert_accounting_structure()
327 elem_acc->pvlen = NULL; in insert_accounting_structure()
330 if (pvlen) { in insert_accounting_structure()
331 if (!elem_acc->pvlen) { in insert_accounting_structure()
332 elem_acc->pvlen = (struct pkt_vlen_hdr_primitives *) vlen_prims_copy(pvlen); in insert_accounting_structure()
454 if (elem_acc->pvlen) { in insert_accounting_structure()
459 if (pvlen) { in insert_accounting_structure()
[all …]
H A Dplugin_common.c150 struct pkt_vlen_hdr_primitives *pvlen = prim_ptrs->pvlen; in P_cache_modulo() local
159 if (pvlen) modulo ^= cache_crc32((unsigned char *)pvlen, (PvhdrSz + pvlen->tot_len)); in P_cache_modulo()
173 struct pkt_vlen_hdr_primitives *pvlen = prim_ptrs->pvlen; in P_cache_search() local
212 if (pvlen) { in P_cache_search()
213 if (cache_ptr->pvlen) res_vlen = vlen_prims_cmp(cache_ptr->pvlen, pvlen); in P_cache_search()
238 struct pkt_vlen_hdr_primitives *pvlen = prim_ptrs->pvlen; in P_cache_insert() local
337 if (pvlen) { in P_cache_insert()
338 if (cache_ptr->pvlen) res_vlen = vlen_prims_cmp(cache_ptr->pvlen, pvlen); in P_cache_insert()
422 if (pvlen) { in P_cache_insert()
614 if (cache_ptr->pvlen) free(cache_ptr->pvlen); in P_cache_insert_pending()
[all …]
H A Dmongodb_plugin.c296 struct pkt_vlen_hdr_primitives *pvlen = NULL; in MongoDB_cache_purge() local
473 if (queue[j]->pvlen) pvlen = queue[j]->pvlen; in MongoDB_cache_purge()
474 else pvlen = NULL; in MongoDB_cache_purge()
515 vlen_prims_get(pvlen, COUNT_INT_STD_COMM, &str_ptr); in MongoDB_cache_purge()
528 vlen_prims_get(pvlen, COUNT_INT_EXT_COMM, &str_ptr); in MongoDB_cache_purge()
541 vlen_prims_get(pvlen, COUNT_INT_LRG_COMM, &str_ptr); in MongoDB_cache_purge()
554 vlen_prims_get(pvlen, COUNT_INT_AS_PATH, &str_ptr); in MongoDB_cache_purge()
583 vlen_prims_get(pvlen, COUNT_INT_SRC_STD_COMM, &str_ptr); in MongoDB_cache_purge()
596 vlen_prims_get(pvlen, COUNT_INT_SRC_EXT_COMM, &str_ptr); in MongoDB_cache_purge()
622 vlen_prims_get(pvlen, COUNT_INT_SRC_AS_PATH, &str_ptr); in MongoDB_cache_purge()
[all …]
H A Dprint_plugin.c356 struct pkt_vlen_hdr_primitives *pvlen = NULL; in P_cache_purge() local
586 if (queue[j]->pvlen) pvlen = queue[j]->pvlen; in P_cache_purge()
587 else pvlen = NULL; in P_cache_purge()
908 vlen_prims_get(pvlen, COUNT_INT_STD_COMM, &str_ptr); in P_cache_purge()
924 vlen_prims_get(pvlen, COUNT_INT_EXT_COMM, &str_ptr); in P_cache_purge()
939 vlen_prims_get(pvlen, COUNT_INT_LRG_COMM, &str_ptr); in P_cache_purge()
954 vlen_prims_get(pvlen, COUNT_INT_SRC_STD_COMM, &str_ptr); in P_cache_purge()
970 vlen_prims_get(pvlen, COUNT_INT_SRC_EXT_COMM, &str_ptr); in P_cache_purge()
1000 vlen_prims_get(pvlen, COUNT_INT_AS_PATH, &str_ptr); in P_cache_purge()
1016 vlen_prims_get(pvlen, COUNT_INT_SRC_AS_PATH, &str_ptr); in P_cache_purge()
[all …]
H A Dimt_plugin.c70 struct pkt_vlen_hdr_primitives *pvlen, empty_pvlen; in imt_plugin() local
458pvlen = (struct pkt_vlen_hdr_primitives *) ((u_char *)data + extras.off_pkt_vlen_hdr_primitives); in imt_plugin()
459 else pvlen = &empty_pvlen; in imt_plugin()
476 prim_ptrs.pvlen = pvlen; in imt_plugin()
585 if (acc_elem->pvlen) { in free_extra_allocs()
586 free(acc_elem->pvlen); in free_extra_allocs()
587 acc_elem->pvlen= NULL; in free_extra_allocs()
H A Dserver.c202 if (extras->off_pkt_vlen_hdr_primitives && acc_elem->pvlen) { in process_query_data()
203 …enQueue_elem(sd, &rb, acc_elem->pvlen, PvhdrSz + acc_elem->pvlen->tot_len, datasize - extras->off_… in process_query_data()
262 prim_ptrs.pvlen = request.pvlen; in process_query_data()
298 if (extras->off_pkt_vlen_hdr_primitives && acc_elem->pvlen) { in process_query_data()
299 …enQueue_elem(sd, &rb, acc_elem->pvlen, PvhdrSz + acc_elem->pvlen->tot_len, datasize - extras->off_… in process_query_data()
413 if (extras->off_pkt_vlen_hdr_primitives && acc_elem->pvlen) { in process_query_data()
414 …enQueue_elem(sd, &rb, acc_elem->pvlen, PvhdrSz + acc_elem->pvlen->tot_len, datasize - extras->off_… in process_query_data()
H A Dpkt_handlers.c2723 vlen_prims_init(pvlen, 0); in pre_tag_label_handler()
3246 vlen_prims_init(pvlen, 0); in NF_custom_primitives_handler()
3261 vlen_prims_init(pvlen, 0); in NF_custom_primitives_handler()
3662 vlen_prims_init(pvlen, 0); in NF_cust_label_handler()
4073 vlen_prims_init(pvlen, 0); in bgp_ext_handler()
4084 vlen_prims_init(pvlen, 0); in bgp_ext_handler()
4095 vlen_prims_init(pvlen, 0); in bgp_ext_handler()
4106 vlen_prims_init(pvlen, 0); in bgp_ext_handler()
4347 vlen_prims_init(pvlen, 0); in bgp_ext_handler()
4832 vlen_prims_init(pvlen, 0); in SF_as_path_handler()
[all …]
H A Dimt_plugin.h50 struct pkt_vlen_hdr_primitives *pvlen; member
90 struct pkt_vlen_hdr_primitives *pvlen; /* variable-length data */ member
H A Dplugin_cmn_json.c495 vlen_prims_get(cc->pvlen, COUNT_INT_LABEL, &str_ptr); in compose_json_label()
572 vlen_prims_get(cc->pvlen, COUNT_INT_STD_COMM, &str_ptr); in compose_json_std_comm()
589 vlen_prims_get(cc->pvlen, COUNT_INT_EXT_COMM, &str_ptr); in compose_json_ext_comm()
606 vlen_prims_get(cc->pvlen, COUNT_INT_LRG_COMM, &str_ptr); in compose_json_lrg_comm()
623 vlen_prims_get(cc->pvlen, COUNT_INT_AS_PATH, &str_ptr); in compose_json_as_path()
681 vlen_prims_get(cc->pvlen, COUNT_INT_SRC_STD_COMM, &str_ptr); in compose_json_src_std_comm()
698 vlen_prims_get(cc->pvlen, COUNT_INT_SRC_EXT_COMM, &str_ptr); in compose_json_src_ext_comm()
715 vlen_prims_get(cc->pvlen, COUNT_INT_SRC_LRG_COMM, &str_ptr); in compose_json_src_lrg_comm()
732 vlen_prims_get(cc->pvlen, COUNT_INT_SRC_AS_PATH, &str_ptr); in compose_json_src_as_path()
1120 vlen_prims_get(cc->pvlen, config.cpptrs.primitive[cp_idx].ptr->type, &label_ptr); in compose_json_custom_primitives()
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/citrus/
H A Dcitrus_csmapper.c104 size_t pvlen, unsigned long *rnorm) in find_best_pivot_pvdb() argument
155 strlcpy(pivot, buf, pvlen); in find_best_pivot_pvdb()
247 size_t pvlen, unsigned long *rnorm) in find_best_pivot_lookup() argument
283 strlcpy(pivot, pivot_min, pvlen); in find_best_pivot_lookup()
291 find_best_pivot(const char *src, const char *dst, char *pivot, size_t pvlen, in find_best_pivot() argument
296 ret = find_best_pivot_pvdb(src, dst, pivot, pvlen, rnorm); in find_best_pivot()
298 ret = find_best_pivot_lookup(src, dst, pivot, pvlen, rnorm); in find_best_pivot()
/dports/net-mgmt/tcpreplay/tcpreplay-4.3.4/src/fragroute/
H A Dpkt.c22 static int pvlen; variable
34 pvlen = 0; in pkt_close()
310 if (i > 0 && i > pvlen) { in pktq_shuffle()
311 pvlen = i; in pktq_shuffle()
313 pvbase = malloc(sizeof(pkt) * pvlen); in pktq_shuffle()
315 pvbase = realloc(pvbase, sizeof(pkt) * pvlen); in pktq_shuffle()
/dports/security/fragroute/fragroute-1.2/
H A Dpkt.c235 static int pvlen; in pktq_shuffle() local
243 if (i > pvlen) { in pktq_shuffle()
244 pvlen = i; in pktq_shuffle()
246 pvbase = malloc(sizeof(pkt) * pvlen); in pktq_shuffle()
248 pvbase = realloc(pvbase, sizeof(pkt) * pvlen); in pktq_shuffle()
/dports/devel/p5-Inline-ASM/Inline-ASM-0.03/examples/gasp/
H A Dhello_world.pl17 pvlen .EQU .LEN(\&pvhello) + 1 # sizeof the string + newline
35 movl $(pvlen), %edx
/dports/net-mgmt/pmacct/pmacct-1.7.5/src/nfprobe_plugin/
H A Dnfprobe_plugin.c457 if (pvlen) { in vlen_to_flowrec()
459 if (flow->pvlen[ndx]) { in vlen_to_flowrec()
461 flow->pvlen[ndx] = NULL; in vlen_to_flowrec()
464 flow->pvlen[ndx] = (struct pkt_vlen_hdr_primitives *) vlen_prims_copy(pvlen); in vlen_to_flowrec()
478 struct pkt_vlen_hdr_primitives *pvlen = prim_ptrs->pvlen; in ipv4_to_flowrec() local
508 vlen_to_flowrec(flow, pvlen, ndx); in ipv4_to_flowrec()
519 struct pkt_vlen_hdr_primitives *pvlen = prim_ptrs->pvlen; in ipv4_to_flowrec_update() local
544 struct pkt_vlen_hdr_primitives *pvlen = prim_ptrs->pvlen; in ipv6_to_flowrec() local
586 struct pkt_vlen_hdr_primitives *pvlen = prim_ptrs->pvlen; in ipv6_to_flowrec_update() local
695 if (flow->pvlen[0]) free(flow->pvlen[0]); in free_flow_allocs()
[all …]
/dports/textproc/uim-gtk/sigscheme-beb8fbd/src/
H A Dmacro.c196 scm_int_t pvlen; /** Length of pvars.syms */ member
317 ctx.pvlen = 0; in scm_s_syntax_rules()
351 ctx.pvlen = 0; in scm_s_match()
446 pvlen_before = ctx->pvlen; in compile_rec()
449 subpat = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
457 if (ctx->pvlen == pvlen_before) in compile_rec()
521 pvlen_before = ctx->pvlen; in compile_rec()
523 if (!ctx->mode.pattern && ctx->pvlen == pvlen_before) in compile_rec()
525 outvec[j] = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
553 ++ctx->pvlen; in compile_rec()
[all …]
/dports/textproc/uim-gtk3/sigscheme-beb8fbd/src/
H A Dmacro.c196 scm_int_t pvlen; /** Length of pvars.syms */ member
317 ctx.pvlen = 0; in scm_s_syntax_rules()
351 ctx.pvlen = 0; in scm_s_match()
446 pvlen_before = ctx->pvlen; in compile_rec()
449 subpat = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
457 if (ctx->pvlen == pvlen_before) in compile_rec()
521 pvlen_before = ctx->pvlen; in compile_rec()
523 if (!ctx->mode.pattern && ctx->pvlen == pvlen_before) in compile_rec()
525 outvec[j] = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
553 ++ctx->pvlen; in compile_rec()
[all …]
/dports/textproc/uim-qt5/sigscheme-beb8fbd/src/
H A Dmacro.c196 scm_int_t pvlen; /** Length of pvars.syms */ member
317 ctx.pvlen = 0; in scm_s_syntax_rules()
351 ctx.pvlen = 0; in scm_s_match()
446 pvlen_before = ctx->pvlen; in compile_rec()
449 subpat = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
457 if (ctx->pvlen == pvlen_before) in compile_rec()
521 pvlen_before = ctx->pvlen; in compile_rec()
523 if (!ctx->mode.pattern && ctx->pvlen == pvlen_before) in compile_rec()
525 outvec[j] = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
553 ++ctx->pvlen; in compile_rec()
[all …]
/dports/textproc/uim-m17nlib/sigscheme-beb8fbd/src/
H A Dmacro.c196 scm_int_t pvlen; /** Length of pvars.syms */ member
317 ctx.pvlen = 0; in scm_s_syntax_rules()
351 ctx.pvlen = 0; in scm_s_match()
446 pvlen_before = ctx->pvlen; in compile_rec()
449 subpat = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
457 if (ctx->pvlen == pvlen_before) in compile_rec()
521 pvlen_before = ctx->pvlen; in compile_rec()
523 if (!ctx->mode.pattern && ctx->pvlen == pvlen_before) in compile_rec()
525 outvec[j] = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
553 ++ctx->pvlen; in compile_rec()
[all …]
/dports/textproc/uim-m17nlib/uim-d1ac9d9/sigscheme/src/
H A Dmacro.c196 scm_int_t pvlen; /** Length of pvars.syms */ member
317 ctx.pvlen = 0; in scm_s_syntax_rules()
351 ctx.pvlen = 0; in scm_s_match()
446 pvlen_before = ctx->pvlen; in compile_rec()
449 subpat = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
457 if (ctx->pvlen == pvlen_before) in compile_rec()
521 pvlen_before = ctx->pvlen; in compile_rec()
523 if (!ctx->mode.pattern && ctx->pvlen == pvlen_before) in compile_rec()
525 outvec[j] = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
553 ++ctx->pvlen; in compile_rec()
[all …]
/dports/textproc/uim-qt5/uim-d1ac9d9/sigscheme/src/
H A Dmacro.c196 scm_int_t pvlen; /** Length of pvars.syms */ member
317 ctx.pvlen = 0; in scm_s_syntax_rules()
351 ctx.pvlen = 0; in scm_s_match()
446 pvlen_before = ctx->pvlen; in compile_rec()
449 subpat = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
457 if (ctx->pvlen == pvlen_before) in compile_rec()
521 pvlen_before = ctx->pvlen; in compile_rec()
523 if (!ctx->mode.pattern && ctx->pvlen == pvlen_before) in compile_rec()
525 outvec[j] = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
553 ++ctx->pvlen; in compile_rec()
[all …]
/dports/textproc/uim-gtk3/uim-d1ac9d9/sigscheme/src/
H A Dmacro.c196 scm_int_t pvlen; /** Length of pvars.syms */ member
317 ctx.pvlen = 0; in scm_s_syntax_rules()
351 ctx.pvlen = 0; in scm_s_match()
446 pvlen_before = ctx->pvlen; in compile_rec()
449 subpat = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
457 if (ctx->pvlen == pvlen_before) in compile_rec()
521 pvlen_before = ctx->pvlen; in compile_rec()
523 if (!ctx->mode.pattern && ctx->pvlen == pvlen_before) in compile_rec()
525 outvec[j] = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
553 ++ctx->pvlen; in compile_rec()
[all …]
/dports/textproc/uim-gtk/uim-d1ac9d9/sigscheme/src/
H A Dmacro.c196 scm_int_t pvlen; /** Length of pvars.syms */ member
317 ctx.pvlen = 0; in scm_s_syntax_rules()
351 ctx.pvlen = 0; in scm_s_match()
446 pvlen_before = ctx->pvlen; in compile_rec()
449 subpat = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
457 if (ctx->pvlen == pvlen_before) in compile_rec()
521 pvlen_before = ctx->pvlen; in compile_rec()
523 if (!ctx->mode.pattern && ctx->pvlen == pvlen_before) in compile_rec()
525 outvec[j] = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
553 ++ctx->pvlen; in compile_rec()
[all …]
/dports/japanese/uim-anthy/sigscheme-beb8fbd/src/
H A Dmacro.c196 scm_int_t pvlen; /** Length of pvars.syms */ member
317 ctx.pvlen = 0; in scm_s_syntax_rules()
351 ctx.pvlen = 0; in scm_s_match()
446 pvlen_before = ctx->pvlen; in compile_rec()
449 subpat = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
457 if (ctx->pvlen == pvlen_before) in compile_rec()
521 pvlen_before = ctx->pvlen; in compile_rec()
523 if (!ctx->mode.pattern && ctx->pvlen == pvlen_before) in compile_rec()
525 outvec[j] = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
553 ++ctx->pvlen; in compile_rec()
[all …]
/dports/japanese/uim-anthy/uim-d1ac9d9/sigscheme/src/
H A Dmacro.c196 scm_int_t pvlen; /** Length of pvars.syms */ member
317 ctx.pvlen = 0; in scm_s_syntax_rules()
351 ctx.pvlen = 0; in scm_s_match()
446 pvlen_before = ctx->pvlen; in compile_rec()
449 subpat = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
457 if (ctx->pvlen == pvlen_before) in compile_rec()
521 pvlen_before = ctx->pvlen; in compile_rec()
523 if (!ctx->mode.pattern && ctx->pvlen == pvlen_before) in compile_rec()
525 outvec[j] = MAKE_REPPAT(subpat, ctx->pvlen - pvlen_before); in compile_rec()
553 ++ctx->pvlen; in compile_rec()
[all …]
/dports/devel/p5-Devel-MAT/Devel-MAT-0.44/lib/Devel/
H A DMAT.xs39 size_t pvlen; /* original PV length */ member
361 _set_scalar_fields(self, flags, uv, nv, pv, pvlen, ourstash_at) in _set_scalar_fields() argument
367 long pvlen in _set_scalar_fields()
375 sv->pvlen = pvlen; in _set_scalar_fields()
476 SV *pvlen(self) in pvlen() function
483 sv_setuv(RETVAL, sv->pvlen); in pvlen()

123