Home
last modified time | relevance | path

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

/linux/include/net/
H A Dvxlan.h412 static inline __be32 vxlan_vni(__be32 vni_field) in vxlan_vni()
415 return (__force __be32)((__force u32)vni_field >> 8); in vxlan_vni()
417 return (__force __be32)((__force u32)(vni_field & VXLAN_VNI_MASK) << 8); in vxlan_vni_field()
430 static inline size_t vxlan_rco_start(__be32 vni_field)
432 return be32_to_cpu(vni_field & VXLAN_RCO_MASK) << VXLAN_RCO_SHIFT; in vxlan_rco_offset()
435 static inline size_t vxlan_rco_offset(__be32 vni_field) in vxlan_rco_offset()
437 return (vni_field & VXLAN_RCO_UDP) ?
444 __be32 vni_field = cpu_to_be32(start >> VXLAN_RCO_SHIFT); in vxlan_compute_rco()
447 vni_field |= VXLAN_RCO_UDP; in vxlan_get_sk_family()
448 return vni_field; in vxlan_get_sk_family()
408 vxlan_vni(__be32 vni_field) vxlan_vni() argument
426 vxlan_rco_start(__be32 vni_field) vxlan_rco_start() argument
431 vxlan_rco_offset(__be32 vni_field) vxlan_rco_offset() argument
440 __be32 vni_field = cpu_to_be32(start >> VXLAN_RCO_SHIFT); vxlan_compute_rco() local
[all...]
/linux/drivers/net/vxlan/
H A Dvxlan_core.c638 __be32 vni_field, in vxlan_gro_remcsum()
650 start = vxlan_rco_start(vni_field); in vxlan_gro_remcsum()
651 offset = start + vxlan_rco_offset(vni_field); in vxlan_gro_remcsum()
632 vxlan_gro_remcsum(struct sk_buff * skb,unsigned int off,struct vxlanhdr * vh,size_t hdrlen,__be32 vni_field,struct gro_remcsum * grc,bool nopartial) vxlan_gro_remcsum() argument