summaryrefslogtreecommitdiff
path: root/nameser.h
diff options
context:
space:
mode:
authorguy <guy>2003-11-04 07:29:15 +0000
committerguy <guy>2003-11-04 07:29:15 +0000
commit8f34a01034446e63b7ceec8267f6a1e04b167cbf (patch)
tree9f7b6b1514adb3b4a3589a2a986a1b75ac9fcb62 /nameser.h
parent2b8d32af12272e39302b92218c2e9dbbda8871cd (diff)
downloadtcpdump-8f34a01034446e63b7ceec8267f6a1e04b167cbf.tar.gz
Check whether we have "pcap_breakloop()", and use it if we do - it's a
safer way to terminate "pcap_loop()" in a signal handler (it just sets a flag, it doesn't muck with data structures that might have been in the middle of being updated). Have "setsignal()" not request SA_RESTART, so that if we call "pcap_breakloop()" in a signal handler and then return, we don't restart a call that was waiting for captured packets, we just make that call EINTR out.
Diffstat (limited to 'nameser.h')
0 files changed, 0 insertions, 0 deletions