Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 618 Bytes

File metadata and controls

25 lines (17 loc) · 618 Bytes

Netlink, Netfilter, Nftables for Zig

Wrapper library for Linux netlink, netfilter, netfilter_queue and nftables for Zig.

Installation

First, update your build.zig.zon:

zig fetch --save git+https://github.com/gerwin3/netlinkz.git

Add this snippet to your build.zig script:

const netlinkz_dep = b.dependency("netlinkz", .{
    .target = target,
    .optimize = optimize,
});
your_compilation.root_module.addImport("netlinkz", netlinkz_dep.module("netlinkz"));

License

This project is licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT).