Lines Matching refs:sla

349 				if (strcmp(ifp->options->ia[i].sla[j].ifname,  in dhcp6_findselfsla()
351 return &ifp->options->ia[i].sla[j]; in dhcp6_findselfsla()
394 const struct ipv6_addr *prefix, const struct if_sla *sla, struct if_ia *ia) in dhcp6_delegateaddr() argument
415 if (sla == NULL || sla->sla_set == 0) { in dhcp6_delegateaddr()
416 asla.sla = ifp->index; in dhcp6_delegateaddr()
418 sla = &asla; in dhcp6_delegateaddr()
419 } else if (sla->prefix_len == 0) { in dhcp6_delegateaddr()
420 asla.sla = sla->sla; in dhcp6_delegateaddr()
421 if (asla.sla == 0) in dhcp6_delegateaddr()
425 sla = &asla; in dhcp6_delegateaddr()
427 if (sla->prefix_len == 0) { in dhcp6_delegateaddr()
467 sla->sla, addr, sla->prefix_len) == -1) in dhcp6_delegateaddr()
474 sla->sla, sla->prefix_len); in dhcp6_delegateaddr()
489 return sla->prefix_len; in dhcp6_delegateaddr()
2304 const struct if_sla *sla, struct if_ia *ia, struct interface *ifs) in dhcp6_ifdelegateaddr() argument
2317 if (sla) in dhcp6_ifdelegateaddr()
2327 sla, ia)) == -1) in dhcp6_ifdelegateaddr()
2415 struct if_sla *sla; in dhcp6_delegate_prefix() local
2426 sla = &ia->sla[j]; in dhcp6_delegate_prefix()
2428 if (strcmp(sla->ifname, ia->sla[j].ifname) == 0) in dhcp6_delegate_prefix()
2431 if_find(ifp->ctx->ifaces, sla->ifname) == NULL) in dhcp6_delegate_prefix()
2434 "%s: loading for delegation", sla->ifname); in dhcp6_delegate_prefix()
2436 sla->ifname) == -1) in dhcp6_delegate_prefix()
2440 sla->ifname); in dhcp6_delegate_prefix()
2480 sla = &ia->sla[j]; in dhcp6_delegate_prefix()
2481 if (sla->sla_set && sla->sla == 0) in dhcp6_delegate_prefix()
2484 if (strcmp(ifd->name, sla->ifname)) in dhcp6_delegate_prefix()
2495 sla, ia, ifp)) in dhcp6_delegate_prefix()
2528 struct if_sla *sla; in dhcp6_find_delegates() local
2546 sla = &ia->sla[j]; in dhcp6_find_delegates()
2547 if (strcmp(ifp->name, sla->ifname)) in dhcp6_find_delegates()
2560 sla, ia, ifd)) in dhcp6_find_delegates()