|
|
|
@ -218,9 +218,6 @@ int EBPFForEachFlowV4Table(const char *name,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
struct pair values_array[nr_cpus];
|
|
|
|
struct pair values_array[nr_cpus];
|
|
|
|
|
|
|
|
|
|
|
|
if (bpf_map_get_next_key(mapfd, &key, &next_key) != 0) {
|
|
|
|
|
|
|
|
return found;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
while (bpf_map_get_next_key(mapfd, &key, &next_key) == 0) {
|
|
|
|
while (bpf_map_get_next_key(mapfd, &key, &next_key) == 0) {
|
|
|
|
int iret = 1;
|
|
|
|
int iret = 1;
|
|
|
|
int pkts_cnt = 0;
|
|
|
|
int pkts_cnt = 0;
|
|
|
|
@ -266,9 +263,6 @@ int EBPFForEachFlowV6Table(const char *name,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
struct pair values_array[nr_cpus];
|
|
|
|
struct pair values_array[nr_cpus];
|
|
|
|
|
|
|
|
|
|
|
|
if (bpf_map_get_next_key(mapfd, &key, &next_key) != 0) {
|
|
|
|
|
|
|
|
return found;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
while (bpf_map_get_next_key(mapfd, &key, &next_key) == 0) {
|
|
|
|
while (bpf_map_get_next_key(mapfd, &key, &next_key) == 0) {
|
|
|
|
int iret = 1;
|
|
|
|
int iret = 1;
|
|
|
|
int pkts_cnt = 0;
|
|
|
|
int pkts_cnt = 0;
|
|
|
|
|