Lines Matching refs:asla
397 struct if_sla asla; in dhcp6_delegateaddr() local
416 asla.sla = ifp->index; in dhcp6_delegateaddr()
417 asla.prefix_len = 0; in dhcp6_delegateaddr()
418 sla = &asla; in dhcp6_delegateaddr()
420 asla.sla = sla->sla; in dhcp6_delegateaddr()
421 if (asla.sla == 0) in dhcp6_delegateaddr()
422 asla.prefix_len = prefix->prefix_len; in dhcp6_delegateaddr()
424 asla.prefix_len = 0; in dhcp6_delegateaddr()
425 sla = &asla; in dhcp6_delegateaddr()
445 asla.prefix_len = UINT8_MAX; in dhcp6_delegateaddr()
447 asla.prefix_len = (uint8_t)(prefix->prefix_len + bits); in dhcp6_delegateaddr()
451 if (asla.prefix_len <= 64) in dhcp6_delegateaddr()
452 asla.prefix_len = 64; in dhcp6_delegateaddr()
454 asla.prefix_len = (uint8_t)ROUNDUP8(asla.prefix_len); in dhcp6_delegateaddr()
462 ia->sla_max = (uint32_t)BIT_MASK(asla.prefix_len - in dhcp6_delegateaddr()