summaryrefslogtreecommitdiff
path: root/samples/pktgen/pktgen_sample03_burst_single_flow.sh
diff options
context:
space:
mode:
authorDaniel T. Lee <danieltimlee@gmail.com>2019-10-05 11:25:08 +0300
committerDavid S. Miller <davem@davemloft.net>2019-10-07 16:26:32 +0300
commitf0681d95e7dcddb53b27610d7ac36d2aac31983b (patch)
tree1b46ed6f3a756ae9b4f8d4fb54ba75aa9698ae2a /samples/pktgen/pktgen_sample03_burst_single_flow.sh
parent3cad8f911575191fb3b81d8ed0e061e30f922223 (diff)
downloadlinux-f0681d95e7dcddb53b27610d7ac36d2aac31983b.tar.xz
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 <danieltimlee@gmail.com> Acked-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples/pktgen/pktgen_sample03_burst_single_flow.sh')
0 files changed, 0 insertions, 0 deletions