naccyde / rpms / iproute

Forked from rpms/iproute 9 months ago
Clone

Blame SOURCES/0129-man-Add-a-man-page-for-the-csum-action.patch

049c96
From e7ba7a30f2e02c4666d7d41366e6a2077df1938d Mon Sep 17 00:00:00 2001
049c96
From: Phil Sutter <psutter@redhat.com>
049c96
Date: Wed, 30 Mar 2016 16:43:19 +0200
049c96
Subject: [PATCH] man: Add a man page for the csum action.
049c96
049c96
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1275426
049c96
Upstream Status: iproute2.git commit 438dd1d49d71b
049c96
049c96
commit 438dd1d49d71b5d19f51637c50005f11755558dc
049c96
Author: Phil Sutter <phil@nwl.cc>
049c96
Date:   Fri Mar 4 13:11:37 2016 +0100
049c96
049c96
    man: Add a man page for the csum action.
049c96
049c96
    Cc: Gregoire Baron <baronchon@n7mm.org>
049c96
    Signed-off-by: Phil Sutter <phil@nwl.cc>
049c96
---
049c96
 man/man8/tc-csum.8 | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
049c96
 1 file changed, 54 insertions(+)
049c96
 create mode 100644 man/man8/tc-csum.8
049c96
049c96
diff --git a/man/man8/tc-csum.8 b/man/man8/tc-csum.8
049c96
new file mode 100644
049c96
index 0000000..9d00aae
049c96
--- /dev/null
049c96
+++ b/man/man8/tc-csum.8
049c96
@@ -0,0 +1,54 @@
049c96
+.TH "Checksum action in tc" 8 "11 Jan 2015" "iproute2" "Linux"
049c96
+
049c96
+.SH NAME
049c96
+csum - checksum update action
049c96
+.SH SYNOPSIS
049c96
+.in +8
049c96
+.ti -8
049c96
+.BR tc " ... " "action csum"
049c96
+.I UPDATE
049c96
+
049c96
+.ti -8
049c96
+.IR UPDATE " := " TARGET " [ " UPDATE " ]"
049c96
+
049c96
+.ti -8
049c96
+.IR TARGET " := { "
049c96
+.BR ip4h " |"
049c96
+.BR icmp " |"
049c96
+.BR igmp " |"
049c96
+.BR tcp " |"
049c96
+.BR udp " |"
049c96
+.BR udplite " |"
049c96
+.IR SWEETS " }"
049c96
+
049c96
+.ti -8
049c96
+.IR SWEETS " := { "
049c96
+.BR and " | " or " | " + " }"
049c96
+.SH DESCRIPTION
049c96
+The
049c96
+.B csum
049c96
+action triggers checksum recalculation of specified packet headers. It is
049c96
+commonly used after packet editing using the
049c96
+.B pedit
049c96
+action to fix for then incorrect checksums.
049c96
+.SH OPTIONS
049c96
+.TP
049c96
+.I TARGET
049c96
+Specify which headers to update: IPv4 header
049c96
+.RB ( ip4h ),
049c96
+ICMP header
049c96
+.RB ( icmp ),
049c96
+IGMP header
049c96
+.RB ( igmp ),
049c96
+TCP header
049c96
+.RB ( tcp ),
049c96
+UDP header
049c96
+.RB ( udp ") or"
049c96
+UDPLite header
049c96
+.RB ( udplite ).
049c96
+.TP
049c96
+.B SWEETS
049c96
+These are merely syntactic sugar and ignored internally.
049c96
+.SH SEE ALSO
049c96
+.BR tc (8),
049c96
+.BR tc-pedit (8)
049c96
-- 
049c96
1.8.3.1
049c96