Home
last modified time | relevance | path

Searched refs:GET_MASKED_BITS (Results 1 – 16 of 16) sorted by relevance

/dports/security/silktools/silk-3.19.1/src/libsilk/
H A Drwpack.c108 bPPkt = GET_MASKED_BITS(bpp, 6, 14); in rwpackUnpackBytesPackets()
109 bPPFrac = GET_MASKED_BITS(bpp, 0, 6); in rwpackUnpackBytesPackets()
361 bpp = GET_MASKED_BITS(*bbe, 12, 20); in rwpackUnpackTimeBytesPktsFlags()
428 | (GET_MASKED_BITS(bpp, 10, 10))); in rwpackPackFlagsTimesVolumes()
438 tmp = ((GET_MASKED_BITS(bpp, 0, 10) << 22) in rwpackPackFlagsTimesVolumes()
550 pkts = GET_MASKED_BITS(tmp, 0, 20); in rwpackUnpackFlagsTimesVolumes()
551 pflag = GET_MASKED_BITS(tmp, 23, 1); in rwpackUnpackFlagsTimesVolumes()
553 is_tcp = GET_MASKED_BITS(tmp, 22, 1); in rwpackUnpackFlagsTimesVolumes()
587 bpp = ((GET_MASKED_BITS(bpp, 0, 10) << 10) in rwpackUnpackFlagsTimesVolumes()
588 | GET_MASKED_BITS(tmp, 22, 10)); in rwpackUnpackFlagsTimesVolumes()
[all …]
H A Drwaugwebio.c118 rwRecSetElapsed(rwrec, GET_MASKED_BITS(srvport_elapsed, 0, 30)); in augwebioRecordUnpack_V5()
129 srv_port = GET_MASKED_BITS(srvport_elapsed, 30, 2); in augwebioRecordUnpack_V5()
130 if (GET_MASKED_BITS(rflag_stime, 22, 1)) { in augwebioRecordUnpack_V5()
310 srv_port = GET_MASKED_BITS(srv_flg_pkts, 20, 2); in augwebioRecordUnpack_V4()
313 if (GET_MASKED_BITS(srv_flg_pkts, 22, 1)) { in augwebioRecordUnpack_V4()
488 src_is_server = GET_MASKED_BITS(msec_prt_flags, 10, 1); in augwebioRecordUnpack_V1()
489 srv_port = (uint16_t)GET_MASKED_BITS(msec_prt_flags, 8, 2); in augwebioRecordUnpack_V1()
490 a_1_flags = (uint8_t)GET_MASKED_BITS(msec_prt_flags, 0, 8); in augwebioRecordUnpack_V1()
H A Drwfilterio.c156 pkts = GET_MASKED_BITS(pkts_stimems, 12, 20); in filterioRecordUnpack_V4()
157 pflag = GET_MASKED_BITS(pkts_stimems, 11, 1); in filterioRecordUnpack_V4()
158 is_tcp = (uint8_t)GET_MASKED_BITS(pkts_stimems, 10, 1); in filterioRecordUnpack_V4()
161 GET_MASKED_BITS(pkts_stimems, 0, 10))); in filterioRecordUnpack_V4()
168 bpp = GET_MASKED_BITS(bb_elapsems, 12, 20); in filterioRecordUnpack_V4()
171 + GET_MASKED_BITS(bb_elapsems, 0, 10))); in filterioRecordUnpack_V4()
348 pkts = GET_MASKED_BITS(tmp32, 12, 20); in filterioRecordUnpack_V3()
349 pflag = GET_MASKED_BITS(tmp32, 11, 1); in filterioRecordUnpack_V3()
350 rwRecSetFlowType(rwrec, GET_MASKED_BITS(tmp32, 0, 8)); in filterioRecordUnpack_V3()
H A Dskbitmap.c259 bitmap->map[i] = GET_MASKED_BITS(~bitmap->map[i], 0, in skBitmapComplement()
344 value = GET_MASKED_BITS((state ? ~bitmap->map[i] : bitmap->map[i]), in skBitmapCountConsecutive()
354 value = GET_MASKED_BITS((state ? ~(bitmap->map[i]) : bitmap->map[i]), in skBitmapCountConsecutive()
388 value = GET_MASKED_BITS((state ? ~(bitmap->map[i]) : bitmap->map[i]), in skBitmapCountConsecutive()
511 value = GET_MASKED_BITS(bitmap->map[i], begin_pos & 0x1F, in skBitmapRangeCountHigh()
517 value = GET_MASKED_BITS(bitmap->map[i], begin_pos & 0x1F, in skBitmapRangeCountHigh()
520 value = GET_MASKED_BITS(bitmap->map[_BMAP_INDEX(end_pos)], in skBitmapRangeCountHigh()
H A Dflowcapio.c162 |GET_MASKED_BITS(ar[36], 6, 2)))); in flowcapioRecordUnpack_V5()
167 + ((GET_MASKED_BITS(ar[36], 0, 6) << 4) in flowcapioRecordUnpack_V5()
168 | GET_MASKED_BITS(ar[37], 4, 4)))); in flowcapioRecordUnpack_V5()
472 |GET_MASKED_BITS(ar[34], 6, 2)))); in flowcapioRecordUnpack_V3()
477 + ((GET_MASKED_BITS(ar[34], 0, 6) << 4) in flowcapioRecordUnpack_V3()
478 | GET_MASKED_BITS(ar[35], 4, 4)))); in flowcapioRecordUnpack_V3()
H A Drwwwwio.c106 srv_port = GET_MASKED_BITS(srv_flg_pkts, 20, 2); in wwwioRecordUnpack_V5()
109 if (GET_MASKED_BITS(srv_flg_pkts, 22, 1)) { in wwwioRecordUnpack_V5()
265 src_is_server = GET_MASKED_BITS(msec_prt_flags, 10, 1); in wwwioRecordUnpack_V3()
266 srv_port = (uint16_t)GET_MASKED_BITS(msec_prt_flags, 8, 2); in wwwioRecordUnpack_V3()
H A Drwaugmentedio.c410 is_tcp = (uint8_t)GET_MASKED_BITS(msec_flags, 10, 1); in augmentedioRecordUnpack_V1()
411 prot_flags = (uint8_t)GET_MASKED_BITS(msec_flags, 0, 8); in augmentedioRecordUnpack_V1()
H A Drwaugsnmpoutio.c432 is_tcp = (uint8_t)GET_MASKED_BITS(msec_flags, 10, 1); in augsnmpoutioRecordUnpack_V1()
433 prot_flags = (uint8_t)GET_MASKED_BITS(msec_flags, 0, 8); in augsnmpoutioRecordUnpack_V1()
H A Drwaugroutingio.c459 is_tcp = (uint8_t)GET_MASKED_BITS(msec_flags, 10, 1); in augroutingioRecordUnpack_V1()
460 prot_flags = (uint8_t)GET_MASKED_BITS(msec_flags, 0, 8); in augroutingioRecordUnpack_V1()
H A Dskprefixmap.c169 GET_MASKED_BITS((cb_key), (cb_bit), 1)
174 (0 == GET_MASKED_BITS((bbz_key), 0, (bbz_bits)))
179 (GET_MASKED_BITS((bbo_key), 0, (bbo_bits)) == _BITMASK(bbo_bits))
186 ((0 == GET_MASKED_BITS((bbz_key)[15 - ((bbz_bits) >> 3)], 0, \
192 ((GET_MASKED_BITS((bbo_key)[15 - ((bbo_bits) >> 3)], 0, \
H A Diptree.c578 if (GET_MASKED_BITS(ipset->nodes[i]->addressBlock[j],
H A Dutils.h625 #define GET_MASKED_BITS(x, o, s) GET_MASKED_BITS32(x, o, s) macro
H A Dskbag.c279 GET_MASKED_BITS((gkb_key), \
H A Dskipset.c5385 if (GET_MASKED_BITS( in ipsetMaskIPTree()
5939 if (GET_MASKED_BITS(iptree->nodes[i]->addressBlock[j], in ipsetMaskAndFillIPTree()
/dports/security/silktools/silk-3.19.1/src/rwrecgenerator/
H A Drwrecgenerator.c1735 flags = GET_MASKED_BITS(bits, 20, 8) ? GET_MASKED_BITS(bits, 20, 8) : 0xFF; in generateTcpPortScan()
1839 flags = GET_MASKED_BITS(bits, 3, 5) ? GET_MASKED_BITS(bits, 3, 5) : 0xFF; in generateTcpHostScan()
1939 dur = GET_MASKED_BITS(bits, 13, 13); in generateDns()
1977 dur = GET_MASKED_BITS(bits, 13, 13); in generateDns()
2099 dur += GET_MASKED_BITS(bits, 5, 5); in generateFtp()
2188 if (GET_MASKED_BITS(bits, 10, 1)) { in generateHttp()
2223 dur += GET_MASKED_BITS(bits, 5, 5); in generateHttp()
2411 dur += GET_MASKED_BITS(bits, 5, 5); in generateImap()
2572 dur += GET_MASKED_BITS(bits, 5, 5); in generatePop3()
2689 dur += GET_MASKED_BITS(bits, 5, 5); in generateSmtp()
[all …]
H A Drwrecgenerator-threaded.c1626 flags = GET_MASKED_BITS(bits, 20, 8) ? GET_MASKED_BITS(bits, 20, 8) : 0xFF; in generateTcpPortScan()
1732 flags = GET_MASKED_BITS(bits, 3, 5) ? GET_MASKED_BITS(bits, 3, 5) : 0xFF; in generateTcpHostScan()
1838 dur = GET_MASKED_BITS(bits, 13, 13); in generateDns()
1876 dur = GET_MASKED_BITS(bits, 13, 13); in generateDns()
1999 dur += GET_MASKED_BITS(bits, 5, 5); in generateFtp()
2088 if (GET_MASKED_BITS(bits, 10, 1)) { in generateHttp()
2122 dur += GET_MASKED_BITS(bits, 5, 5); in generateHttp()
2314 dur += GET_MASKED_BITS(bits, 5, 5); in generateImap()
2478 dur += GET_MASKED_BITS(bits, 5, 5); in generatePop3()
2596 dur += GET_MASKED_BITS(bits, 5, 5); in generateSmtp()
[all …]