Peter Krempa 00dfd9c97d util: macmap: Convert to use GSList for storing macs instead of string lists
Since adding and removing is the main use case for the macmap module,
convert the code to a more efficient data structure.

The refactor also optimizes the loading from file where previously we'd
do a hash lookup + list lenght calculation for every entry.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2021-02-11 17:05:33 +01:00
..
2020-10-06 12:31:34 +02:00
2021-02-03 16:09:25 +01:00
2021-02-03 16:09:25 +01:00
2020-07-09 10:01:41 +02:00
2020-03-13 17:26:55 +01:00
2020-10-06 12:31:34 +02:00
2020-02-24 23:15:49 +01:00
2020-02-24 17:25:07 +00:00
2020-08-03 15:30:40 +02:00
2021-01-25 20:27:38 -05:00
2020-10-06 12:31:34 +02:00
2019-10-16 12:06:44 +02:00
2020-03-05 12:23:02 +00:00
2020-10-06 12:31:34 +02:00
2019-10-16 12:06:44 +02:00
2020-12-04 16:24:19 +01:00
2020-12-04 16:24:19 +01:00