From b9546dd6dee257d0a215585205b908e5dbc0e05c Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 22 Aug 2010 15:08:20 -0700 Subject: [PATCH] Add some additional SEE ALSO references. In the pcap_list_datalinks() man page, refer to the pcap_datalink_val_to_name() man page, as the routines described there can be used to print out names and descriptive text for the values returned by pcap_list_datalinks(). In the pcap_set_datalink() man page, refer to the pcap_datalink_name_to_val() man page, as pcap_datalink_name_to_val() can be used to convert a name for a link-layer header type into a value to be handed to pcap_set_datalink(). Update the change date on some man pages while we're at it. --- pcap_can_set_rfmon.3pcap | 2 +- pcap_findalldevs.3pcap | 2 +- pcap_list_datalinks.3pcap.in | 6 ++++-- pcap_set_datalink.3pcap | 5 +++-- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/pcap_can_set_rfmon.3pcap b/pcap_can_set_rfmon.3pcap index b786694..00b92a4 100644 --- a/pcap_can_set_rfmon.3pcap +++ b/pcap_can_set_rfmon.3pcap @@ -19,7 +19,7 @@ .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. .\" -.TH PCAP_CAN_SET_RFMON 3PCAP "5 April 2008" +.TH PCAP_CAN_SET_RFMON 3PCAP "18 May 2010" .SH NAME pcap_can_set_rfmon \- check whether monitor mode can be set for a not-yet-activated capture handle diff --git a/pcap_findalldevs.3pcap b/pcap_findalldevs.3pcap index 96e5f44..10df461 100644 --- a/pcap_findalldevs.3pcap +++ b/pcap_findalldevs.3pcap @@ -19,7 +19,7 @@ .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. .\" -.TH PCAP_FINDALLDEVS 3PCAP "5 April 2008" +.TH PCAP_FINDALLDEVS 3PCAP "22 August 2010" .SH NAME pcap_findalldevs, pcap_freealldevs \- get a list of capture devices, and free that list diff --git a/pcap_list_datalinks.3pcap.in b/pcap_list_datalinks.3pcap.in index 909bcf6..eb91c27 100644 --- a/pcap_list_datalinks.3pcap.in +++ b/pcap_list_datalinks.3pcap.in @@ -19,7 +19,7 @@ .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. .\" -.TH PCAP_LIST_DATALINKS 3PCAP "5 April 2008" +.TH PCAP_LIST_DATALINKS 3PCAP "22 August 2010" .SH NAME pcap_list_datalinks, pcap_free_datalinks \- get a list of link-layer header types supported by a capture device, and free that list @@ -59,4 +59,6 @@ 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-linktype(@MAN_MISC_INFO@) +pcap(3PCAP), pcap_geterr(3PCAP), +pcap_datalink_val_to_name(3PCAP), +pcap-linktype(@MAN_MISC_INFO@) diff --git a/pcap_set_datalink.3pcap b/pcap_set_datalink.3pcap index bad39e4..b3b54ee 100644 --- a/pcap_set_datalink.3pcap +++ b/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 @@ -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)