aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSagi Grimberg <[email protected]>2017-02-05 21:47:22 +0200
committerJens Axboe <[email protected]>2017-04-04 09:48:23 -0600
commitb1a951fe469eb51646bf2e6d2c5f4a19fe1d4627 (patch)
treeafcdc10098a7e7c099afcf1941fe39b5aa20af83 /tools/perf/scripts/python/export-to-postgresql.py
parent297186d640182eff442c3f473cd053c613f3b558 (diff)
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 <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Acked-by: David S. Miller <[email protected]> Signed-off-by: Sagi Grimberg <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions