5 #include <unordered_map>
27 MaskedFilter(
int maskVal, std::unordered_map<uint64_t, std::string> map)
28 : mask(maskVal), vendorMap(std::move(map))
32 std::unordered_map<uint64_t, std::string> vendorMap;
38 std::string vendorName;
39 std::vector<MaskedFilter> maskedFilter;
44 using OUIVendorMap = std::unordered_map<uint64_t, VendorData>;
47 OUIVendorMap vendorMap;
49 template <
typename T> int64_t internalParser(T& jsonData);
Definition: MacAddress.h:21
Definition: OUILookup.h:21
int64_t initOUIDatabaseFromJson(const std::string &path="")
std::string getVendorName(const pcpp::MacAddress &addr)
The main namespace for the PcapPlusPlus lib.