nmap / nmap/npcap

Better document pcap_stats() return values

Open
#644 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
C
Stars
3.6k
Forks
592
PR merge metrics
No merged PRs in 30d

Description

The libpcap pcap_stats man page says the values returned are platform dependent.

I was hoping the npcap pcap_stats man page will specify what the values mean in case of npcap - but this looks to be the same as the libpcap page.

Is there any information available on how to interpret these values? Also the extra values returned by pcap_stats_ex().

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked libpcap and npcap man pages and the definitions of pcap_stats() and pcap_stats_ex(). Document the meaning of each returned value for npcap, including the extra values from pcap_stats_ex(), and make any platform-dependent behavior explicit.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
documentation, networking
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.