[ovs-dev] [PATCH v2 1/4] Add general-purpose IP/port parsing function.

2017-10-31 Thread Mark Michelson
OVS has functions for parsing IPv4 addresses, parsing IPv4 addresses with a port, and parsing IPv6 addresses. What is lacking though is a function that can take an IPv4 or IPv6 address, with or without a port. This commit adds ipv46_parse(), which breaks the given input string into its component p

[ovs-dev] [PATCH v2 1/4] Add general-purpose IP/port parsing function.

2017-09-21 Thread Mark Michelson
OVS has functions for parsing IPv4 addresses, parsing IPv4 addresses with a port, and parsing IPv6 addresses. What is lacking though is a function that can take an IPv4 or IPv6 address, with or without a port. This commit adds ipv46_parse(), which breaks the given input string into its component p