2021-05-26 00:11:13 +03:00
|
|
|
// Copyright (c) Microsoft Corporation
|
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
EbpfHelperPrototype
|
2021-09-14 20:59:57 +03:00
|
|
|
get_helper_prototype_windows(int32_t n);
|
2021-05-26 00:11:13 +03:00
|
|
|
|
|
|
|
bool
|
2021-09-14 20:59:57 +03:00
|
|
|
is_helper_usable_windows(int32_t n);
|
2021-05-26 00:11:13 +03:00
|
|
|
|
|
|
|
EbpfMapType
|
|
|
|
get_map_type_windows(uint32_t platform_specific_type);
|
|
|
|
|
2021-09-28 19:45:22 +03:00
|
|
|
const EbpfProgramType&
|
2021-05-26 00:11:13 +03:00
|
|
|
get_program_type_windows(const GUID& program_type);
|
|
|
|
|
|
|
|
EbpfProgramType
|
|
|
|
get_program_type_windows(const std::string& section, const std::string& path);
|
|
|
|
|
|
|
|
EbpfMapDescriptor&
|
|
|
|
get_map_descriptor_windows(int map_fd);
|
2021-06-23 06:42:18 +03:00
|
|
|
|
|
|
|
const ebpf_attach_type_t*
|
|
|
|
get_attach_type_windows(const std::string& section);
|
2021-09-28 19:45:22 +03:00
|
|
|
|
|
|
|
_Ret_maybenull_z_ const char*
|
|
|
|
get_attach_type_name(_In_ const ebpf_attach_type_t* attach_type);
|