diff options
author | John Fastabend <john.fastabend@gmail.com> | 2017-07-17 09:29:18 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-17 09:48:06 -0700 |
commit | 97f91a7cf04ff605845c20948b8a80e54cbd3376 (patch) | |
tree | 0d5c2872667d06e7e2a7f83253505c5170a0258b /include/linux/netdevice.h | |
parent | bpf: add devmap, a map for storing net device references (diff) | |
download | linux-dev-97f91a7cf04ff605845c20948b8a80e54cbd3376.tar.xz linux-dev-97f91a7cf04ff605845c20948b8a80e54cbd3376.zip |
bpf: add bpf_redirect_map helper routine
BPF programs can use the devmap with a bpf_redirect_map() helper
routine to forward packets to netdevice in map.
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions