summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nfnetlink_log.c
diff options
context:
space:
mode:
authorAnder Juaristi <a@juaristi.eus>2019-08-17 13:17:53 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-08-26 11:03:14 +0200
commit63d10e12b00dfc8d8387bea9eaab376881335731 (patch)
tree4205baa292347446edf203c8b5b79a7a3218c665 /net/netfilter/nfnetlink_log.c
parenta1b840adafcbdc27da2982e7305c342204b8cfd8 (diff)
netfilter: nft_meta: support for time matching
This patch introduces meta matches in the kernel for time (a UNIX timestamp), day (a day of week, represented as an integer between 0-6), and hour (an hour in the current day, or: number of seconds since midnight). All values are taken as unsigned 64-bit integers. The 'time' keyword is internally converted to nanoseconds by nft in userspace, and hence the timestamp is taken in nanoseconds as well. Signed-off-by: Ander Juaristi <a@juaristi.eus> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nfnetlink_log.c')
0 files changed, 0 insertions, 0 deletions