1 Star 7 Fork 4

Parnado / HSDisconnector

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
windivert.ads 778 Bytes
一键复制 编辑 原始数据 按行查看 历史
Parnado 提交于 2020-11-02 15:15 . first commit
with Interfaces; use Interfaces;
with Interfaces.C; use Interfaces.C;
with System.Win32; use System.Win32;
package WinDivert is
WINDIVERT_LAYER_NETWORK : constant Unsigned_32 := 0;
WINDIVERT_LAYER_NETWORK_FORWARD : constant Unsigned_32 := 1;
WINDIVERT_LAYER_FLOW : constant Unsigned_32 := 2;
WINDIVERT_LAYER_SOCKET : constant Unsigned_32 := 3;
WINDIVERT_LAYER_REFLECT : constant Unsigned_32 := 4;
function WinDivertOpen (filter: in char_array; layer:Unsigned_32; priority:Integer_16; flags:Unsigned_64) return HANDLE
with Import, Convention => C, External_Name => "WinDivertOpen";
function WinDivertClose (hnd : HANDLE) return BOOL
with Import, Convention => C, External_Name => "WinDivertClose";
end WinDivert;
Ada
1
https://gitee.com/parnado/hsdisconnector.git
git@gitee.com:parnado/hsdisconnector.git
parnado
hsdisconnector
HSDisconnector
master

搜索帮助