Skip to content

Use 64 bits values to store bf_matcher_type bitmasks #443

@qdeslandes

Description

@qdeslandes

As we now have 30 different matchers available, we will need to ensure we store matcher types bit masks as 64 bits values instead to prevent UB (c.f. https://github.com/facebook/bpfilter/blob/main/src/bpfilter/cgen/matcher/set.c#L41).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions