Searched hist:cb1b69b0b15b2897daeba8674c14c85a23a3347f (Results 1 – 4 of 4) sorted by relevance
/linux/net/netfilter/ |
H A D | nft_hash.c | diff cb1b69b0b15b2897daeba8674c14c85a23a3347f Thu Aug 11 18:02:07 CEST 2016 Laura Garcia Liebana <nevola@gmail.com> netfilter: nf_tables: add hash expression
This patch adds a new hash expression, this provides jhash support but this can be extended to support for other hash functions. The modulus and seed already comes embedded into this new expression.
Use case example:
... meta mark set hash ip saddr mod 10
Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
H A D | Makefile | diff cb1b69b0b15b2897daeba8674c14c85a23a3347f Thu Aug 11 18:02:07 CEST 2016 Laura Garcia Liebana <nevola@gmail.com> netfilter: nf_tables: add hash expression
This patch adds a new hash expression, this provides jhash support but this can be extended to support for other hash functions. The modulus and seed already comes embedded into this new expression.
Use case example:
... meta mark set hash ip saddr mod 10
Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
H A D | Kconfig | diff cb1b69b0b15b2897daeba8674c14c85a23a3347f Thu Aug 11 18:02:07 CEST 2016 Laura Garcia Liebana <nevola@gmail.com> netfilter: nf_tables: add hash expression
This patch adds a new hash expression, this provides jhash support but this can be extended to support for other hash functions. The modulus and seed already comes embedded into this new expression.
Use case example:
... meta mark set hash ip saddr mod 10
Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
/linux/include/uapi/linux/netfilter/ |
H A D | nf_tables.h | diff cb1b69b0b15b2897daeba8674c14c85a23a3347f Thu Aug 11 18:02:07 CEST 2016 Laura Garcia Liebana <nevola@gmail.com> netfilter: nf_tables: add hash expression
This patch adds a new hash expression, this provides jhash support but this can be extended to support for other hash functions. The modulus and seed already comes embedded into this new expression.
Use case example:
... meta mark set hash ip saddr mod 10
Signed-off-by: Laura Garcia Liebana <nevola@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|