Lines Matching refs:dst_mask
2365 * dst_net:dst_mask:dst_port:redirect_ip:redirect_port OR
2366 * dst_net:dst_mask:[dp_range_start-dp_range_end]:redirect_ip:redirect_port
2369 char *dst_net, *dst_mask, *dst_port;
2376 dst_mask = strtok(NULL, ":");
2381 if (dst_net == NULL || dst_mask == NULL || dst_port == NULL ||
2385 "dst_net:dst_mask:dst_port:redirect_ip:redirect_port or "
2386 "dst_net:dst_mask:[dp_range_start-dp_range_end]"
2397 if (inet_strtoip(dst_mask, &dmask) == -1) {
2398 fprintf(stderr, "Invalid destination IP mask: %s\n", dst_mask);