lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAf2ycnTGqMOojeZ2UWe03zR2G9PAMCQQjpEKDJJeSEEiCXs5A@mail.gmail.com>
Date:   Wed, 22 Mar 2023 22:06:21 +0000
From:   Donald Hunter <donald.hunter@...hat.com>
To:     Jakub Kicinski <kuba@...nel.org>
Cc:     Donald Hunter <donald.hunter@...il.com>, netdev@...r.kernel.org,
        "David S. Miller" <davem@...emloft.net>,
        Eric Dumazet <edumazet@...gle.com>,
        Paolo Abeni <pabeni@...hat.com>
Subject: Re: [PATCH net-next v2 4/6] tools: ynl: Add struct attr decoding to ynl

On Wed, 22 Mar 2023 at 18:38, Jakub Kicinski <kuba@...nel.org> wrote:
>
> Maybe to avoid saying struct twice we should go the enum way and
> actually ditch the sub-type for structs? Presence of struct: abc
> implies it's a struct, only use sub-type for scalar types?
>
>   -
>     name: stats
>     type: binary
>     struct: vport-stats

Yep, this looks good. I'll add this to the docs too.

>   -
>     name: another
>     type: binary
>     sub-type: u32
>     enum: enums-name

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ