summaryrefslogtreecommitdiff
path: root/meta-google/recipes-google/networking/network-sh
AgeCommit message (Collapse)AuthorFilesLines
2021-05-11meta-google: network-sh: Convert to IP bytesWilliam A. Kennington III2-48/+106
Now that we can convert to and from IP bytes, we should use them everywhere to ensure values are parsed correctly. Change-Id: I995091d1eff670db6678b4a2f4a64113e93308f7 Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-11meta-google: network-sh: Add ip_bytes_to_strWilliam A. Kennington III2-0/+84
This makes it possible to get a human readable address back from a byte array. Change-Id: Ifcc98bcc95b8d75fe7d1aae1c264cbddf3fc5bd0 Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-10meta-google: network-sh: Add ip_to_bytes functionWilliam A. Kennington III2-3/+166
This will be used to compare parts of addresses instead of applying regexes to them. Change-Id: Ide7366cab967e31a74cbb4002bad1046432037e3 Signed-off-by: William A. Kennington III <wak@google.com>
2021-04-23meta-google: network-sh: Add libraryWilliam A. Kennington III2-0/+190
Provides a utility for working with network type data. Right now this is just for MAC address parsing and conversion to EUI{48,64}. Change-Id: I49946d8147f1c7b10cfe3a9e55b20fc30c083eda Signed-off-by: William A. Kennington III <wak@google.com>