Searched refs:vni_field (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/include/net/ |
H A D | vxlan.h | 345 static inline __be32 vxlan_vni(__be32 vni_field) in vxlan_vni() argument 348 return (__force __be32)((__force u32)vni_field >> 8); in vxlan_vni() 350 return (__force __be32)((__force u32)(vni_field & VXLAN_VNI_MASK) << 8); in vxlan_vni() 363 static inline size_t vxlan_rco_start(__be32 vni_field) in vxlan_rco_start() argument 365 return be32_to_cpu(vni_field & VXLAN_RCO_MASK) << VXLAN_RCO_SHIFT; in vxlan_rco_start() 368 static inline size_t vxlan_rco_offset(__be32 vni_field) in vxlan_rco_offset() argument 370 return (vni_field & VXLAN_RCO_UDP) ? in vxlan_rco_offset() 377 __be32 vni_field = cpu_to_be32(start >> VXLAN_RCO_SHIFT); in vxlan_compute_rco() local 380 vni_field |= VXLAN_RCO_UDP; in vxlan_compute_rco() 381 return vni_field; in vxlan_compute_rco() [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | vxlan.h | 404 static inline __be32 vxlan_vni(__be32 vni_field) in vxlan_vni() argument 407 return (__force __be32)((__force u32)vni_field >> 8); in vxlan_vni() 409 return (__force __be32)((__force u32)(vni_field & VXLAN_VNI_MASK) << 8); in vxlan_vni() 422 static inline size_t vxlan_rco_start(__be32 vni_field) in vxlan_rco_start() argument 424 return be32_to_cpu(vni_field & VXLAN_RCO_MASK) << VXLAN_RCO_SHIFT; in vxlan_rco_start() 427 static inline size_t vxlan_rco_offset(__be32 vni_field) in vxlan_rco_offset() argument 429 return (vni_field & VXLAN_RCO_UDP) ? in vxlan_rco_offset() 436 __be32 vni_field = cpu_to_be32(start >> VXLAN_RCO_SHIFT); in vxlan_compute_rco() local 439 vni_field |= VXLAN_RCO_UDP; in vxlan_compute_rco() 440 return vni_field; in vxlan_compute_rco() [all...] |
/kernel/linux/linux-5.10/drivers/net/vxlan/ |
H A D | vxlan_core.c | 761 __be32 vni_field, in vxlan_gro_remcsum() 773 start = vxlan_rco_start(vni_field); in vxlan_gro_remcsum() 774 offset = start + vxlan_rco_offset(vni_field); in vxlan_gro_remcsum() 758 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
|
/kernel/linux/linux-6.6/drivers/net/vxlan/ |
H A D | vxlan_core.c | 655 __be32 vni_field, in vxlan_gro_remcsum() 667 start = vxlan_rco_start(vni_field); in vxlan_gro_remcsum() 668 offset = start + vxlan_rco_offset(vni_field); in vxlan_gro_remcsum() 652 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
|
Completed in 13 milliseconds