Lines Matching refs:rip_str
498 static void get_ipv4_info(const char *lip_str, const char *rip_str, int lprefix, in get_ipv4_info() argument
508 tst_get_in_addr(rip_str, &rip); in get_ipv4_info()
520 vars.rhost_ipv4_host = get_host_from_ip(rip_str, vars.ipv4_rnetwork); in get_ipv4_info()
525 static void get_ipv6_info(const char *lip_str, const char *rip_str, in get_ipv6_info() argument
535 tst_get_in6_addr(rip_str, &rip); in get_ipv6_info()
544 vars.rhost_ipv6_host = get_host_from_ip(rip_str, vars.ipv6_rnetwork); in get_ipv6_info()
574 char *lip_str = NULL, *rip_str = NULL; in main() local
587 rip_str = argv[2]; in main()
591 rprefix = tst_get_prefix(rip_str, is_ipv6); in main()
598 tmp = !!strchr(rip_str, ':'); in main()
600 tst_get_in6_addr(rip_str, &ip6); in main()
602 tst_get_in_addr(rip_str, &ip); in main()
606 lip_str, rip_str); in main()
611 if (!strcmp(lip_str, rip_str)) in main()
613 lip_str, rip_str); in main()
616 get_ipv6_info(lip_str, rip_str, lprefix, rprefix); in main()
618 get_ipv4_info(lip_str, rip_str, lprefix, rprefix); in main()