Skip to content

Think up a reasonable way to deal with the address of array in domino program #171

@XiangyuG

Description

@XiangyuG

For example in the following example:

p.srcip = p.srcip;
if (heavy_hitter[p.srcip] == 0) {
hh_counter[p.srcip] = hh_counter[p.srcip] + 1;
if (hh_counter[p.srcip] == THRESHOLD) {
heavy_hitter[p.srcip] = 1;
}
}

We need to deal with p.srcip and heavy_hitter[p.srcip] separately

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions