netfilter: nf_tables: Introduce new 64-bit helper register functions
authorAnder Juaristi <a@juaristi.eus>
Sat, 17 Aug 2019 11:17:52 +0000 (13:17 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 26 Aug 2019 09:01:00 +0000 (11:01 +0200)
commita1b840adafcbdc27da2982e7305c342204b8cfd8
treecb6f52781580da3ff1e6efc0ac668ac2c69ffc83
parent0846e1616f0f3365cea732e82e2383932fe644e5
netfilter: nf_tables: Introduce new 64-bit helper register functions

Introduce new helper functions to load/store 64-bit values onto/from
registers:

 - nft_reg_store64
 - nft_reg_load64

This commit also re-orders all these helpers from smallest to largest
target bit size.

Signed-off-by: Ander Juaristi <a@juaristi.eus>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nft_byteorder.c