From: Thomas Graf <tgraf@suug.ch>
To: jamal <hadi@cyberus.ca>
Cc: davem@davemloft.net, netdev@vger.kernel.org
Subject: Re: [RFC][GENETLINK] introduce command names
Date: Mon, 4 Dec 2006 17:34:51 +0100 [thread overview]
Message-ID: <20061204163451.GS8693@postel.suug.ch> (raw)
In-Reply-To: <1165237742.3664.22.camel@localhost>
* jamal <hadi@cyberus.ca> 2006-12-04 08:09
> Just makes the discovery more knowledgeable.
> Theres a hidden meaning in that i would like if possible to create
> as much of user space as possible without the user having a single line
> written. Heres how i output the discovered families at the moment
> without the patch.
>
> -----
> hadi@lilsol:~/git-trees/iproute2/nov22/genl$ ./genl ctrl ls
> Added Family Name: nlctrl
> ID: 0x10 Version: 0x1 header size: 0 max attribs: 6
> commands supported:
> #1: ID-0x3 flags-0x0
> Capabilities: has policy; can doit; can dumpit
>
> Added Family Name: TASKSTATS
> ID: 0x11 Version: 0x1 header size: 0 max attribs: 4
> commands supported:
> #1: ID-0x1 flags-0x0
> Capabilities: has policy; can doit;
>
> hadi@lilsol:~/git-trees/iproute2/nov22/genl$
> -----------
>
> It would be a lot more human friendly to put better readability in the
> commands.
I don't agree to waste so much text section just to fancy up some
userspace tool which is mainly a toy while developing. If you
really need it, do it in userspace like libnl.
> > Userspace should
> > be aware of operation numbers when using it. I'm all for this if
> > the direction is to move towards having some form of scriptable
> > genetlink tool which can be used to communicate with simple genetlink
> > families.
> >
>
> That is the real agenda actually. To be honest i dont know how realistic
> it would be. But one of the next things is to output the command
> policies.
Once we go that path we can reconsider a patch based on this which
includes the bits to dump the information to userspace. Until then
I don't see the point in this.
next prev parent reply other threads:[~2006-12-04 16:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-02 12:11 [RFC][GENETLINK] introduce command names jamal
2006-12-04 9:28 ` Thomas Graf
2006-12-04 13:09 ` jamal
2006-12-04 16:34 ` Thomas Graf [this message]
2006-12-04 17:49 ` jamal
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=20061204163451.GS8693@postel.suug.ch \
--to=tgraf@suug.ch \
--cc=davem@davemloft.net \
--cc=hadi@cyberus.ca \
--cc=netdev@vger.kernel.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).