public inbox for ell@lists.linux.dev
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ell@lists.linux.dev
Subject: Re: [PATCH 1/6] netlink: Add l_netlink_iter
Date: Wed, 28 Aug 2024 10:24:48 -0500	[thread overview]
Message-ID: <4c57e471-b3f5-4e00-a35d-e6658dce7aae@gmail.com> (raw)
In-Reply-To: <20240823161553.479576-1-denkenz@gmail.com>

On 8/23/24 11:15 AM, Denis Kenzior wrote:
> Move netlink attribute iterator out of genl.c and into netlink.c.  Both
> genl and netlink use the same attribute structure, and is applicable to
> both.  This makes implementing netlink and rtnl message parsers much
> easier.
> 
> In order to keep source compatibility, structure the netlink iterator in
> the same way as the genl iterator.  In the future, the use of genl
> iterators will be removed.
> ---
>   ell/ell.sym   |  5 ++--
>   ell/genl.c    | 76 +++------------------------------------------------
>   ell/genl.h    | 18 +++++++++---
>   ell/netlink.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++
>   ell/netlink.h | 15 ++++++++++
>   5 files changed, 111 insertions(+), 78 deletions(-)
> 

All applied


      parent reply	other threads:[~2024-08-28 15:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-23 16:15 [PATCH 1/6] netlink: Add l_netlink_iter Denis Kenzior
2024-08-23 16:15 ` [PATCH 2/6] unit: Use the new l_netlink_attr API Denis Kenzior
2024-08-23 16:15 ` [PATCH 3/6] netlink: Add l_netlink_message_append_string Denis Kenzior
2024-08-23 16:15 ` [PATCH 4/6] netlink: Add l_netlink_request_sent Denis Kenzior
2024-08-23 16:15 ` [PATCH 5/6] util: Handle NULL pointers in l_safe_ato* functions Denis Kenzior
2024-08-23 16:15 ` [PATCH 6/6] rtnl: Add l_rtnl_link_set_mtu Denis Kenzior
2024-08-28 15:24 ` Denis Kenzior [this message]

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=4c57e471-b3f5-4e00-a35d-e6658dce7aae@gmail.com \
    --to=denkenz@gmail.com \
    --cc=ell@lists.linux.dev \
    /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