summaryrefslogtreecommitdiff
path: root/print-nsh.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2016-08-15 15:27:28 +0200
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2016-08-15 22:42:38 +0200
commitb38f324af9dd953a661b9f35910f8c6d8eb2cc06 (patch)
treeeee57ca599fd522d5f369e9c4475bd4f9db82058 /print-nsh.c
parent11d3a01319e295dcabfb2647302d278938449226 (diff)
downloadtcpdump-b38f324af9dd953a661b9f35910f8c6d8eb2cc06.tar.gz
Add a summary comment in all other printers
Moreover: Remove some redundant comments Update some summary comments Update the specification URL for ATA over Ethernet (AoE) protocol
Diffstat (limited to 'print-nsh.c')
-rw-r--r--print-nsh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/print-nsh.c b/print-nsh.c
index 0130e6dd..82976a03 100644
--- a/print-nsh.c
+++ b/print-nsh.c
@@ -21,6 +21,10 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+/* \summary: Network Service Header (NSH) printer */
+
+/* specification: draft-ietf-sfc-nsh-01 */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
@@ -41,10 +45,6 @@ static const struct tok nsh_flags [] = {
#define NSH_SERVICE_PATH_HDR_LEN 4
#define NSH_HDR_WORD_SIZE 4U
-/*
- * NSH, draft-ietf-sfc-nsh-01 Network Service Header
- */
-
void
nsh_print(netdissect_options *ndo, const u_char *bp, u_int len)
{