Yonghong Song <yhs@xxxxxxxx> writes: > On 11/7/22 7:05 AM, Donald Hunter wrote: [...] >> + >> +Userspace >> +--------- >> + >> +.. c:function:: >> + int bpf_map_update_elem (int fd, const void *key, const void *value, __u64 flags) >> + >> +A userspace program can push ``value`` onto a queue or stack using libbpf's >> +``bpf_map_update_elem`` function. The ``key`` parameter must be set to >> +``NULL`` and ``flags`` must be set to ``BPF_ANY``. Returns ``0`` on >> +success, or negative error in case of failure. > > Besides BPF_ANY, BPF_EXIST is allowed as well? Good catch, thanks!