summaryrefslogtreecommitdiffstats
path: root/libipq
Commit message (Collapse)AuthorAgeFilesLines
* Makefile: Fix for 'make distcheck'Phil Sutter2022-12-141-1/+1
| | | | | | | | | Since extensions/ directory does not use automake, some targets have to be added manually. Apart from that, several Makefiles either missed to specify relevant files or did not specify them correctly for 'make dist' to add them to the tarball. Signed-off-by: Phil Sutter <phil@nwl.cc>
* Makefile: Add --enable-profiling configure optionPhil Sutter2022-06-111-0/+1
| | | | | | A little convenience to prepare a build for analysis with gcov/gprof. Signed-off-by: Phil Sutter <phil@nwl.cc>
* treewide: use uint* instead of u_int*Nick Hainke2022-05-182-2/+2
| | | | | | | | | | | | | | | | | | | | Gcc complains about missing types. Some commits introduced u_int* instead of uint*. Use uint treewide. Fixes errors in the form of: In file included from xtables-legacy-multi.c:5: xshared.h:83:56: error: unknown type name 'u_int16_t'; did you mean 'uint16_t'? 83 | set_option(unsigned int *options, unsigned int option, u_int16_t *invflg, | ^~~~~~~~~ | uint16_t make[6]: *** [Makefile:712: xtables_legacy_multi-xtables-legacy-multi.o] Error 1 Avoid libipq API breakage by adjusting libipq.h include accordingly. For arpt_mangle.h kernel uAPI header, apply same change as in kernel commit e91ded8db5747 ("uapi: netfilter_arp: use __u8 instead of u_int8_t"). Signed-off-by: Nick Hainke <vincent@systemli.org> Signed-off-by: Phil Sutter <phil@nwl.cc>
* libipq: fix spelling in manpageLaurence J. Lane2019-12-051-1/+1
| | | | | | | | | | | | Fix spelling in this sentence. Arturo says: This patch is forwarded from the iptables Debian package, where it has been around for many years now. Signed-off-by: Laurence J. Lane <ljlane@debian.org> Signed-off-by: Arturo Borrero Gonzalez <arturo@netfilter.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* libipq: add pkgconfig fileJan Engelhardt2011-08-083-0/+14
| | | | | | | | | This is just to make sure that projects (still) using it do so with the right cflags, e.g. for when the include file ends up in a non-standard location due to ./configure having been called with --include=/somewhere/else. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* iptables: Coverity: NEGATIVE_RETURNSJiri Popelka2011-06-221-1/+0
| | | | | | | | libipq.c:232: var_tested_neg: Variable "h->fd" tests negative. libipq.c:234: negative_returns: "h->fd" is passed to a parameter that cannot be negative. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* build: move remaining preprocessor flags to CPPFLAGSMike Frysinger2011-06-011-2/+2
| | | | | References; http://bugzilla.netfilter.org/show_bug.cgi?id=713 Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* build: move basic preprocessor flags to regular_CPPFLAGSJan Engelhardt2011-06-011-0/+1
| | | | | | | This is where they belong, after all. References: http://bugzilla.netfilter.org/show_bug.cgi?id=713 Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* Remove unused CVS expanded keywordsJan Engelhardt2011-02-197-14/+0
| | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* src: use C99/POSIX typesJan Engelhardt2011-01-081-2/+2
| | | | | | "u_int" was a non-standardized extension predating C99 on some platforms. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* libipq: build as shared libraryJan Engelhardt2009-12-281-2/+2
| | | | | | | | Antique software (see link) built as shared library requires objects compiled with -fPIC, so the standard archive won't do. References: http://bugs.debian.org/527733 Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* manpages: more fixes to minuses, hyphens, dashesJan Engelhardt2009-08-207-12/+12
| | | | | | | | | | | | | | | | Debian still carries patches patches to the iptables nroff code touching ASCII minuses, so I thought, what's it this time. Eventually, this patch tries to straighten things once more, per http://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style#Hyphens and http://en.wikipedia.org/wiki/Wikipedia:Manual_of_Style#Dashes . Titles will get the em dash; all typed commands or parameters with a hyphen get a minus (so that man(1) hyperlinking and copy-pasting does work), but other mentions get the hyphen. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
* libipq: fix compile errorJan Engelhardt2009-02-121-0/+2
| | | | | | | | | | | | libipq.c: In function `ipq_create_handle': libipq.c:220: error: `NFPROTO_IPV4' undeclared (first use in this function) libipq.c:220: error: (Each undeclared identifier is reported only once libipq.c:220: error: for each function it appears in.) libipq.c:222: error: `NFPROTO_IPV6' undeclared (first use in this function) Add the required includes. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* build: restructure Makefile for include/ directoryJan Engelhardt2009-02-121-1/+0
| | | | | | This patch will support adding libiptc to the headers list in future. Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* libipq: add missing doc for NF_ valuesJan Engelhardt2009-02-121-0/+7
| | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* src: use NFPROTO_ constantsJan Engelhardt2008-11-183-4/+4
| | | | | | | | Resync netfilter.h from the latest kernel and make use of the new NFPROTO_ constants that have been introduced. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
* Add all necessary header files - compilation fix for various casesJan Engelhardt2008-04-141-1/+1
| | | | | | Allow iptables to compile without a kernel source tree. This implies fixing build for older kernels, such as 2.6.17 which lack xt_SECMARK.h.
* Converts the iptables build infrastructure to autotools.Jan Engelhardt2008-01-202-28/+11
| | | | | | | | | | | | | - Can build both static and dynamic at the same time - iptables-static will be a multi-binary, semi-static (link against libc but w/o dynamic plugins) - Always build IPv6 modules - consider INSTALL Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
* get rid of numerous gcc-4 warningsHarald Welte2005-07-191-1/+2
|
* check if received netlink messages are really from the kernel (pid==0)Harald Welte2003-11-141-0/+4
|
* IPv6 queue handler, libipq support, documentation from Fernando Anton.James Morris2001-11-243-10/+32
|
* Fixed typo.James Morris2001-10-162-4/+4
|
* Updated libipq documentation with information on new timeout feature,James Morris2001-10-167-41/+54
| | | | | as well as minor miscellaneous updates. Added a bit more info to the install-devel description in the INSTALL file.
* Libipq timeout patch from Joost Remijn, updated TODO and scores.James Morris2001-09-211-7/+47
|
* Added more specific copyright & author information.James Morris2001-05-301-0/+4
|
* TODO update, deleted kernelnotes.org reference from ipq docsHarald Welte2001-05-261-2/+2
|
* added install-devel targetJames Morris2000-11-241-0/+17
|
* Initial commit of libipq man pages.James Morris2000-11-2011-0/+856
|
* added ipq_errstr() to APIJames Morris2000-11-181-1/+6
|
* More sparc64 fixesRusty Russell2000-09-041-1/+1
|
* doco was very out of date and basically uselessJames Morris2000-06-091-118/+0
|
* Makefile fixes for release.v1.0.0-alphaRusty Russell2000-03-201-11/+11
| | | | Whitespace cleanups.
* reorganized tree after kernel mergeMarc Boucher2000-03-203-0/+439