Searched refs:rmt_samp (Results 1 - 5 of 5) sorted by relevance

/freebsd-12-stable/contrib/libpcap/
H A Dpcap-rpcap.c1739 if (fp->rmt_samp.method == PCAP_SAMP_NOSAMP)
1747 if (fp->rmt_samp.method < 0 || fp->rmt_samp.method > 255) {
1749 "Invalid sampling method %d", fp->rmt_samp.method);
1752 if (fp->rmt_samp.value < 0 || fp->rmt_samp.value > 65535) {
1754 "Invalid sampling value %d", fp->rmt_samp.value);
1775 sampling_pars->method = (uint8)fp->rmt_samp.method;
1776 sampling_pars->value = (uint16)htonl(fp->rmt_samp.value);
H A Dpcap-int.h184 struct pcap_samp rmt_samp; /* parameters related to the sampling process. */ member in struct:pcap
H A Dpcap-new.c464 return &p->rmt_samp;
H A Dpcap-npf.c612 switch (p->rmt_samp.method) {
615 pw->samp_npkt = (pw->samp_npkt + 1) % p->rmt_samp.value;
643 pw->samp_time.tv_usec = pkt_header->ts.tv_usec + p->rmt_samp.value * 1000;
/freebsd-12-stable/contrib/libpcap/rpcapd/
H A Ddaemon.c1706 fp->rmt_samp.method = samp_param->method;
1707 fp->rmt_samp.value = samp_param->value;

Completed in 164 milliseconds