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_lookupdev.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_lookupdev.3pcap')
-rw-r--r-- | pcap_lookupdev.3pcap | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pcap_lookupdev.3pcap b/pcap_lookupdev.3pcap index 03e7132b..8b23cb87 100644 --- a/pcap_lookupdev.3pcap +++ b/pcap_lookupdev.3pcap @@ -1,4 +1,4 @@ -.\" @(#) $Header: /tcpdump/master/libpcap/pcap_lookupdev.3pcap,v 1.2 2008-04-05 20:26:56 guy Exp $ +.\" @(#) $Header: /tcpdump/master/libpcap/pcap_lookupdev.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_LOOKUPDEV 3PCAP "4 April 2008" +.TH PCAP_LOOKUPDEV 3PCAP "5 April 2008" .SH NAME pcap_lookupdev \- find the default device on which to capture .SH SYNOPSIS @@ -41,8 +41,12 @@ char *pcap_lookupdev(char *errbuf); .B pcap_lookupdev() returns a pointer to a string giving the name of a network device suitable for use with -.B pcap_open_live() +.B pcap_create() and +.BR pcap_activate() , +or with +.BR pcap_open_live() , +and with .BR pcap_lookupnet() . If there is an error, .B NULL @@ -54,4 +58,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_lookupnet(3PCAP) |