Skip to contentSkip to conversation

Deprecated header file(s)

DISCUSSION Jonas Berlin 1 participant 1 message Mar 13, 2005 netfilter

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

There's a header file in

include/linux/netfilter_logging.h

that declares functions that were found in 2.4. In 2.6, they seem to be defined in

include/linux/netfilter.h

instead, and taking different arguments.

Also, the header files

include/linux/netfilter_ipv4/ip_logging.h
include/linux/netfilter_ipv6/ip6_logging.h

include the seemingly deprecated netfilter_logging.h file and defines IPv4 and IPv6-specific macros for easier use of the functions.

Luckily the three *_logging.h header files were not in use anywhere in the kernel sources, and since the functions are now defined according to netfilter.h prototypes instead, I guess the *_logging.h files should be removed, or possibly updated to work with the new interface in netfilter.h instead.

For example ipt_LOG.c and ipt_ULOG.c in 2.4.28 used ip_logging.h, but have been changed since to use the new interface from netfilter.h instead, and thus don't make use of the "helper" macros anymore.

- --
- - xkr47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQFCNJNMxyF48ZTvn+4RAto7AJ9CPQ+l0Zt99zWfna7tvvag7fKLXgCfSsk0 OlhfL/yFOthL74c6TRmWPC8=
=tgq7
-----END PGP SIGNATURE-----