diff options
| author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-01-12 07:29:06 +0300 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-01-15 01:36:29 +0300 |
| commit | bd475643d74e8ed78bfd36d941053b0e45974e8e (patch) | |
| tree | 30fdfb7335e61f5d34c864f2abce9bf74f0f89ad /scripts/gcc-plugins/gcc-common.h | |
| parent | 9328e0d1bc09e96bd7dc85374f5c2a1e0e04e539 (diff) | |
| download | linux-bd475643d74e8ed78bfd36d941053b0e45974e8e.tar.xz | |
bpf: add helper for copying attrs to struct bpf_map
All map types reimplement the field-by-field copy of union bpf_attr
members into struct bpf_map. Add a helper to perform this operation.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions
