aboutsummaryrefslogtreecommitdiff
path: root/pcap_list_datalinks.3pcap.in
Commit message (Collapse)AuthorAgeFilesLines
* Style cleanup.Guy Harris2019-11-231-4/+4
| | | | | | | | 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-2/+2
| | | | [skip ci]
* Refine references in some man pages, round 2.Denis Ovsienko2018-07-171-5/+5
| | | | [skip ci]
* update last modified date in man page(s)Denis Ovsienko2015-12-181-1/+1
|
* Delete trailing spaces/tabsFrancois-Xavier Le Bail2015-03-081-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 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.
* Just return PCAP_ERROR_NOT_ACTIVATED for some calls.Guy Harris2013-09-171-3/+14
| | | | | | | | | | | Return PCAP_ERROR_NOT_ACTIVATED, not PCAP_ERROR (-1), for calls to pcap_datalink(), pcap_datalink_ext(), and pcap_list_datalinks() if called on a non-activated pcap_t. Pre-pcap_create() code will never see PCAP_ERROR_NOT_ACTIVATED, and code using pcap_create() will either not see it (if it's correct) or is already getting bogus results (if it's not correct). Document that while we're at it.
* Consistently use "link-layer header type".Guy Harris2010-08-221-5/+5
| | | | | | Use "link-layer header type" as the term for DLT_ values; it doesn't necessarily correspond to the actual data link type of the device (802.11 devices, for example, can supply Ethernet headers).
* Add some additional SEE ALSO references.Guy Harris2010-08-221-2/+4
| | | | | | | | | | | | | | In the pcap_list_datalinks() man page, refer to the pcap_datalink_val_to_name() man page, as the routines described there can be used to print out names and descriptive text for the values returned by pcap_list_datalinks(). In the pcap_set_datalink() man page, refer to the pcap_datalink_name_to_val() man page, as pcap_datalink_name_to_val() can be used to convert a name for a link-layer header type into a value to be handed to pcap_set_datalink(). Update the change date on some man pages while we're at it.
* Combine documentation for allocate and free routines.Guy Harris2010-08-221-6/+10
| | | | | | Pull the documentation for pcap_freealldevs() into the pcap_findalldevs() man page, and pull the documentation for pcap_free_datalinks() into the pcap_list_datalinks() man page.
* Don't hard-wire section 4 as the section for the pcap-filter andguy2008-10-211-0/+58
pcap-linktype man pages; it should be section 7 for UN*Xes using the V7/BSD conventions (this includes *BSD, Linux, and Mac OS X), and section 5 for UN*Xes using the System V conventions (this includes Solaris and HP-UX, and possibly AIX).