summaryrefslogtreecommitdiff
path: root/lib/network (follow)
Commit message (Expand)AuthorAgeFilesLines
* lib.mkEUI64Suffix: fix syntax errors and testsnukdokplex2025-09-111-1/+1
* lib.mkEUI64Suffix: bring @hsjobeki suggestions•••renamed `mac` to `octets` in hextets combining step for better var naming; rephrased error message to provide a hint of expected format; replaced `Arguments` with `Inputs` in docstring; added more test cases for invalid hex digits; added comments in hextets combining step; nukdokplex2025-09-101-7/+18
* lib.mkEUI64Suffix: initnukdokplex2025-09-091-0/+52
* Docs: migrate format of comments to doc-commentsJohannes Kirschbauer2025-02-121-2/+2
* lib.network: ipv6 parser from string•••Add a library function to parse and validate an IPv6 address from a string. It can parse the first two versions of an IPv6 address according to https://datatracker.ietf.org/doc/html/rfc4291#section-2.2. The third form "x:x:x:x:x:x.d.d.d.d" is not yet implemented. Optionally parser can accept prefix length (128 is default). Add shell script network.sh to test IPv6 parser functionality. woojiq2024-06-292-0/+258