Searched refs:OVS_MASKED (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/net/openvswitch/ |
D | actions.c | 206 lse = OVS_MASKED(stack->label_stack_entry, *mpls_lse, *mask); in set_mpls() 408 masked[0] = OVS_MASKED(old[0], addr[0], mask[0]); in mask_ipv6_addr() 409 masked[1] = OVS_MASKED(old[1], addr[1], mask[1]); in mask_ipv6_addr() 410 masked[2] = OVS_MASKED(old[2], addr[2], mask[2]); in mask_ipv6_addr() 411 masked[3] = OVS_MASKED(old[3], addr[3], mask[3]); in mask_ipv6_addr() 436 new_ttl = OVS_MASKED(nh->ttl, new_ttl, mask); in set_ip_ttl() 462 new_addr = OVS_MASKED(nh->saddr, key->ipv4_src, mask->ipv4_src); in set_ipv4() 470 new_addr = OVS_MASKED(nh->daddr, key->ipv4_dst, mask->ipv4_dst); in set_ipv4() 598 flags = OVS_MASKED(flags, key.base.flags, mask.base.flags); in set_nsh() 601 ttl = OVS_MASKED(ttl, key.base.ttl, mask.base.ttl); in set_nsh() [all …]
|
D | datapath.h | 259 #define OVS_MASKED(OLD, KEY, MASK) ((KEY) | ((OLD) & ~(MASK))) macro 260 #define OVS_SET_MASKED(OLD, KEY, MASK) ((OLD) = OVS_MASKED(OLD, KEY, MASK))
|