map.insert bcc helper to expose the BPF_NOEXIST flag (#1085)
authorPaul Chaignon <paul.chaignon@gmail.com>
Sat, 1 Apr 2017 16:23:58 +0000 (18:23 +0200)
committerSasha Goldshtein <goldshtn@gmail.com>
Sat, 1 Apr 2017 16:23:58 +0000 (19:23 +0300)
commit6ceb3291fe777daccf967030e50a5bb221c45a04
tree9871b2ca61adf3ef9458efdee02e95abf26d34c7
parent9e718f5a2b10cb9e12bf4628d7d0228ccad8b734
map.insert bcc helper to expose the BPF_NOEXIST flag (#1085)

Inserts element in map only if it does not already exist. Throws a
warning during rewriter step if used on a BPF array.
docs/reference_guide.md
examples/networking/neighbor_sharing/tc_neighbor_sharing.c
src/cc/export/helpers.h
src/cc/frontends/clang/b_frontend_action.cc
tests/python/test_clang.py