HomeSort by relevance Sort by last modified time
    Searched refs:totread (Results 1 - 2 of 2) sorted by null

  /external/libpcap/
pcap-rpcap.c 210 uint32 totread; /* number of bytes (of payload) currently read from the network (referred to the current pkt) */ local
252 totread = 0;
302 totread += nread;
353 totread += nread;
357 if (totread != ntohl(header->plen))
358 sock_discard(md->rmt_sockdata, ntohl(header->plen) - totread, NULL, 0);
557 uint32 totread = 0; /* number of bytes of the payload read from the socket */ local
612 /* Update totread, since the rpcap_checkmsg() already purged the buffer */
613 totread = ntohl(header.plen);
629 totread += nread
705 uint32 totread = 0; \/* number of bytes of the payload read from the socket *\/ local
910 uint32 totread = 0; \/* number of bytes of the payload read from the socket *\/ local
    [all...]
pcap-new.c 90 uint32 totread = 0; /* number of bytes of the payload read from the socket */ local
453 totread += nread;
497 totread += nread;
532 totread += nread;
568 totread += nread;
623 if (totread != ntohl(header.plen))
625 if (sock_discard(sockctrl, ntohl(header.plen) - totread, errbuf, PCAP_ERRBUF_SIZE) == 1)
656 if (totread != ntohl(header.plen))
658 if (sock_discard(sockctrl, ntohl(header.plen) - totread, NULL, 0) == 1)
    [all...]

Completed in 50 milliseconds