]> git.ipfire.org Git - thirdparty/nftables.git/commit
mnl: Consolidate mnl_batch_talk() parameters
authorPhil Sutter <phil@nwl.cc>
Fri, 28 Jul 2017 11:55:45 +0000 (13:55 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 2 Aug 2017 13:03:31 +0000 (15:03 +0200)
commit119a49a5354c16208ec1bd24500a180bcbe86cd2
tree82725fad78b85841ddda3e2d2794824f00a9f39d
parentaa4125a0561d7ea656aecfe64670b4ad82d1010b
mnl: Consolidate mnl_batch_talk() parameters

The single caller of this function passes struct netlink_ctx fields as
the first two parameters. This can be simplified by passing the context
object itself and having mnl_batch_talk() access it's fields instead.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/mnl.h
src/mnl.c
src/netlink.c