summaryrefslogtreecommitdiff
path: root/pcap_can_set_rfmon.3pcap
Commit message (Collapse)AuthorAgeFilesLines
* man: Format more special constants bold. [skip ci]Denis Ovsienko2020-08-211-3/+9
| | | | | | | 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.
* Style cleanup.Guy Harris2019-11-231-2/+2
| | | | | | | | 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-5/+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.
* Refine references in some man pages, round 1.Denis Ovsienko2018-07-171-3/+3
| | | | | | | | | | | | | When a man page text for the first time refers to a libpcap function that is not a topic of the man page, make sure it points to the 3PCAP section. This way the reference becomes a hyperlink in the HTML version and the web-site cohesion improves. Make sure the SEE ALSO section does not list references already present in the main text. This way the references that appear only in SEE ALSO are much easier to notice, and cohesion remains the same. [skip ci]
* Update the timestamp in some man pages.Denis Ovsienko2018-07-111-1/+1
| | | | | | | | In the man pages that since the previous timestamp had meaningful (i.e. not typos or whitespace fixups) changes set the timestamp to the date of such last meaningful change. [skip ci]
* Give a better discussion of possible errors.Guy Harris2016-07-311-11/+21
| | | | | | | | | | | | | | Give each warning and error code its own paragraph. Note that, in the future, additional warning and error codes may be added, so programs should treat *all* negative return codes as errors, and, if the warning or error code isn't one the program specifically checks for, and isn't PCAP_ERROR, it should use pcap_statustostr() to report the error. (Yes, we've added additional return codes in the past, subsequent to release 1.0, so it's not as if we're changing anything with this announcement.)
* update last modified date in man page(s)Denis Ovsienko2015-12-181-1/+1
|
* 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.
* Add some additional SEE ALSO references.Guy Harris2010-08-221-1/+1
| | | | | | | | | | | | | | 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.
* Return more specific errors from pcap_can_set_rfmon(); fix documentation.Guy Harris2010-05-181-2/+6
| | | | | | | | | | | Have pcap_can_set_rfmon() return PCAP_ERROR_PERM_DENIED if you don't have permission to check the device and PCAP_ERROR_NO_SUCH_DEVICE if there's no such device, at least on Mac OS X. Other platforms need to be fixed as well. Update the documentatation to reflect that it can return PCAP_ERROR_PERM_DENIED, fix a typo, and speak of capture sources rather than devices.
* Document the new API's, move a bunch of information about libpcapguy2008-04-061-0/+60
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.