Skip to content

Commit b801e91

Browse files
committed
Add small comment on filter_by_prefix_map usage
1 parent 85e17ef commit b801e91

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

fact-ebpf/src/bpf/maps.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ __always_inline static struct helper_t* get_helper() {
2727
return bpf_map_lookup_elem(&helper_map, &zero);
2828
}
2929

30+
/**
31+
* A map with a single entry, determining whether prefix filtering
32+
* should be done based on the `path_prefix` map.
33+
*/
3034
struct {
3135
__uint(type, BPF_MAP_TYPE_ARRAY);
3236
__type(key, __u32);

0 commit comments

Comments
 (0)