Searched refs:OVS_MASKED (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/net/openvswitch/ |
D | actions.c | 214 lse = OVS_MASKED(stack->label_stack_entry, *mpls_lse, *mask); in set_mpls() 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() 450 ipv6_tclass = OVS_MASKED(old_ipv6_tclass, ipv6_tclass, mask); in set_ipv6_dsfield() 464 fl = OVS_MASKED(ofl, fl, mask); in set_ipv6_fl() 477 new_ttl = OVS_MASKED(nh->hop_limit, new_ttl, mask); in set_ipv6_ttl() 488 new_ttl = OVS_MASKED(nh->ttl, new_ttl, mask); in set_ip_ttl() 514 new_addr = OVS_MASKED(nh->saddr, key->ipv4_src, mask->ipv4_src); in set_ipv4() [all …]
|
D | datapath.h | 277 #define OVS_MASKED(OLD, KEY, MASK) ((KEY) | ((OLD) & ~(MASK))) macro 278 #define OVS_SET_MASKED(OLD, KEY, MASK) ((OLD) = OVS_MASKED(OLD, KEY, MASK))
|