Searched refs:totread (Results 1 – 2 of 2) sorted by relevance
210 …uint32 totread; /* number of bytes (of payload) currently read from the network (referred to th… in pcap_read_nocb_remote() local252 totread = 0; in pcap_read_nocb_remote()302 totread += nread; in pcap_read_nocb_remote()353 totread += nread; in pcap_read_nocb_remote()357 if (totread != ntohl(header->plen)) in pcap_read_nocb_remote()358 sock_discard(md->rmt_sockdata, ntohl(header->plen) - totread, NULL, 0); in pcap_read_nocb_remote()557 uint32 totread = 0; /* number of bytes of the payload read from the socket */ in rpcap_stats_remote() local613 totread = ntohl(header.plen); in rpcap_stats_remote()629 totread += nread; in rpcap_stats_remote()648 if (totread != ntohl(header.plen)) in rpcap_stats_remote()[all …]
90 uint32 totread = 0; /* number of bytes of the payload read from the socket */ in pcap_findalldevs_ex() local453 totread += nread; in pcap_findalldevs_ex()497 totread += nread; in pcap_findalldevs_ex()532 totread += nread; in pcap_findalldevs_ex()568 totread += nread; in pcap_findalldevs_ex()623 if (totread != ntohl(header.plen)) in pcap_findalldevs_ex()625 if (sock_discard(sockctrl, ntohl(header.plen) - totread, errbuf, PCAP_ERRBUF_SIZE) == 1) in pcap_findalldevs_ex()656 if (totread != ntohl(header.plen)) in pcap_findalldevs_ex()658 if (sock_discard(sockctrl, ntohl(header.plen) - totread, NULL, 0) == 1) in pcap_findalldevs_ex()