Lines Matching refs:lladdr
1484 struct net_linkaddr *lladdr);
1493 struct net_linkaddr *lladdr) in net_ipv6_addr_create_iid() argument
1495 (void)net_ipv6_addr_generate_iid(NULL, NULL, NULL, 0, 0, addr, lladdr); in net_ipv6_addr_create_iid()
1504 const struct net_linkaddr *lladdr) in net_ipv6_addr_based_on_ll() argument
1506 if (!addr || !lladdr) { in net_ipv6_addr_based_on_ll()
1510 switch (lladdr->len) { in net_ipv6_addr_based_on_ll()
1512 if (!memcmp(&addr->s6_addr[14], lladdr->addr, lladdr->len) && in net_ipv6_addr_based_on_ll()
1523 if (lladdr->type == NET_LINK_ETHERNET) { in net_ipv6_addr_based_on_ll()
1524 if (!memcmp(&addr->s6_addr[9], &lladdr->addr[1], 2) && in net_ipv6_addr_based_on_ll()
1525 !memcmp(&addr->s6_addr[13], &lladdr->addr[3], 3) && in net_ipv6_addr_based_on_ll()
1528 (addr->s6_addr[8] ^ 0x02) == lladdr->addr[0]) { in net_ipv6_addr_based_on_ll()
1535 if (!memcmp(&addr->s6_addr[9], &lladdr->addr[1], in net_ipv6_addr_based_on_ll()
1536 lladdr->len - 1) && in net_ipv6_addr_based_on_ll()
1537 (addr->s6_addr[8] ^ 0x02) == lladdr->addr[0]) { in net_ipv6_addr_based_on_ll()