pub fn compute_required_protocols(
queried_tables: &[&str],
registry: &ProtocolRegistry,
) -> HashSet<String>Expand description
Compute the set of protocols required to satisfy a query.
Given a set of queried table names (e.g., ["tcp", "ipv4"]), returns
all protocols that must be parsed, including transitive dependencies.
§Arguments
queried_tables- Names of protocol tables referenced in the queryregistry- Protocol registry containing parser definitions
§Returns
A set of protocol names that must be parsed. Always includes “frames” (the base frame data) plus all queried protocols and their dependencies.