Home
last modified time | relevance | path

Searched refs:ntv (Results 1 – 25 of 415) sorted by relevance

12345678910>>...17

/dports/security/suricata/suricata-6.0.4/src/
H A Dsource-nflog.c188 ntv->pkts++; in NFLOGCallback()
249 ntv->gh = nflog_bind_group(ntv->h, ntv->group); in ReceiveNFLOGThreadInit()
264 if (ntv->nlbufsiz < ntv->nlbufsiz_max) in ReceiveNFLOGThreadInit()
265 ntv->nlbufsiz = nfnl_rcvbufsiz(nflog_nfnlh(ntv->h), ntv->nlbufsiz); in ReceiveNFLOGThreadInit()
272 if (nflog_set_qthresh(ntv->gh, ntv->qthreshold) >= 0) in ReceiveNFLOGThreadInit()
279 if (nflog_set_timeout(ntv->gh, ntv->qtimeout) >= 0) in ReceiveNFLOGThreadInit()
370 SCFree(ntv); in ReceiveNFLOGThreadDeinit()
390 ntv->nlbufsiz = nfnl_rcvbufsiz(nflog_nfnlh(ntv->h), ntv->nlbufsiz); in NFLOGSetnlbufsiz()
434 rv = recv(fd, ntv->data, ntv->datalen, 0); in ReceiveNFLOGLoop()
461 ret = nflog_handle_packet(ntv->h, ntv->data, rv); in ReceiveNFLOGLoop()
[all …]
H A Dsource-netmap.c399 StatsAddUI64(ntv->tv, ntv->capture_kernel_packets, ntv->pkts); in NetmapDumpCounters()
400 StatsAddUI64(ntv->tv, ntv->capture_kernel_drops, ntv->drops); in NetmapDumpCounters()
401 (void) SC_ATOMIC_ADD(ntv->livedev->drop, ntv->drops); in NetmapDumpCounters()
402 (void) SC_ATOMIC_ADD(ntv->livedev->pkts, ntv->pkts); in NetmapDumpCounters()
423 NetmapThreadVars *ntv = SCMalloc(sizeof(*ntv)); in ReceiveNetmapThreadInit() local
428 memset(ntv, 0, sizeof(*ntv)); in ReceiveNetmapThreadInit()
504 SCFree(ntv); in ReceiveNetmapThreadInit()
526 ntv->ifsrc->ifname, ntv->ifdst->ifname); in NetmapWritePacket()
530 ntv->ifsrc->ifname, ntv->ifsrc->ring, in NetmapWritePacket()
588 p->netmap_v.ntv = ntv; in NetmapCallback()
[all …]
H A Dsource-napatech.c650 if (unlikely(ntv == NULL)) { in NapatechStreamThreadInit()
656 ntv->stream_id = stream_id; in NapatechStreamThreadInit()
657 ntv->tv = tv; in NapatechStreamThreadInit()
658 ntv->hba = conf->hba; in NapatechStreamThreadInit()
661 *data = (void *) ntv; in NapatechStreamThreadInit()
885 if (ntv->hba > 0) { in NapatechPacketLoop()
899 NT_NET_INTERFACE_PACKET, ntv->stream_id, ntv->hba)) != NT_SUCCESS) { in NapatechPacketLoop()
902 SCFree(ntv); in NapatechPacketLoop()
906 ntv->slot = s->slot_next; in NapatechPacketLoop()
1007 if (unlikely(TmThreadsSlotProcessPkt(ntv->tv, ntv->slot, p) != TM_ECODE_OK)) { in NapatechPacketLoop()
[all …]
H A Dsource-nfq.c519 ThreadVars *tv = ntv->tv; in NFQCallBack()
715 ntv->tv = tv; in ReceiveNFQThreadInit()
727 if (ntv->data == NULL) { in ReceiveNFQThreadInit()
734 *data = (void *)ntv; in ReceiveNFQThreadInit()
762 if (ntv->data != NULL) { in ReceiveNFQThreadDeinit()
763 SCFree(ntv->data); in ReceiveNFQThreadDeinit()
764 ntv->data = NULL; in ReceiveNFQThreadDeinit()
766 ntv->datalen = 0; in ReceiveNFQThreadDeinit()
779 *data = (void *)ntv; in VerdictNFQThreadInit()
803 NFQThreadVars *ntv = NULL; in NFQRegisterQueue() local
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/sys/kern/
H A Dkern_ntptime.c244 nanotime(&ntv->time); in ntp_gettime()
247 ntv->tai = time_tai; in ntp_gettime()
262 struct timex ntv; in sys_ntp_adjtime() local
265 error = copyin((void *)SCARG(uap, tp), (void *)&ntv, sizeof(ntv)); in sys_ntp_adjtime()
274 ntp_adjtime1(&ntv); in sys_ntp_adjtime()
276 error = copyout((void *)&ntv, (void *)SCARG(uap, tp), sizeof(ntv)); in sys_ntp_adjtime()
299 modes = ntv->modes; in ntp_adjtime1()
319 if (ntv->constant < 0) in ntp_adjtime1()
940 ntp_gettime(&ntv); in sys___ntp_gettime50()
943 sizeof(ntv)); in sys___ntp_gettime50()
[all …]
/dports/net/ntp/ntp-4.2.8p15/ntpd/
H A Dntp_loopfilter.c764 ZERO(ntv); in local_clock()
777 ntv.constant = 0; in local_clock()
793 ntv.status); in local_clock()
799 ntv.status); in local_clock()
821 clock_offset = dbl_from_var_long(ntv.offset, ntv.status); in local_clock()
829 ntv.jitter, ntv.status); in local_clock()
1086 ZERO(ntv); in set_freq()
1110 ZERO(ntv); in start_kern_loop()
1287 memset((char *)&ntv, 0, sizeof(ntv)); in loop_config()
1290 ntp_adjtime(&ntv); in loop_config()
[all …]
/dports/net/ntpsec/ntpsec-NTPsec_1_2_1/ntpd/
H A Dntp_loopfilter.c733 ZERO(ntv); in local_clock()
754 ntv.constant = 0; in local_clock()
769 ntv.status); in local_clock()
775 ntv.status); in local_clock()
812 ntv.modes = MOD_TAI; in local_clock()
1036 ZERO(ntv); in set_freq()
1057 ZERO(ntv); in start_kern_loop()
1058 ntv.modes = MOD_BITS; in start_kern_loop()
1059 ntv.status = STA_PLL; in start_kern_loop()
1194 memset((char *)&ntv, 0, sizeof(ntv)); in loop_config()
[all …]
/dports/astro/wcslib/wcslib-7.7/C/test/
H A Dtsph.c42 eul[5], lng1[361], lng2[361], lat1, lat2[361], ntv[181][2], phi[361], in main() local
144 &(ntv[0][0]), &(ntv[0][1])); in main()
145 sphx2s(eul, 181, 0, 2, 2, &(ntv[0][0]), &(ntv[0][1]), in main()
152 if (ntv[j][0] != cel1[j][0] || ntv[j][1] != cel1[j][1]) { in main()
157 ntv[j][0], ntv[j][1]); in main()
164 if (ntv[j][0] != -cel1[j][0] || ntv[j][1] != -cel1[j][1]) { in main()
169 ntv[j][0], ntv[j][1]); in main()
189 ntv[j][0], ntv[j][1]); in main()
/dports/misc/rump/buildrump.sh-b914579/src/sys/compat/netbsd32/
H A Dnetbsd32_time.c63 struct ntptimeval ntv; in netbsd32___ntp_gettime50() local
67 ntp_gettime(&ntv); in netbsd32___ntp_gettime50()
74 ntv32.time_state = ntv.time_state; in netbsd32___ntp_gettime50()
93 struct ntptimeval ntv; in compat_50_netbsd32_ntp_gettime() local
97 ntp_gettime(&ntv); in compat_50_netbsd32_ntp_gettime()
123 struct ntptimeval ntv; in compat_30_netbsd32_ntp_gettime() local
127 ntp_gettime(&ntv); in compat_30_netbsd32_ntp_gettime()
150 struct timex ntv; in netbsd32_ntp_adjtime() local
157 netbsd32_to_timex(&ntv32, &ntv); in netbsd32_ntp_adjtime()
164 modes = ntv.modes; in netbsd32_ntp_adjtime()
[all …]
/dports/net/ntpsec/ntpsec-NTPsec_1_2_1/ntptime/
H A Dntptime.c55 ntv->time = tntx.time; in ntp_gettime()
56 ntv->maxerror = tntx.maxerror; in ntp_gettime()
57 ntv->esterror = tntx.esterror; in ntp_gettime()
59 ntv->tai = tntx.tai; in ntp_gettime()
109 struct ntptimeval ntv; in main() local
252 status = ntp_gettime(&ntv); in main()
274 status = ntp_gettime(&ntv); in main()
299 status = ntp_gettime(&ntv); in main()
327 ntv.time.tv_frac_sec /= 1000; in main()
333 tv.tv_sec = ntv.time.tv_sec; in main()
[all …]
/dports/net/ntp/ntp-4.2.8p15/util/
H A Dntptime.c93 struct timex ntv; in main() local
95 struct ntptimeval ntv; in main() local
250 status = ntp_gettime(&ntv); in main()
255 times[c] = ntv.time.tv_frac_sec; in main()
269 status = ntp_gettime(&ntv); in main()
291 status = ntp_gettime(&ntv); in main()
297 time_frac = ntv.time.tv_frac_sec; in main()
300 ntv.time.tv_frac_sec /= 1000; in main()
306 tv.tv_sec = ntv.time.tv_sec; in main()
307 tv.tv_usec = ntv.time.tv_frac_sec; in main()
[all …]
/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/compat/sys/
H A Dcompat___ntp_gettime30.c20 struct ntptimeval ntv; in __ntp_gettime30() local
23 res = __ntp_gettime50(&ntv); in __ntp_gettime30()
24 ontvp->time.tv_sec = (int32_t)ntv.time.tv_sec; in __ntp_gettime30()
25 ontvp->time.tv_nsec = ntv.time.tv_nsec; in __ntp_gettime30()
26 ontvp->maxerror = ntv.maxerror; in __ntp_gettime30()
27 ontvp->esterror = ntv.esterror; in __ntp_gettime30()
H A Dcompat_ntp_gettime.c20 struct ntptimeval ntv; in ntp_gettime() local
23 res = __ntp_gettime50(&ntv); in ntp_gettime()
24 ontvp->time.tv_sec = (int32_t)ntv.time.tv_sec; in ntp_gettime()
25 ontvp->time.tv_usec = ntv.time.tv_nsec / 1000; in ntp_gettime()
26 ontvp->maxerror = ntv.maxerror; in ntp_gettime()
27 ontvp->esterror = ntv.esterror; in ntp_gettime()
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/sys/linux/
H A Dntp_gettime.c26 ntp_gettime (ntv) in ntp_gettime() argument
27 struct ntptimeval *ntv; in ntp_gettime()
34 ntv->time = tntx.time;
35 ntv->maxerror = tntx.maxerror;
36 ntv->esterror = tntx.esterror;
/dports/devel/arm-none-eabi-newlib/newlib-2.4.0/newlib/libc/sys/linux/
H A Dntp_gettime.c26 ntp_gettime (ntv) in ntp_gettime() argument
27 struct ntptimeval *ntv; in ntp_gettime()
34 ntv->time = tntx.time;
35 ntv->maxerror = tntx.maxerror;
36 ntv->esterror = tntx.esterror;
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/sys/linux/
H A Dntp_gettime.c26 ntp_gettime (ntv) in ntp_gettime() argument
27 struct ntptimeval *ntv; in ntp_gettime()
34 ntv->time = tntx.time;
35 ntv->maxerror = tntx.maxerror;
36 ntv->esterror = tntx.esterror;
/dports/graphics/blender/blender-2.91.0/source/blender/freestyle/intern/python/Interface0D/ViewVertex/
H A DBPy_NonTVertex.cpp60 self->ntv = new NonTVertex(); in NonTVertex_init()
63 self->ntv = new NonTVertex(((BPy_SVertex *)obj)->sv); in NonTVertex_init()
65 self->py_vv.vv = self->ntv; in NonTVertex_init()
66 self->py_vv.py_if0D.if0D = self->ntv; in NonTVertex_init()
80 SVertex *v = self->ntv->svertex(); in NonTVertex_svertex_get()
93 self->ntv->setSVertex(((BPy_SVertex *)value)->sv); in NonTVertex_svertex_set()
/dports/misc/rump/buildrump.sh-b914579/src/sys/compat/common/
H A Dkern_time_30.c62 struct ntptimeval ntv; in compat_30_sys_ntp_gettime() local
68 ntp_gettime(&ntv); in compat_30_sys_ntp_gettime()
69 TIMESPEC_TO_TIMEVAL(&tv, &ntv.time); in compat_30_sys_ntp_gettime()
71 ntv30.maxerror = ntv.maxerror; in compat_30_sys_ntp_gettime()
72 ntv30.esterror = ntv.esterror; in compat_30_sys_ntp_gettime()
/dports/devel/icu/icu/source/common/
H A Duchar.cpp384 int32_t ntv; in u_getNumericValue() local
388 if(ntv==UPROPS_NTV_NONE) { in u_getNumericValue()
390 } else if(ntv<UPROPS_NTV_DIGIT_START) { in u_getNumericValue()
395 return ntv-UPROPS_NTV_DIGIT_START; in u_getNumericValue()
399 } else if(ntv<UPROPS_NTV_LARGE_START) { in u_getNumericValue()
401 int32_t numerator=(ntv>>4)-12; in u_getNumericValue()
402 int32_t denominator=(ntv&0xf)+1; in u_getNumericValue()
407 int32_t mant=(ntv>>5)-14; in u_getNumericValue()
408 int32_t exp=(ntv&0x1f)+2; in u_getNumericValue()
434 int32_t numValue=(ntv>>2)-0xbf; in u_getNumericValue()
[all …]
/dports/devel/icu-lx/icu/source/common/
H A Duchar.cpp384 int32_t ntv; in u_getNumericValue() local
388 if(ntv==UPROPS_NTV_NONE) { in u_getNumericValue()
390 } else if(ntv<UPROPS_NTV_DIGIT_START) { in u_getNumericValue()
395 return ntv-UPROPS_NTV_DIGIT_START; in u_getNumericValue()
399 } else if(ntv<UPROPS_NTV_LARGE_START) { in u_getNumericValue()
401 int32_t numerator=(ntv>>4)-12; in u_getNumericValue()
402 int32_t denominator=(ntv&0xf)+1; in u_getNumericValue()
407 int32_t mant=(ntv>>5)-14; in u_getNumericValue()
408 int32_t exp=(ntv&0x1f)+2; in u_getNumericValue()
434 int32_t numValue=(ntv>>2)-0xbf; in u_getNumericValue()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/intl/icu/source/common/
H A Duchar.cpp384 int32_t ntv; in u_getNumericValue() local
388 if(ntv==UPROPS_NTV_NONE) { in u_getNumericValue()
390 } else if(ntv<UPROPS_NTV_DIGIT_START) { in u_getNumericValue()
395 return ntv-UPROPS_NTV_DIGIT_START; in u_getNumericValue()
399 } else if(ntv<UPROPS_NTV_LARGE_START) { in u_getNumericValue()
401 int32_t numerator=(ntv>>4)-12; in u_getNumericValue()
402 int32_t denominator=(ntv&0xf)+1; in u_getNumericValue()
407 int32_t mant=(ntv>>5)-14; in u_getNumericValue()
408 int32_t exp=(ntv&0x1f)+2; in u_getNumericValue()
434 int32_t numValue=(ntv>>2)-0xbf; in u_getNumericValue()
[all …]
/dports/lang/v8/v8-9.6.180.12/third_party/icu/source/common/
H A Duchar.cpp384 int32_t ntv; in u_getNumericValue() local
388 if(ntv==UPROPS_NTV_NONE) { in u_getNumericValue()
390 } else if(ntv<UPROPS_NTV_DIGIT_START) { in u_getNumericValue()
395 return ntv-UPROPS_NTV_DIGIT_START; in u_getNumericValue()
399 } else if(ntv<UPROPS_NTV_LARGE_START) { in u_getNumericValue()
401 int32_t numerator=(ntv>>4)-12; in u_getNumericValue()
402 int32_t denominator=(ntv&0xf)+1; in u_getNumericValue()
407 int32_t mant=(ntv>>5)-14; in u_getNumericValue()
408 int32_t exp=(ntv&0x1f)+2; in u_getNumericValue()
434 int32_t numValue=(ntv>>2)-0xbf; in u_getNumericValue()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/intl/icu/source/common/
H A Duchar.cpp384 int32_t ntv; in u_getNumericValue() local
388 if(ntv==UPROPS_NTV_NONE) { in u_getNumericValue()
390 } else if(ntv<UPROPS_NTV_DIGIT_START) { in u_getNumericValue()
395 return ntv-UPROPS_NTV_DIGIT_START; in u_getNumericValue()
399 } else if(ntv<UPROPS_NTV_LARGE_START) { in u_getNumericValue()
401 int32_t numerator=(ntv>>4)-12; in u_getNumericValue()
402 int32_t denominator=(ntv&0xf)+1; in u_getNumericValue()
407 int32_t mant=(ntv>>5)-14; in u_getNumericValue()
408 int32_t exp=(ntv&0x1f)+2; in u_getNumericValue()
434 int32_t numValue=(ntv>>2)-0xbf; in u_getNumericValue()
[all …]
/dports/textproc/R-cran-stringi/stringi/src/icu69/common/
H A Duchar.cpp384 int32_t ntv; in u_getNumericValue() local
388 if(ntv==UPROPS_NTV_NONE) { in u_getNumericValue()
390 } else if(ntv<UPROPS_NTV_DIGIT_START) { in u_getNumericValue()
395 return ntv-UPROPS_NTV_DIGIT_START; in u_getNumericValue()
399 } else if(ntv<UPROPS_NTV_LARGE_START) { in u_getNumericValue()
401 int32_t numerator=(ntv>>4)-12; in u_getNumericValue()
402 int32_t denominator=(ntv&0xf)+1; in u_getNumericValue()
407 int32_t mant=(ntv>>5)-14; in u_getNumericValue()
408 int32_t exp=(ntv&0x1f)+2; in u_getNumericValue()
434 int32_t numValue=(ntv>>2)-0xbf; in u_getNumericValue()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/icu/source/common/
H A Duchar.cpp384 int32_t ntv; in u_getNumericValue() local
388 if(ntv==UPROPS_NTV_NONE) { in u_getNumericValue()
390 } else if(ntv<UPROPS_NTV_DIGIT_START) { in u_getNumericValue()
395 return ntv-UPROPS_NTV_DIGIT_START; in u_getNumericValue()
399 } else if(ntv<UPROPS_NTV_LARGE_START) { in u_getNumericValue()
401 int32_t numerator=(ntv>>4)-12; in u_getNumericValue()
402 int32_t denominator=(ntv&0xf)+1; in u_getNumericValue()
407 int32_t mant=(ntv>>5)-14; in u_getNumericValue()
408 int32_t exp=(ntv&0x1f)+2; in u_getNumericValue()
434 int32_t numValue=(ntv>>2)-0xbf; in u_getNumericValue()
[all …]

12345678910>>...17