xt_NAT
xt_NAT copied to clipboard
Updating for Linux kernel 5.0.0
I tried using with kernel 5.0.0 and noticed that do_gettimeofday and setup_timer are no longer available. I'm still in the process of testing but this seems to be working so far.
I was also getting a warning about atomic64_read returning a long long int, and the printf statement using a long int. This resolves the warning by changing the format strings to %lld and adding a cast to u64 (so that it works the same way across different architectures).