summaryrefslogtreecommitdiffstats
path: root/include/libiptc
Commit message (Collapse)AuthorAgeFilesLines
* libiptc: remove indirectionsJan Engelhardt2008-11-102-48/+48
| | | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
* libiptc: remove typedef indirectionJan Engelhardt2008-11-102-62/+60
| | | | | | | | | | | Don't you hate it when iptc_handle_t *x actually is a double-indirection struct iptc_handle **? This also shows the broken constness model, since "const iptc_handle_t x" = "iptc_handle_t const x" = "struct iptc_handle *const x", which is like no const at all. Lots of things to do then. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
* src: remove dependency on libiptc headersJan Engelhardt2008-08-041-2/+0
| | | | | | | | xtables.h does not need really need libxtc.h, and we can drop it from the install as it is internal-only. Signed-off-by: Jan Engelhardt <jengelh@medozas.de> Signed-off-by: Patrick McHardy <kaber@trash.net>
* Fix all remaining warnings (missing declarations, missing prototypes)Jan Engelhardt2008-04-132-0/+4
|
* fix gcc warningsMax Kellermann2008-01-292-2/+2
| | | | Max Kellermann <max@duempel.org>
* use <linux/types.h>Jan Engelhardt2007-12-172-0/+2
| | | | | | | | Remove our own definitions of the Linux types and use <linux/types.h> instead. libiptc needs it too, or otherwise will choke on union nf_inet_addr. Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
* Introduces xtables match/target registrationYasuyuki KOZAKAI2007-07-241-0/+35
| | | | | | | | | | | | | | | | | | | | | | | - moves lib_dir to xtables.c - introduces struct pfinfo which has protocol family dependent infomations. - unifies load_ip[6]tables_ko() and moves them as load_xtables_ko() - introduces xt_{match,match_rule,target,tryload} and replaces ip[6]t_* with them - unifies following functions and move them to xtables.c - find_{match,find_target} - compatible_revision, compatible_{match,target}_revision - introduces xtables_register_{match,target} and make register_{match,target}[6] call them. xtables_register_* register ONLY matches/targets matched protocol family Some concepts: - source compatibility for libip[6]t_xxx.c with warning on compilation not binary compatibility. - binary compatibility between 2.4/2.6 kernel and iptables/ip6tables, of cause. - xtables is enough to support only one address family at runtime. Then xtables keeps infomations of only the focused address famiy in struct afinfo.
* Fix the previous fixMartin Josefsson2003-05-051-0/+3
| | | | No more segfaults or compilewarnings.
* fix memory leak(s) in libiptc. Reverts the previous (wrong) patch. (Martin ↵Martin Josefsson2003-05-021-0/+3
| | | | Josefsson)
* fix IP6T_MIN_ALIGN macro (Andreas Herrmann)Andreas Herrmann2002-02-251-1/+1
|
* pkttype match (new) + scorefile,Harald Welte2001-04-191-0/+10
| | | | libiptc C++ compatibility + scorefile
* libiptc counter functionsHarald Welte2001-01-052-0/+34
|
* Added <linux/in6.h> for libc5.Rusty Russell2000-11-061-0/+2
|
* Philip Blundell's IPv6 patches.Rusty Russell2000-06-021-1/+2
|
* Philip Blundell's IPv6 fixes.Philip Blundell2000-05-151-7/+7
|
* Philip Blundell's IPv6 fixes.Philip Blundell2000-05-101-5/+6
|
* IPv6 enhancements.Rusty Russell2000-05-021-0/+133
|
* Alignment fixes (requires kernel patch).Rusty Russell2000-04-271-2/+6
|
* More fixes and testsuite enhancements.Rusty Russell2000-04-231-12/+11
|
* Changes to allow matching (for delete) on part of a rule, for rules whichRusty Russell2000-04-191-1/+3
| | | | change in the kernel (eg. ipt_limit).
* Added linux/types.h for non-glibc systems.Rusty Russell2000-04-191-0/+1
|
* James Morris' limits.h patch.James Morris2000-03-241-0/+1
|
* reorganized tree after kernel mergeMarc Boucher2000-03-202-0/+153