pcap_set_promisc man page on PC-BSD

Man page or keyword search:  
man Server   9747 pages
apropos Keyword Search (all sections)
Output format
PC-BSD logo
[printable version]

PCAP_SET_PROMISC(3)					   PCAP_SET_PROMISC(3)

NAME
       pcap_set_promisc - set promiscuous mode for a not-yet-activated capture
       handle

SYNOPSIS
       #include <pcap/pcap.h>

       int pcap_set_promisc(pcap_t *p, int promisc);

DESCRIPTION
       pcap_set_promisc() sets whether promiscuous mode should	be  set	 on  a
       capture	handle	when the handle is activated.  If promisc is non-zero,
       promiscuous mode will be set, otherwise it will not be set.

RETURN VALUE
       pcap_set_promisc() returns 0  on	 success  or  PCAP_ERROR_ACTIVATED  if
       called on a capture handle that has been activated.

SEE ALSO
       pcap(3), pcap_create(3), pcap_activate(3)

				 5 April 2008		   PCAP_SET_PROMISC(3)
[top]

List of man pages available for PC-BSD

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net