Move nl_netfilter_msg_types definition from netlink.c to netlink_netfilter.c
The side effect of #include "xlat/nl_netfilter_msg_types.h" is NFNL_MSG_BATCH_* constants properly defined in that header file. While netlink.c does not use these constants itself, netlink_netfilter.c is going to need them soon. * defs.h (nl_netfilter_msg_types): New xlat prototype. * netlink.c: Move inclusion of "xlat/nl_netfilter_msg_types.h" ... * netlink_netfilter.c: ... here.
This commit is contained in:
parent
91497f718e
commit
547b90e239
1
defs.h
1
defs.h
@ -296,6 +296,7 @@ extern const struct xlat inet_protocols[];
|
||||
extern const struct xlat ip_type_of_services[];
|
||||
extern const struct xlat msg_flags[];
|
||||
extern const struct xlat netlink_protocols[];
|
||||
extern const struct xlat nl_netfilter_msg_types[];
|
||||
extern const struct xlat nl_route_types[];
|
||||
extern const struct xlat open_access_modes[];
|
||||
extern const struct xlat open_mode_flags[];
|
||||
|
@ -53,7 +53,6 @@
|
||||
#include "xlat/nf_ulog_msg_types.h"
|
||||
#include "xlat/nl_audit_types.h"
|
||||
#include "xlat/nl_crypto_types.h"
|
||||
#include "xlat/nl_netfilter_msg_types.h"
|
||||
#include "xlat/nl_netfilter_subsys_ids.h"
|
||||
#include "xlat/nl_selinux_types.h"
|
||||
#include "xlat/nl_sock_diag_types.h"
|
||||
|
@ -38,6 +38,7 @@
|
||||
# include <linux/netfilter/nfnetlink.h>
|
||||
|
||||
# include "xlat/netfilter_versions.h"
|
||||
# include "xlat/nl_netfilter_msg_types.h"
|
||||
# include "xlat/nl_netfilter_subsys_ids.h"
|
||||
|
||||
bool
|
||||
|
Loading…
x
Reference in New Issue
Block a user