summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/xt_time.h
Commit message (Collapse)AuthorAgeFilesLines
* libxt_time: add support to ignore day transitionFlorian Westphal2012-09-301-0/+1
| | | | | | | | | | | | | | | | Currently, if you want to do something like: "match Monday, starting 23:00, for two hours" You need two rules, one for Mon 23:00 to 0:00 and one for Tue 0:00-1:00. The rule --weekdays Mo --timestart 23:00 --timestop 01:00 looks correct, but it will first match on monday from midnight to 1 a.m. and then again for another hour from 23:00 onwards. This permits userspace to explicitly ignore the day transition and match for a single, continuous time period instead. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
* include: refresh include files from kernel 3.1-rc3Jan Engelhardt2011-08-311-0/+2
| | | | Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
* include: update files with headers from Linux 2.6.37-rc1Jan Engelhardt2010-12-031-7/+7
| | | | Also includes the type change to __u{8,16,32} kernel types already.
* Add the libxt_time iptables matchJan Engelhardt2007-09-231-0/+25
This is libipt_time from POM-ng enhanced by the following: * day-of-month support (for example "match on the 15th of each month") * inversion support for --weekdays and --monthdays * match against UTC or local timezone * a manpage Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>