aboutsummaryrefslogtreecommitdiff
path: root/pcap_next_ex.3pcap
Commit message (Collapse)AuthorAgeFilesLines
* man: Indent multiline prototypes consistently. [skip ci]Denis Ovsienko2023-03-111-2/+1
| | | | | | Use the same indentation everywhere as in pcap_open_offline(3PCAP), this results in slightly better plain text output and notably better HTML output.
* man: Format more C types using bold font. [skip ci]Denis Ovsienko2023-02-271-4/+4
|
* doc: document PCAP_ERROR_NOT_ACTIVATED for more routines.Guy Harris2022-03-051-4/+7
|
* man: Format more special constants bold. [skip ci]Denis Ovsienko2020-08-211-1/+5
| | | | | | | Some man pages used bold font for special meaning constants (e.g. -1 for infinity, 0 for false, 1 for true, NULL), but some didn't. Make the formatting consistently bold, but leave ordinary constants (number of packets in a buffer, a timeout, a buffer size) intact.
* Mention DLT_LINUX_SLL2 as a type for the "any" device.Guy Harris2020-03-301-0/+2
| | | | | | When we scold programmers don't to assume that everything is Ethernet, mention both DLT_LINUX_SLL and DLT_LINUX_SLL2 as possible link types for the "any" device.
* Style cleanup.Guy Harris2019-11-231-16/+16
| | | | | | | | Use the BSD house style, in which, in foobar() returns 17 on success and 137 on failure. "foobar" is boldfaced but "()" isn't.
* Fix manpage reference formatting to be consistent.Daniel Miller2018-08-241-7/+7
| | | | | | | All manpage references such as pcap_create(3PCAP) will now be formatted with the identifier (e.g. "pcap_create") in **bold** and the section name (e.g. "(3PCAP)") in roman (default) face. This is how most manpages seem to be formatted and makes things more consistent.
* Spell PCAP_ERROR and PCAP_ERROR_BREAK in the man pages.Denis Ovsienko2018-07-251-3/+8
| | | | [skip ci]
* Refine references in some man pages, round 2.Denis Ovsienko2018-07-171-8/+7
| | | | [skip ci]
* Use HTTPS in the www.tcpdump.org URLs.Denis Ovsienko2018-07-091-1/+1
| | | | [skip ci]
* Call the timeout the "packet buffer timeout" rather than the "read timeout".Guy Harris2017-01-201-14/+13
| | | | | | | | | That should make it clearer that the timeout does *not* guarantee that a call that reads packets will return within N milliseconds even if no packets arrive. In the pcap_open_live() and pcap_set_timeout() calls, point to the detailed description of the packet buffer timeout in pcap(3PCAP).
* update last modified date in man page(s)Denis Ovsienko2015-12-181-1/+1
|
* refresh last midification dates for some man pagesDenis Ovsienko2014-04-071-1/+1
| | | | | This change reflects only meaningful (i.e. not purely editorial) changes in the text.
* Remove commas from clauses in a comma-separated list.Guy Harris2014-02-061-2/+2
| | | | | | | The list of return values is a comma-separated list; if the descriptions in that list themselves have commas, it can perhaps be confusing - does the list item end with the comma in the description or in the comma at the end of the description? (The correct answer is the latter.)
* remove libpcap's own CVS keywordsDenis Ovsienko2014-01-031-2/+0
| | | | | | This change removes CVS keywords that express that the file belongs to libpcap repository. All such keywords represented the revision and timestamp by the end of 2008 or even older.
* Hammer into users' heads the idea that they must use pcap_datalink().Guy Harris2013-10-131-1/+37
| | | | | | | | | | | | | | Note for pcap_loop()/pcap_dispatch(), and for pcap_next()/pcap_next_ex(), that in order to interpret the packets you have to know the link-layer header type for the pcap_t, as returned by pcap_datalink(). Note in all the places we discuss the value returned by pcap_datalink() that the program *MUST NOT ASSUME* that it will return a particular value, and specifically note that the Linux "any" device has a pcap_datalink() value of DLT_LINUX_SLL even if all the network interfaces on the system happen to have some other link-layer header type.
* Fix man page typoes.Miroslav Lichvar2011-03-081-2/+2
| | | | Reviewed-By: Guy Harris <guy@alum.mit.edu>
* Clarify the lifetime of the packet header and data when reading packets.Guy Harris2011-02-041-2/+19
| | | | (Yes, I know - I'm using "data" as a collective noun. :-))
* Document the new API's, move a bunch of information about libpcapguy2008-04-061-3/+3
| | | | | | concepts to the pcap(3PCAP) man page, refer people to the pcap(3PCAP) man page from the man pages for libpcap functions, and clean up some errors.
* Include <pcap/pcap.h> in the SUMMARY sections - as long as we're goingguy2008-04-051-2/+2
| | | | | | | to 1.0, might as well go with the place where Red Hat stuck the header at one point and where the header "officially" resides. (We should put a "backwards compatibility" note into pcap.3pcap.)
* Split the pcap(3) man page into a bunch of individual man pages forguy2008-04-051-0/+90
functions plus an overall man page for libpcap, and put them all into section 3PCAP. That means you can actually do "man pcap_open_live" and get something meaningful, rather than having to do "man pcap" and then scroll through all the other stuff in the man page.