mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
ovn-northd: Use common code for sockaddr_storage.
This better reuses existing code. It does require adding a slight variant on ss_format_address(), but it still seems like a net win. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Mark Michelson <mmichels@redhat.com>
This commit is contained in:
@@ -75,6 +75,7 @@ char *describe_fd(int fd);
|
||||
* IPv6 address. */
|
||||
uint16_t ss_get_port(const struct sockaddr_storage *);
|
||||
void ss_format_address(const struct sockaddr_storage *, struct ds *);
|
||||
void ss_format_address_nobracks(const struct sockaddr_storage *, struct ds *);
|
||||
size_t ss_length(const struct sockaddr_storage *);
|
||||
const char *sock_strerror(int error);
|
||||
|
||||
|
Reference in New Issue
Block a user