Lines Matching refs:lip_str
513 static void get_ipv4_info(const char *lip_str, const char *rip_str, int lprefix, in get_ipv4_info() argument
522 get_in_addr(lip_str, &lip); in get_ipv4_info()
534 vars.lhost_ipv4_host = get_host_from_ip(lip_str, vars.ipv4_lnetwork); in get_ipv4_info()
540 static void get_ipv6_info(const char *lip_str, const char *rip_str, in get_ipv6_info() argument
549 get_in6_addr(lip_str, &lip); in get_ipv6_info()
558 vars.lhost_ipv6_host = get_host_from_ip(lip_str, vars.ipv6_lnetwork); in get_ipv6_info()
589 char *lip_str = NULL, *rip_str = NULL; in main() local
601 lip_str = argv[1]; in main()
604 is_ipv6 = !!strchr(lip_str, ':'); in main()
605 lprefix = get_prefix(lip_str, is_ipv6); in main()
609 get_in6_addr(lip_str, &ip6); in main()
611 get_in_addr(lip_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()