From: Stephen Hemminger <stephen@networkplumber.org>
To: Jiri Pirko <jiri@resnulli.us>
Cc: netdev@vger.kernel.org, davem@davemloft.net,
jakub.kicinski@netronome.com, dsahern@gmail.com,
roopa@cumulusnetworks.com, dcbw@redhat.com,
nikolay@cumulusnetworks.com, mkubecek@suse.cz, andrew@lunn.ch,
parav@mellanox.com, saeedm@mellanox.com, f.fainelli@gmail.com,
sd@queasysnail.net, sbrivio@redhat.com, pabeni@redhat.com,
mlxsw@mellanox.com
Subject: Re: [patch net-next 1/2] ip: add support for alternative name addition/deletion/list
Date: Mon, 30 Sep 2019 09:27:18 -0700 [thread overview]
Message-ID: <20190930092718.2d3a47ab@hermes.lan> (raw)
In-Reply-To: <20190930095903.11851-1-jiri@resnulli.us>
On Mon, 30 Sep 2019 11:59:02 +0200
Jiri Pirko <jiri@resnulli.us> wrote:
> + open_json_array(PRINT_JSON, "altnames");
> + for (i = RTA_DATA(proplist); RTA_OK(i, rem);
> + i = RTA_NEXT(i, rem)) {
> + if (i->rta_type != IFLA_ALT_IFNAME)
> + continue;
> + print_string(PRINT_FP, "NULL", "%s altname ", _SL_);
You can pass real NULL versus quoted NULL when doing print to file only
next prev parent reply other threads:[~2019-09-30 16:27 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-30 9:48 [patch net-next 0/7] net: introduce alternative names for network interfaces Jiri Pirko
2019-09-30 9:48 ` [patch net-next 1/7] net: procfs: use index hashlist instead of name hashlist Jiri Pirko
2019-09-30 9:48 ` [patch net-next 2/7] net: introduce name_node struct to be used in hashlist Jiri Pirko
2019-09-30 9:48 ` [patch net-next 3/7] net: rtnetlink: add linkprop commands to add and delete alternative ifnames Jiri Pirko
2019-09-30 9:48 ` [patch net-next 4/7] net: rtnetlink: put alternative names to getlink message Jiri Pirko
2019-09-30 9:48 ` [patch net-next 5/7] net: rtnetlink: unify the code in __rtnl_newlink get dev with the rest Jiri Pirko
2019-09-30 9:48 ` [patch net-next 6/7] net: rtnetlink: introduce helper to get net_device instance by ifname Jiri Pirko
2019-09-30 9:48 ` [patch net-next 7/7] net: rtnetlink: add possibility to use alternative names as message handle Jiri Pirko
2019-09-30 9:59 ` [patch net-next 1/2] ip: add support for alternative name addition/deletion/list Jiri Pirko
2019-09-30 10:09 ` Jiri Pirko
2019-09-30 16:27 ` Stephen Hemminger [this message]
2019-09-30 17:51 ` Jiri Pirko
2019-09-30 9:59 ` [patch net-next 2/2] ip: allow to use alternative names as handle Jiri Pirko
2019-10-01 21:51 ` [patch net-next 0/7] net: introduce alternative names for network interfaces David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190930092718.2d3a47ab@hermes.lan \
--to=stephen@networkplumber.org \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=dcbw@redhat.com \
--cc=dsahern@gmail.com \
--cc=f.fainelli@gmail.com \
--cc=jakub.kicinski@netronome.com \
--cc=jiri@resnulli.us \
--cc=mkubecek@suse.cz \
--cc=mlxsw@mellanox.com \
--cc=netdev@vger.kernel.org \
--cc=nikolay@cumulusnetworks.com \
--cc=pabeni@redhat.com \
--cc=parav@mellanox.com \
--cc=roopa@cumulusnetworks.com \
--cc=saeedm@mellanox.com \
--cc=sbrivio@redhat.com \
--cc=sd@queasysnail.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).