Home
last modified time | relevance | path

Searched refs:OVS_MASKED (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/net/openvswitch/
Dactions.c209 lse = OVS_MASKED(stack->label_stack_entry, *mpls_lse, *mask); in set_mpls()
412 masked[0] = OVS_MASKED(old[0], addr[0], mask[0]); in mask_ipv6_addr()
413 masked[1] = OVS_MASKED(old[1], addr[1], mask[1]); in mask_ipv6_addr()
414 masked[2] = OVS_MASKED(old[2], addr[2], mask[2]); in mask_ipv6_addr()
415 masked[3] = OVS_MASKED(old[3], addr[3], mask[3]); in mask_ipv6_addr()
434 ipv6_tclass = OVS_MASKED(old_ipv6_tclass, ipv6_tclass, mask); in set_ipv6_dsfield()
448 fl = OVS_MASKED(ofl, fl, mask); in set_ipv6_fl()
461 new_ttl = OVS_MASKED(nh->hop_limit, new_ttl, mask); in set_ipv6_ttl()
472 new_ttl = OVS_MASKED(nh->ttl, new_ttl, mask); in set_ip_ttl()
498 new_addr = OVS_MASKED(nh->saddr, key->ipv4_src, mask->ipv4_src); in set_ipv4()
[all …]
Ddatapath.h277 #define OVS_MASKED(OLD, KEY, MASK) ((KEY) | ((OLD) & ~(MASK))) macro
278 #define OVS_SET_MASKED(OLD, KEY, MASK) ((OLD) = OVS_MASKED(OLD, KEY, MASK))