Lines Matching refs:max_ads
89 int max_ads; /* at least one per interface */ variable
161 max_ads = MAX_ADS; in get_rdisc_sock()
162 drs = rtmalloc(max_ads * sizeof (struct dr), "get_rdisc_sock"); in get_rdisc_sock()
163 (void) memset(drs, 0, max_ads * sizeof (struct dr)); in get_rdisc_sock()
308 for (drp = drs; drp < &drs[max_ads]; drp++) { in set_supplier()
366 for (drp = drs; drp < &drs[max_ads]; drp++) { in rdisc_age()
456 for (drp = drs; drp < &drs[max_ads]; drp++) { in if_bad_rdisc()
475 for (drp = drs; drp < &drs[max_ads]; drp++) { in if_rewire_rdisc()
541 for (drp = drs; drp < &drs[max_ads]; drp++) { in del_rdisc()
631 for (drp = drs; drp < &drs[max_ads]; drp++) { in rdisc_sort()
766 for (drp = drs; drp < &drs[max_ads]; drp++) { in rdisc_sort()
913 for (new_drp = NULL, drp = drs; drp < &drs[max_ads]; drp++) { in parse_ad()
949 ptrsize = (max_ads + MAX_ADS) * sizeof (struct dr); in parse_ad()
954 (void) memset(&drs[max_ads], 0, MAX_ADS * sizeof (struct dr)); in parse_ad()
955 new_drp = &drs[max_ads]; in parse_ad()
956 max_ads += MAX_ADS; in parse_ad()
1398 for (drp = drs; drp < &drs[max_ads]; drp++) in rdisc_dump()
1439 extern int max_ads; in process_d_mib_sock()
1454 for (drp = drs; drp < &drs[max_ads]; drp++) { in process_d_mib_sock()
1467 for (drp = drs; drp < &drs[max_ads]; drp++) { in process_d_mib_sock()