diff options
author | Daniel T. Lee <[email protected]> | 2019-10-05 17:25:08 +0900 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-10-07 09:26:32 -0400 |
commit | f0681d95e7dcddb53b27610d7ac36d2aac31983b (patch) | |
tree | 1b46ed6f3a756ae9b4f8d4fb54ba75aa9698ae2a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3cad8f911575191fb3b81d8ed0e061e30f922223 (diff) |
samples: pktgen: add helper functions for IP(v4/v6) CIDR parsing
This commit adds CIDR parsing and IP validate helper function to parse
single IP or range of IP with CIDR. (e.g. 198.18.0.0/15)
Validating the address should be preceded prior to the parsing.
Helpers will be used in prior to set target address in samples/pktgen.
Signed-off-by: Daniel T. Lee <[email protected]>
Acked-by: Jesper Dangaard Brouer <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions