Searched refs:sampling_pars (Results 1 – 1 of 1) sorted by relevance
1872 …struct rpcap_sampling *sampling_pars; /* Structure that is needed to send sampling parameters to t… in pcap_setsampling_remote() local1903 sampling_pars = (struct rpcap_sampling *) &sendbuf[sendbufidx]; in pcap_setsampling_remote()1909 memset(sampling_pars, 0, sizeof(struct rpcap_sampling)); in pcap_setsampling_remote()1911 sampling_pars->method = (uint8)fp->rmt_samp.method; in pcap_setsampling_remote()1912 sampling_pars->value = (uint16)htonl(fp->rmt_samp.value); in pcap_setsampling_remote()