diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-08-14 17:47:21 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-08-15 14:03:41 +0200 |
commit | 0d9d04c31481c7c73b4ba64f0ad746b84c4250c5 (patch) | |
tree | 60713cea11ad785cfba3ceff19983e5394b97d2a /src/utils.c | |
parent | 2caecefe812e4d614687926d259ade3106935c56 (diff) |
src: make netlink sequence number non-static
Place sequence number that is allocated per-command on the struct
netlink_ctx structure. This is allocated from nft_run() to correlate
commands with netlink messages for error reporting. Batch support
probing also shares this sequence numbers with commands.
There is an inpendent cache sequence number though, this routine is
called from a different path, usually from the evaluation phase.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/utils.c')
0 files changed, 0 insertions, 0 deletions