summaryrefslogtreecommitdiffstats
path: root/kernel/pfxlen.c
Commit message (Collapse)AuthorAgeFilesLines
* Use annotated types and fix sparse warningsJozsef Kadlecsik2011-01-201-2/+4
| | | | | | Annotated types are introduced and sparse warnings fixed. Two warnings remained in ip_set_core.c but those are false ones. (Patrick McHardy's review)
* NETMASK*, HOSTMASK* macros are too genericJozsef Kadlecsik2011-01-201-4/+4
| | | | | NETMASK*, HOSTMASK* macros are rewritten to small inline functions ip_set_netmask* and ip_set_hostmask* (Patrick McHardy's review)
* Separate prefixlens from ip_set core.Jozsef Kadlecsik2011-01-131-0/+289
Separate prefixlens from ip_set core for better readibility and honoring the independence. Also, comment that prefixlens were borrowed from Jan Engelhardt.