Lines Matching refs:cpu_to_be32
25 #define VXLAN_HF_VNI cpu_to_be32(BIT(27))
29 #define VXLAN_VNI_MASK cpu_to_be32(VXLAN_VID_MASK << 8)
56 #define VXLAN_HF_RCO cpu_to_be32(BIT(21))
59 #define VXLAN_RCO_MASK cpu_to_be32(0x7f) /* Last byte of vni field */
60 #define VXLAN_RCO_UDP cpu_to_be32(0x80) /* Indicate UDP RCO (TCP when not set *) */
106 #define VXLAN_HF_GBP cpu_to_be32(BIT(31))
108 #define VXLAN_GBP_USED_BITS (VXLAN_HF_GBP | cpu_to_be32(0xFFFFFF))
165 #define VXLAN_HF_VER cpu_to_be32(BIT(29) | BIT(28))
166 #define VXLAN_HF_NP cpu_to_be32(BIT(26))
167 #define VXLAN_HF_OAM cpu_to_be32(BIT(24))
170 cpu_to_be32(0xff))
362 __be32 vni_field = cpu_to_be32(start >> VXLAN_RCO_SHIFT); in vxlan_compute_rco()