summaryrefslogtreecommitdiff
path: root/samples/bpf/xdp_redirect_cpu_user.c
diff options
context:
space:
mode:
authorJesper Dangaard Brouer <brouer@redhat.com>2018-08-10 14:02:57 +0200
committerDaniel Borkmann <daniel@iogearbox.net>2018-08-10 16:07:49 +0200
commit11395686586bc9ca867b3f27501fd6c48244187a (patch)
tree4f53275a6ac49883aae2eb93e96425c6c8bd4f8b /samples/bpf/xdp_redirect_cpu_user.c
parenteb91e4d4db06adef06e7f50c02813c13c6ca5a5b (diff)
samples/bpf: add Paul Hsieh's (LGPL 2.1) hash function SuperFastHash
Adjusted function call API to take an initval. This allow the API user to set the initial value, as a seed. This could also be used for inputting the previous hash. Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/bpf/xdp_redirect_cpu_user.c')
0 files changed, 0 insertions, 0 deletions