Lines Matching refs:masked
426 const __be32 mask[4], __be32 masked[4]) in mask_ipv6_addr()
428 masked[0] = OVS_MASKED(old[0], addr[0], mask[0]); in mask_ipv6_addr()
429 masked[1] = OVS_MASKED(old[1], addr[1], mask[1]); in mask_ipv6_addr()
430 masked[2] = OVS_MASKED(old[2], addr[2], mask[2]); in mask_ipv6_addr()
431 masked[3] = OVS_MASKED(old[3], addr[3], mask[3]); in mask_ipv6_addr()
566 __be32 masked[4]; in set_ipv6() local
568 mask_ipv6_addr(saddr, key->ipv6_src, mask->ipv6_src, masked); in set_ipv6()
570 if (unlikely(memcmp(saddr, masked, sizeof(masked)))) { in set_ipv6()
571 set_ipv6_addr(skb, flow_key->ip.proto, saddr, masked, in set_ipv6()
573 memcpy(&flow_key->ipv6.addr.src, masked, in set_ipv6()
582 __be32 masked[4]; in set_ipv6() local
584 mask_ipv6_addr(daddr, key->ipv6_dst, mask->ipv6_dst, masked); in set_ipv6()
586 if (unlikely(memcmp(daddr, masked, sizeof(masked)))) { in set_ipv6()
593 set_ipv6_addr(skb, flow_key->ip.proto, daddr, masked, in set_ipv6()
595 memcpy(&flow_key->ipv6.addr.dst, masked, in set_ipv6()