Skip to content
jc-rs
GitHub

proc-net-if-inet6

--proc-net-if-inet6v1.0.0

Converts `/proc/net/if_inet6` file to JSON

Linuxfileslurpable
$ jc-rs /proc/net/if_inet6

A real pair

From the reference corpus (linux-proc/net_if_inet6.json). The left pane is the input the fixture ships; the right pane is the corpus's expected JSON. CI compares jc-rs with it field by field under the published differential. Hover a value to see where it came from.

/proc/net/if_inet6linux-proc
fe80000000000000020c29fffea4e315 02 40 20 80    ens33
00000000000000000000000000000001 01 80 10 80       lo
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
[
  {
    "address": "fe80000000000000020c29fffea4e315",
    "index": "02",
    "prefix": "40",
    "scope": "20",
    "flags": "80",
    "name": "ens33"
  },
  {
    "address": "00000000000000000000000000000001",
    "index": "01",
    "prefix": "80",
    "scope": "10",
    "flags": "80",
    "name": "lo"
  }
]

Fixture coverage

1/1oracle-valid pairs match under the published structural JSON comparison

Magic syntax

jc-rs /proc/net/if_inet6jc-rs reads this kernel-interface file directly and dispatches it through the matching /proc parser.

Source: crates/jc-rs-parsers/src/proc/proc_net_if_inet6.rs. jc-rs targets the schemas defined by the original Python tool. Fixture coverage above is the measured evidence for this parser; test the inputs your pipeline depends on. Compare