Add pcap_set_immediate_mode for newer versions of libpcap - #14
Open
matthewtakacs wants to merge 1 commit into
Open
Add pcap_set_immediate_mode for newer versions of libpcap#14matthewtakacs wants to merge 1 commit into
matthewtakacs wants to merge 1 commit into
Conversation
…ccount for updated libpcap library, now packets are delivered as soon as they arrive on interface
Owner
|
Hi! This project is no longer maintained. i can merge this but preferably I'd like someone to fork this. |
Author
|
I don't have the knowledge to be able to maintain a fork of this sorry. This is just what fixed the problem for me, so wanted to feed this back for anyone else struggling to get this working on newer OS versions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #10
In libpcap version 1.5.0 or later, pcap_set_immediate_mode should be used for packets that arrive on the interface to be processed immediately, otherwise they will be buffered.
Works with libpcap version 1.10.1-4build1.
This will break compatibility with libpcap versions older than 1.5.0.