diff options
author | guy <guy> | 2008-04-06 02:53:21 +0000 |
---|---|---|
committer | guy <guy> | 2008-04-06 02:53:21 +0000 |
commit | f84d077e075d7e976be9d2334bf0f68e83cb95a5 (patch) | |
tree | e797f3fa543b282be3ce1b7c598c4df1905cecc4 /pcap_findalldevs.3pcap | |
parent | 37340171346a8f9cf4cbec922b27683f282a9e26 (diff) |
Document the new API's, move a bunch of information about libpcap
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.
Diffstat (limited to 'pcap_findalldevs.3pcap')
-rw-r--r-- | pcap_findalldevs.3pcap | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pcap_findalldevs.3pcap b/pcap_findalldevs.3pcap index 6d14ea45..3bf15205 100644 --- a/pcap_findalldevs.3pcap +++ b/pcap_findalldevs.3pcap @@ -1,4 +1,4 @@ -.\" @(#) $Header: /tcpdump/master/libpcap/pcap_findalldevs.3pcap,v 1.2 2008-04-05 20:26:56 guy Exp $ +.\" @(#) $Header: /tcpdump/master/libpcap/pcap_findalldevs.3pcap,v 1.3 2008-04-06 02:53:22 guy Exp $ .\" .\" Copyright (c) 1994, 1996, 1997 .\" The Regents of the University of California. All rights reserved. @@ -19,7 +19,7 @@ .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. .\" -.TH PCAP_FINDALLDEVS 3PCAP "4 April 2008" +.TH PCAP_FINDALLDEVS 3PCAP "5 April 2008" .SH NAME pcap_findalldevs \- get a list of capture devices .SH SYNOPSIS @@ -40,10 +40,12 @@ int pcap_findalldevs(pcap_if_t **alldevsp, char *errbuf); .SH DESCRIPTION .B pcap_findalldevs() constructs a list of network devices that can be opened with +.B pcap_create() +and +.B pcap_activate() +or with .BR pcap_open_live() . -(Note that there may be network devices that cannot be opened with -.BR pcap_open_live() -by the +(Note that there may be network devices that cannot be opened by the process calling .BR pcap_findalldevs() , because, for example, that process might not have sufficient privileges @@ -150,4 +152,5 @@ is assumed to be able to hold at least .B PCAP_ERRBUF_SIZE chars. .SH SEE ALSO +pcap(3PCAP), pcap_create(3PCAP), pcap_activate(3PCAP), pcap_open_live(3PCAP), pcap_freealldevs(3PCAP) |