Man page of PCAP_CAN_SET_RFMON
Section: Misc. Reference Manual Pages (3PCAP)
Updated: 31 July 2016
Return to Main Contents
Your system may have a different version installed, possibly with some
local modifications. To achieve the best results, please make sure this
version of this man page suits your needs. If necessary, try to look for
a different version on this web site or in the man pages available in your
pcap_can_set_rfmon - check whether monitor mode can be set for a
not-yet-activated capture handle
int pcap_can_set_rfmon(pcap_t *p);
checks whether monitor mode could be set on a capture handle when
the handle is activated.
if monitor mode could not be set,
if monitor mode could be set, and a negative value on error.
A negative return value indicates what error condition occurred.
The possible error values are:
The capture source specified when the handle was created doesn't
The process doesn't have permission to check whether monitor mode
could be supported.
The capture handle has already been activated.
Another error occurred.
may be called with
as an argument to fetch or display a message describing the error.
Additional error codes may be added in the future; a program should
and negative, return codes, and treat all negative
return codes as errors.
can be called, with a warning or error code as an argument, to fetch a
message describing the warning or error code.
This HTML man page was generated at 15:07:03 GMT, November 01, 2021
from a source man page in "The Tcpdump Group" git repositories
using man2html and other tools.