Lines Matching refs:lprefix
513 static void get_ipv4_info(const char *lip_str, const char *rip_str, int lprefix, in get_ipv4_info() argument
519 lprefix_round = round_down_prefix(lprefix, 0); in get_ipv4_info()
525 vars.ipv4_lbroadcast = get_ipv4_broadcast(lip, lprefix); in get_ipv4_info()
528 vars.ipv4_lnetmask = get_ipv4_netmask(lprefix); in get_ipv4_info()
541 int lprefix, int rprefix) in get_ipv6_info() argument
546 lprefix_round = round_down_prefix(lprefix, 1); in get_ipv6_info()
552 vars.ipv6_lnetmask = get_ipv6_netmask(lprefix); in get_ipv6_info()
590 int is_ipv6, lprefix, rprefix, tmp; in main() local
605 lprefix = get_prefix(lip_str, is_ipv6); in main()
623 check_prefix_range(lprefix, is_ipv6, 1); 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()