summaryrefslogtreecommitdiffstats
path: root/useful_functions.c
Commit message (Collapse)AuthorAgeFilesLines
* ebt_ip: add support for matching IGMP typeMatthias Schiffer2018-04-111-13/+22
| | | | | | | | | | | | We already have ICMPv6 type/code matches (which can be used to distinguish different types of MLD packets). Add support for IPv4 IGMP matches in the same way. To reuse as much code as possible, the ICMP type/code handling functions are extended to allow passing a NULL code range. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* Move ICMP type handling functions from ebt_ip6 to useful_functions.cMatthias Schiffer2018-04-111-2/+149
| | | | | | | Allow using these functions for ebt_ip as well. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* don't print IPv6 mask if it's all ones (based on patch by Mariusz Mazur ↵Bart De Schuymer2014-04-141-0/+13
| | | | <mmazur at axeos.com>)
* make it compile for meBart De Schuymer2009-02-121-2/+2
|
* cleanup indentation messBart De Schuymer2009-02-121-84/+83
|
* Kuo-Lang Tseng et al: add ipv6 supportBart De Schuymer2008-02-211-0/+136
|
* remove unsigned char * warning with gcc 4.0Bart De Schuymer2006-01-231-4/+5
|
* general cleanup + add -C and -cBart De Schuymer2005-02-081-40/+30
|
* prevent segfaultBart De Schuymer2004-11-141-0/+2
|
* add some commentsBart De Schuymer2004-02-231-6/+30
|
* add shared librariesBart De Schuymer2004-01-211-6/+6
|
* ebtables library functionsBart De Schuymer2004-01-141-0/+261