[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1605393324.git.me@pmachata.org>
Date: Sat, 14 Nov 2020 23:53:54 +0100
From: Petr Machata <me@...chata.org>
To: netdev@...r.kernel.org, dsahern@...il.com,
stephen@...workplumber.org
Cc: Petr Machata <me@...chata.org>
Subject: [PATCH iproute2-next 0/7] Convert a number of use-cases to parse_on_off(), print_on_off()
Two helpers, parse_on_off() and print_on_off(), have been recently added to
lib/utils.c. Convert a number of instances of the same effective behavior
to calls to these helpers.
Petr Machata (7):
bridge: link: Port over to parse_on_off()
bridge: link: Convert to use print_on_off()
ip: iplink: Convert to use parse_on_off()
ip: iplink_bridge_slave: Port over to parse_on_off()
ip: iplink_bridge_slave: Convert to use print_on_off()
ip: ipnetconf: Convert to use print_on_off()
ip: iptuntap: Convert to use print_on_off()
bridge/link.c | 135 ++++++++++++++++++---------------------
ip/iplink.c | 47 +++++---------
ip/iplink_bridge_slave.c | 46 +++++--------
ip/ipnetconf.c | 28 ++++----
ip/iptuntap.c | 18 ++----
5 files changed, 112 insertions(+), 162 deletions(-)
--
2.25.1
Powered by blists - more mailing lists