diff options
author | Ander Juaristi <a@juaristi.eus> | 2019-08-17 14:17:53 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-08-26 12:03:14 +0300 |
commit | 63d10e12b00dfc8d8387bea9eaab376881335731 (patch) | |
tree | 4205baa292347446edf203c8b5b79a7a3218c665 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | a1b840adafcbdc27da2982e7305c342204b8cfd8 (diff) | |
download | linux-63d10e12b00dfc8d8387bea9eaab376881335731.tar.xz |
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 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions