Skip to content

Add pcap_set_immediate_mode for newer versions of libpcap - #14

Open
matthewtakacs wants to merge 1 commit into
cmouse:masterfrom
matthewtakacs:master
Open

Add pcap_set_immediate_mode for newer versions of libpcap#14
matthewtakacs wants to merge 1 commit into
cmouse:masterfrom
matthewtakacs:master

Conversation

@matthewtakacs

Copy link
Copy Markdown

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.

…ccount for updated libpcap library, now packets are delivered as soon as they arrive on interface
@cmouse

cmouse commented Jul 19, 2023

Copy link
Copy Markdown
Owner

Hi! This project is no longer maintained. i can merge this but preferably I'd like someone to fork this.

@matthewtakacs

Copy link
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

We see lot's packet drops on our cisco ip sla probes

2 participants