Expand description
Layer 1 — thin typed wrappers over what the kernel exposes via netlink/sysfs.
These are the primitives returned by InventoryRaw.
Users only see them via jip raw *.
Structs§
- Addr
- A single address bound to a link.
- Link
- A kernel-visible network interface (link).
- Link
Flags - IFF_* style flags as reported by the kernel. Stored as strings to avoid a brittle enum; query via helper methods.
- MacAddr
- Six-byte link-layer address. Displayed as
aa:bb:cc:dd:ee:ff. - MacAddr
Parse Error - Neighbor
- A neighbor table entry (ARP/ND).
- Route
- A kernel routing table entry.
- Socket
- A listening or established socket.
Enums§
- Addr
Scope - Scope of an IP address, as reported by the kernel (
RT_SCOPE_*). - L4Proto
- Layer 4 transport protocol.
- Lifetime
valid_lft/preferred_lftas reported by the kernel.foreverisu32::MAX(4294967295) inip -j; backends lift that toLifetime::Forever.- Link
Kind - The type of network link, as inferred from the kernel’s layer-2 type and interface name.
- Link
Mode - Kernel link mode (
IFLA_LINKMODE).Dormantmeans the link waits for an upper layer (e.g. 802.1X authentication) before coming up. - Neigh
State - ARP/ND neighbor cache state (
NUD_*flags from the kernel). - Oper
State - RFC 2863 operational state as reported by the kernel via
IF_OPER_*. - Route
Dst - Routing table destination: either the default route or a specific prefix.
- Route
Scope - Scope of a routing table entry (
RT_SCOPE_*). - TcpState
- Kernel TCP state names (also used for UDP:
Unconnis the UDP “listen”).