Lines Matching refs:handlep
629 struct pcap_dag *handlep = handle->priv;
659 if (dag_parse_name(device, newDev, strlen(device) + 16, &handlep->dag_stream) < 0) {
665 if (handlep->dag_stream%2) {
690 if (dag_attach_stream(handle->fd, handlep->dag_stream, 0, 0) < 0) {
698 if (dag_get_stream_poll(handle->fd, handlep->dag_stream,
723 if (dag_set_stream_poll(handle->fd, handlep->dag_stream,
730 if((handlep->dag_mem_base = dag_mmap(handle->fd)) == MAP_FAILED) {
760 if(dag_start_stream(handle->fd, handlep->dag_stream) < 0) {
776 handlep->dag_mem_bottom = 0;
777 handlep->dag_mem_top = 0;
786 handlep->dag_fcs_bits = 0;
794 handlep->dag_fcs_bits = 32;
799 handlep->dag_fcs_bits = n;
813 handle->linktype_ext = LT_FCS_DATALINK_EXT(handlep->dag_fcs_bits/16);
816 handlep->dag_fcs_bits = 0;
820 handlep->dag_timeout = handle->opt.timeout;
851 handlep->stat.ps_drop = 0;
852 handlep->stat.ps_recv = 0;
853 handlep->stat.ps_ifdrop = 0;
858 if (dag_stop_stream(handle->fd, handlep->dag_stream) < 0) {
863 if (dag_detach_stream(handle->fd, handlep->dag_stream) < 0)