netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jiri Pirko <jiri@resnulli.us>
To: Stephen Hemminger <stephen@networkplumber.org>
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 19:51:50 +0200	[thread overview]
Message-ID: <20190930175150.GA2235@nanopsycho> (raw)
In-Reply-To: <20190930092718.2d3a47ab@hermes.lan>

Mon, Sep 30, 2019 at 06:27:18PM CEST, stephen@networkplumber.org wrote:
>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

Okay, will do.

  reply	other threads:[~2019-09-30 20:45 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
2019-09-30 17:51     ` Jiri Pirko [this message]
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=20190930175150.GA2235@nanopsycho \
    --to=jiri@resnulli.us \
    --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=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 \
    --cc=stephen@networkplumber.org \
    /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).