From patchwork Sat Nov 18 21:56:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Ruderich X-Patchwork-Id: 839267 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3yfTWS4yLsz9s0g for ; Sun, 19 Nov 2017 09:03:16 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423618AbdKRWBz (ORCPT ); Sat, 18 Nov 2017 17:01:55 -0500 Received: from zucker2.schokokeks.org ([178.63.68.90]:47091 "EHLO zucker2.schokokeks.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423612AbdKRWBw (ORCPT ); Sat, 18 Nov 2017 17:01:52 -0500 X-Greylist: delayed 302 seconds by postgrey-1.27 at vger.kernel.org; Sat, 18 Nov 2017 17:01:52 EST Received: from localhost ([::1]) (AUTH: PLAIN simon@ruderich.org, TLS: TLSv1/SSLv3, 256bits, ECDHE-RSA-AES256-GCM-SHA384) by zucker.schokokeks.org with ESMTPSA; Sat, 18 Nov 2017 22:56:59 +0100 id 000000000000007D.000000005A10ACAB.000078EA Date: Sat, 18 Nov 2017 22:56:49 +0100 From: Simon Ruderich To: netdev@vger.kernel.org Subject: [PATCH] man: document ip route get mark Message-ID: <203cc9561ead456ecb4d2ef533351be0eedc0c3f.1511041881.git.simon@ruderich.org> Mime-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20170609 (1.8.3) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Simon Ruderich --- Hello, Just found this in an stackoverflow article from 2015 and it really helped. So here as patch. Regards Simon man/man8/ip-route.8.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in index f9c92259..487a8748 100644 --- a/man/man8/ip-route.8.in +++ b/man/man8/ip-route.8.in @@ -33,6 +33,8 @@ ip-route \- routing table management .BI from " ADDRESS " iif " STRING" .RB " ] [ " oif .IR STRING " ] [ " +.B mark +.IR MARK " ] [ " .B tos .IR TOS " ] [ " .B vrf @@ -1033,6 +1035,11 @@ the device from which this packet is expected to arrive. .BI oif " NAME" force the output device on which this packet will be routed. +.TP +.BI mark " MARK" +the firewall mark +.RB ( "fwmark" ) + .TP .BI vrf " NAME" force the vrf device on which this packet will be routed.