Lines Matching refs:rip_str
513 static void get_ipv4_info(const char *lip_str, const char *rip_str, int lprefix, in get_ipv4_info() argument
523 get_in_addr(rip_str, &rip); in get_ipv4_info()
535 vars.rhost_ipv4_host = get_host_from_ip(rip_str, vars.ipv4_rnetwork); in get_ipv4_info()
540 static void get_ipv6_info(const char *lip_str, const char *rip_str, in get_ipv6_info() argument
550 get_in6_addr(rip_str, &rip); in get_ipv6_info()
559 vars.rhost_ipv6_host = get_host_from_ip(rip_str, vars.ipv6_rnetwork); in get_ipv6_info()
589 char *lip_str = NULL, *rip_str = NULL; in main() local
602 rip_str = argv[2]; in main()
606 rprefix = get_prefix(rip_str, is_ipv6); in main()
613 tmp = !!strchr(rip_str, ':'); in main()
615 get_in6_addr(rip_str, &ip6); in main()
617 get_in_addr(rip_str, &ip); in main()
621 lip_str, rip_str); in main()
626 if (!strcmp(lip_str, rip_str)) in main()
628 lip_str, rip_str); in main()
631 get_ipv6_info(lip_str, rip_str, lprefix, rprefix); in main()
633 get_ipv4_info(lip_str, rip_str, lprefix, rprefix); in main()