summaryrefslogtreecommitdiff
path: root/samples/bpf/tracex4_kern.c
diff options
context:
space:
mode:
authorDaniel T. Lee <danieltimlee@gmail.com>2019-06-29 16:33:57 +0300
committerDavid S. Miller <davem@davemloft.net>2019-07-01 21:02:20 +0300
commit226b96c25d84ab32abeb6a000166a755db3ebfa9 (patch)
treef5f2a568f6d3899e0d622b166777743e46e8f9ea /samples/bpf/tracex4_kern.c
parenta346abe051bd2bd0d5d0140b2da9ec95639acad7 (diff)
downloadlinux-226b96c25d84ab32abeb6a000166a755db3ebfa9.tar.xz
samples: pktgen: add some helper functions for port parsing
This commit adds port parsing and port validate helper function to parse single or range of port(s) from a given string. (e.g. 1234, 443-444) Helpers will be used in prior to set target port(s) 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/bpf/tracex4_kern.c')
0 files changed, 0 insertions, 0 deletions