PCAP_CAN_SET_RFMON(3PCAP)PCAP_CAN_SET_RFMON(3PCAP)NAME
pcap_can_set_rfmon - check whether monitor mode can be set for a not-yet-activated capture handle
SYNOPSIS
#include <pcap/pcap.h>
int pcap_can_set_rfmon(pcap_t *p);
DESCRIPTION
pcap_can_set_rfmon() checks whether monitor mode could be set on a capture handle when the handle is activated.
RETURN VALUE
pcap_can_set_rfmon() returns 0 if monitor mode could not be set, 1 if monitor mode could be set, PCAP_ERROR_NO_SUCH_DEVICE if the capture
source specified when the handle was created doesn't exist, PCAP_ERROR_PERM_DENIED if the process doesn't have permission to check whether
monitor mode could be supported, PCAP_ERROR_ACTIVATED if called on a capture handle that has been activated, or PCAP_ERROR if an error
occurred. If PCAP_ERROR is returned, pcap_geterr() or pcap_perror() may be called with p as an argument to fetch or display the error
text.
SEE ALSO pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP), pcap_set_rfmon(3PCAP)
18 May 2010 PCAP_CAN_SET_RFMON(3PCAP)
Check Out this Related Man Page
PCAP_CAN_SET_RFMON(3PCAP)PCAP_CAN_SET_RFMON(3PCAP)NAME
pcap_can_set_rfmon - check whether monitor mode can be set for a not-yet-activated capture handle
SYNOPSIS
#include <pcap/pcap.h>
int pcap_can_set_rfmon(pcap_t *p);
DESCRIPTION
pcap_can_set_rfmon() checks whether monitor mode could be set on a capture handle when the handle is activated.
RETURN VALUE
pcap_can_set_rfmon() returns 0 if monitor mode could not be set, 1 if monitor mode could be set, PCAP_ERROR_NO_SUCH_DEVICE if the capture
source specified when the handle was created doesn't exist, PCAP_ERROR_PERM_DENIED if the process doesn't have permission to check whether
monitor mode could be supported, PCAP_ERROR_ACTIVATED if called on a capture handle that has been activated, or PCAP_ERROR if an error
occurred. If PCAP_ERROR is returned, pcap_geterr() or pcap_perror() may be called with p as an argument to fetch or display the error
text.
SEE ALSO pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP), pcap_set_rfmon(3PCAP)
18 May 2010 PCAP_CAN_SET_RFMON(3PCAP)
Heyo all,
I'm looking for the most effective way to capture the text in between a set of parenthesis.
For example, my input is this(IBM WebSphereMQ Queue Manager Status):
QMNAME(Q1) STATUS(Ended immediately)
QMNAME(Q2) ... (7 Replies)
hi all
i brought a new acer 17" widescreen lcd monitor . fedora core linux 6 in not displaying on the monitor . giving a error input not supported
please let me know wht i can do (1 Reply)
hi all
I am running a script monitor using source command.
the shell script monitor is used to execute a pl/sql procedure.
when i do
source monitor
and then
ps -ef | grep <procedure name>
i do not get any info
but when i do
sh monitor
and then
ps -ef | grep <procedure name>
i... (8 Replies)
i want to capture all text appearing on the screen, ie whatever the user is typing or whatever text contained in the application the user opens...
how to do that... can anyone guide me plz...
one solution is to hook the XDrawString library , but by doing that we are able to get the text from... (5 Replies)
hi frnds,
I want to monitor a particular process very closly on how much memory it is taking. i tried with TOP and PRSTAT commands that is not giving what exactly i need. In my application, there is a memory leak happening, i want to know when it is occuering, means which transcation is... (9 Replies)
hello
on my ultra 5 (under debian) obp since I activated an error saving mode display.
Since it starts and displays <power save >, then this is prologue to sleep for hours.
i can ejecting the cdrom works, I hear the fans ....
I have not access of OpenBoot (stop + a).
can i do an hard... (0 Replies)
What is the programming side of the keyboard's PrintScreen?
When I hit this button, what is the computer doing to give me the image that my monitor is displaying?
In the same arena, how does the computer tell the monitor what to display visually? I move the mouse and the cursor appears to be... (2 Replies)
Hi I want to check if some process is sleeping. I can see that in truss -p <pid>
I want to capture output and check that output if proces sis sleeping. Please suggest way to capture output of truss command or other way to check if process is sleeping (1 Reply)
Hi all,
I am currently trying to figure out how can i capture a particular string from a log file, then search again but from the last line it read before onward.
Basically let's say that the check runs every 5 mins via cron, counting the number of matched strings "Cannot assign requested... (5 Replies)