Something went wrong. Try again.
An SNMP manager library and command line tools for Zig, covering versions 1, 2c and 3.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829// SPDX-FileCopyrightText: © 2026 Jeffrey C. Ollie <jeff@ocjtech.us>// SPDX-License-Identifier: MIT
//! The wire format: every message and every PDU, encoded and decoded, both//! directions. Nothing in here does any I/O, which is what lets the whole of//! it be driven by a fuzzer with no socket in sight.
const std = @import("std");const testing = std.testing;
pub const Message = @import("protocol/Message.zig");pub const Pdu = @import("protocol/Pdu.zig");pub const Value = @import("protocol/Value.zig");pub const VarBind = @import("protocol/VarBind.zig");pub const V3 = @import("protocol/V3.zig");pub const Version = @import("protocol/Version.zig").Version;
test { testing.refAllDecls(@This()); // A test executable reaches a file only through a reference to it, so // without these the tests in each would never run. _ = Message; _ = Pdu; _ = Value; _ = VarBind; _ = V3; _ = @import("protocol/Version.zig");}