commit | b04a402ae4328aad41335d93cebd3484973ab7c2 | [log] [tgz] |
---|---|---|
author | xj <xj@example.com> | Thu Nov 25 15:01:52 2021 +0800 |
committer | xj <xj@example.com> | Thu Nov 25 15:01:52 2021 +0800 |
tree | c1ddf06fa00e6d6f48f3bfe835e32671fe2bb9cc | |
parent | d96e019c47e1271d3fdf4b291ee9c3c02bc16c07 [diff] [blame] |
[Feature] add GA346 baseline version Change-Id: Ic62933698569507dcf98240cdf5d9931ae34348f
diff --git a/src/extended/hw_nat/util.h b/src/extended/hw_nat/util.h new file mode 100644 index 0000000..aa57d19 --- /dev/null +++ b/src/extended/hw_nat/util.h
@@ -0,0 +1,3 @@ +int str_to_mac (unsigned char *mac, char *str); +int str_to_ip (unsigned int *ip, char *str); +int str_to_ipv6 ( unsigned int * ipv6, char *str, unsigned int byte);