summaryrefslogtreecommitdiff
path: root/contrib/libpcap/pcap_set_datalink.3pcap
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2012-05-14 05:12:56 +0000
committerXin LI <delphij@FreeBSD.org>2012-05-14 05:12:56 +0000
commitd1e8733132ce92d068898e4b3fe25ce17d634590 (patch)
tree158e6045ed438c41ac8de6cb27ac3c73cdc6643a /contrib/libpcap/pcap_set_datalink.3pcap
parent47db53c31a5ec643382c4b08c3f68dd4ccdf79d9 (diff)
parent5a0615f5c40ce036a7e13cfffe00927f845ad563 (diff)
downloadsrc-test2-d1e8733132ce92d068898e4b3fe25ce17d634590.tar.gz
src-test2-d1e8733132ce92d068898e4b3fe25ce17d634590.zip
Notes
Diffstat (limited to 'contrib/libpcap/pcap_set_datalink.3pcap')
-rw-r--r--contrib/libpcap/pcap_set_datalink.3pcap7
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/libpcap/pcap_set_datalink.3pcap b/contrib/libpcap/pcap_set_datalink.3pcap
index bad39e4c836a..9af32d0696a9 100644
--- a/contrib/libpcap/pcap_set_datalink.3pcap
+++ b/contrib/libpcap/pcap_set_datalink.3pcap
@@ -19,7 +19,7 @@
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
-.TH PCAP_SET_DATALINK 3PCAP "5 April 2008"
+.TH PCAP_SET_DATALINK 3PCAP "22 August 2010"
.SH NAME
pcap_set_datalink \- set the link-layer header type to be used by a
capture device
@@ -35,7 +35,7 @@ int pcap_set_datalink(pcap_t *p, int dlt);
.fi
.SH DESCRIPTION
.B pcap_set_datalink()
-is used to set the current data link type of the pcap descriptor
+is used to set the current link-layer header type of the pcap descriptor
to the type specified by
.IR dlt .
.SH RETURN VALUE
@@ -49,4 +49,5 @@ may be called with
.I p
as an argument to fetch or display the error text.
.SH SEE ALSO
-pcap(3PCAP), pcap_geterr(3PCAP)
+pcap(3PCAP), pcap_geterr(3PCAP),
+pcap_datalink_name_to_val(3PCAP)