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

  /external/ppp/pppd/plugins/rp-pppoe/
pppoe.h 76 extern int bpfSize;
79 #define BPF_BUFFER_IS_EMPTY (bpfSize <= 0)
80 #define BPF_BUFFER_HAS_DATA (bpfSize > 0)
if.c 100 int bpfSize = 0; /* Number of unread bytes in buffer */
603 * bpfSize and bpfOffset variables to force a new read on the next
609 bpfSize = bpfOffset = 0;
632 if (bpfSize <= 0) {
634 if ((bpfSize = read(sock, bpfBuffer, bpfLength)) < 0) {
639 if (bpfSize < sizeof(hdr)) {
640 syslog(LOG_ERR, "Truncated bpf packet header: len=%d", bpfSize);
641 clearPacketHeader(pkt); /* resets bpfSize and bpfOffset */
648 clearPacketHeader(pkt); /* resets bpfSize and bpfOffset */
652 if (seglen > bpfSize) {
    [all...]

Completed in 3777 milliseconds