Home
last modified time | relevance | path

Searched refs:min_port (Results 1 – 2 of 2) sorted by relevance

/samples/pktgen/
Dfunctions.sh176 local min_port
181 min_port=${port_list[0]}
182 max_port=${port_list[1]:-$min_port}
184 echo $min_port $max_port
190 local min_port=$1
194 if [[ $min_port -gt 0 && $min_port -lt 65536 ]]; then
196 if [[ $min_port -le $max_port ]]; then
202 err 5 "Invalid port(s): $min_port-$max_port"
/samples/bpf/
Dxdp_tx_iptunnel_user.c114 static int parse_ports(const char *port_str, int *min_port, int *max_port) in parse_ports() argument
147 *min_port = tmp_min_port; in parse_ports()
159 int min_port = 0, max_port = 0, vip2tnl_map_fd; in main() local
195 if (parse_ports(optarg, &min_port, &max_port)) in main()
285 while (min_port <= max_port) { in main()
286 vip.dport = htons(min_port++); in main()