Sagi Grimberg b1a951fe46 net/utils: generic inet_pton_with_scope helper
Several locations in the stack need to handle ipv4/ipv6
(with scope) and port strings conversion to sockaddr.
Add a helper that takes either AF_INET, AF_INET6 or
AF_UNSPEC (for wildcard) to centralize this handling.

Suggested-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jens Axboe <axboe@fb.com>
2017-04-04 09:48:23 -06:00
..
2017-01-22 16:46:13 -05:00
2017-03-07 14:30:38 +01:00
2016-12-03 23:54:25 -05:00
2017-02-21 13:25:22 -05:00
2017-03-13 21:55:47 -07:00
2017-03-13 21:55:47 -07:00
2016-12-25 17:21:22 +01:00
2016-10-20 11:23:08 -04:00
2017-01-24 11:07:35 +01:00
2017-03-17 14:16:22 -07:00
2017-02-10 14:31:51 -05:00