MCPcopy Create free account
hub / github.com/celzero/firestack / hexToInt4

Function hexToInt4

intra/netstat/procfs.go:200–233  ·  view source on GitHub ↗

hexToInt4 parses a 32-char hex string (IPv6) into four uint32 values. The kernel stores IPv6 as 4 x uint32 in little-endian format. Returns (w0, w1, w2, w3) corresponding to bytes 0-3, 4-7, 8-11, 12-15.

(h string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

hexToIPFunction · 0.85

Calls 1

EFunction · 0.92

Tested by

no test coverage detected