aboutsummaryrefslogtreecommitdiff
path: root/pcap_datalink_name_to_val.3pcap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-08-22 15:26:35 -0700
committerGuy Harris <guy@alum.mit.edu>2010-08-22 15:26:35 -0700
commit0ba94d1cfa4bdf92adcc5794f273e02c74a9cfb7 (patch)
tree55d5ed67e823273f76ba8873eccf9c77c42d3ce6 /pcap_datalink_name_to_val.3pcap
parentb9546dd6dee257d0a215585205b908e5dbc0e05c (diff)
Consistently use "link-layer header type".
Use "link-layer header type" as the term for DLT_ values; it doesn't necessarily correspond to the actual data link type of the device (802.11 devices, for example, can supply Ethernet headers).
Diffstat (limited to 'pcap_datalink_name_to_val.3pcap')
-rw-r--r--pcap_datalink_name_to_val.3pcap8
1 files changed, 4 insertions, 4 deletions
diff --git a/pcap_datalink_name_to_val.3pcap b/pcap_datalink_name_to_val.3pcap
index 93daafdf..9c8e18a3 100644
--- a/pcap_datalink_name_to_val.3pcap
+++ b/pcap_datalink_name_to_val.3pcap
@@ -19,7 +19,7 @@
.\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
.\"
-.TH PCAP_DATALINK_NAME_TO_VAL 3PCAP "5 April 2008"
+.TH PCAP_DATALINK_NAME_TO_VAL 3PCAP "22 August 2010"
.SH NAME
pcap_datalink_name_to_val \- get the link-layer header type value
corresponding to a header type name
@@ -35,12 +35,12 @@ int pcap_datalink_name_to_val(const char *name);
.fi
.SH DESCRIPTION
.B pcap_datalink_name_to_val()
-translates a data link type name, which is a
+translates a link-layer header type name, which is a
.B DLT_
name with the
.B DLT_
-removed, to the corresponding data link type value. The translation
-is case-insensitive.
+removed, to the corresponding link-layer header type value. The
+translation is case-insensitive.
.SH RETURN VALUE
.B pcap_datalink_name_to_val()
returns 0 on success and \-1 on failure.