tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Reliability issues with BPF



>>>>> "Darren" == Darren Reed <darrenr%netbsd.org@localhost> writes:
    Darren> It seems like a relatively straight forward change:
    Darren> - if pcap loop has been broken because of EINTR
    Darren> and if pcap is working in blocking mode,
    Darren> set non-blocking mode and attempt to read any
    Darren> packets that are currently buffered.

so, in blocking mode, on NetBSD, why doesn't the pcap_loop() start up
each time thre is a packet received?  Is there a memory mapped shared
ring-buffer involved? (If so, can't the not-yet-signaled packets be
taken from the ring descriptors?)

-- 
]       He who is tired of Weird Al is tired of life!           |  firewalls  [
]   Michael Richardson, Sandelman Software Works, Ottawa, ON    |net architect[
] mcr%sandelman.ottawa.on.ca@localhost http://www.sandelman.ottawa.on.ca/ 
|device driver[
   Kyoto Plus: watch the video <http://www.youtube.com/watch?v=kzx1ycLXQSE>
                       then sign the petition. 

Attachment: pgp6T1h8Fi9ac.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index