All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karuna Grewal <karunagrewal98@gmail.com>
To: Pablo Neira Ayuso <pablo@netfilter.org>, Florian Westphal <fw@strlen.de>
Cc: netfilter-devel@vger.kernel.org
Subject: Implementing Deletion of Set Elements in Rulesets
Date: Thu, 21 Mar 2019 11:57:15 +0530	[thread overview]
Message-ID: <CAHRz_yZQ8JYq90BCTKoN7SsivWpXMsGiFz2WkmxbX2S2aVj81Q@mail.gmail.com> (raw)

Hello,
I'm trying to implement  "deletion of set elements in ruleset". For
which I wanted to understand the way existing set operations are
implemented.
While grepping through the code I have noticed that the implementation
has some parts in the kernel, libnftnl 's dynset and the userspace's
netlink_(de)linearize .
I'm unable to get  a clear view of how the control flow goes from the
userspace's `evaluate` to the kernel's `nft_dynset.c`  in case of the
set operations.
Can someone please share some pointers in this direction?
Also how does the `set_stmt_alloc` in nftables's statement.c relate to
the `set_evaluate` in evaluate.c ?
Best Regards,
Karuna

             reply	other threads:[~2019-03-21  6:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-21  6:27 Karuna Grewal [this message]
2019-03-21  8:23 ` Implementing Deletion of Set Elements in Rulesets Phil Sutter
2019-03-21  8:45   ` Florian Westphal
2019-03-21 11:08 ` Phil Sutter
2019-03-24  4:33   ` Karuna Grewal
     [not found]   ` <CAHRz_yazsKDFYfsVemDLd4av3M+3k6MJnctvFYYMjDD7q2zSMA@mail.gmail.com>
2019-03-25 10:44     ` Phil Sutter

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=CAHRz_yZQ8JYq90BCTKoN7SsivWpXMsGiFz2WkmxbX2S2aVj81Q@mail.gmail.com \
    --to=karunagrewal98@gmail.com \
    --cc=fw@strlen.de \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.