Lines Matching refs:md
1152 struct vxlan_metadata *md, u32 vni, in vxlan_rcv() argument
1205 skb->mark = md->gbp; in vxlan_rcv()
1253 struct vxlan_metadata *md = &_md; in vxlan_udp_encap_recv() local
1290 cpu_to_be64(vni >> 8), sizeof(*md)); in vxlan_udp_encap_recv()
1295 md = ip_tunnel_info_opts(&tun_dst->u.tun_info); in vxlan_udp_encap_recv()
1297 memset(md, 0, sizeof(*md)); in vxlan_udp_encap_recv()
1307 md->gbp = ntohs(gbp->policy_id); in vxlan_udp_encap_recv()
1311 tun_dst->u.tun_info.options_len = sizeof(*md); in vxlan_udp_encap_recv()
1315 md->gbp |= VXLAN_GBP_DONT_LEARN; in vxlan_udp_encap_recv()
1318 md->gbp |= VXLAN_GBP_POLICY_APPLIED; in vxlan_udp_encap_recv()
1336 vxlan_rcv(vs, skb, md, vni >> 8, tun_dst); in vxlan_udp_encap_recv()
1664 struct vxlan_metadata *md) in vxlan_build_gbp_hdr() argument
1668 if (!md->gbp) in vxlan_build_gbp_hdr()
1674 if (md->gbp & VXLAN_GBP_DONT_LEARN) in vxlan_build_gbp_hdr()
1677 if (md->gbp & VXLAN_GBP_POLICY_APPLIED) in vxlan_build_gbp_hdr()
1680 gbp->policy_id = htons(md->gbp & VXLAN_GBP_ID_MASK); in vxlan_build_gbp_hdr()
1689 struct vxlan_metadata *md, bool xnet, u32 vxflags) in vxlan6_xmit_skb() argument
1757 vxlan_build_gbp_hdr(vxh, vxflags, md); in vxlan6_xmit_skb()
1774 struct vxlan_metadata *md, bool xnet, u32 vxflags) in vxlan_xmit_skb() argument
1836 vxlan_build_gbp_hdr(vxh, vxflags, md); in vxlan_xmit_skb()
1930 struct vxlan_metadata *md = &_md; in vxlan_xmit_one() local
1987 md = ip_tunnel_info_opts(info); in vxlan_xmit_one()
1989 md->gbp = skb->mark; in vxlan_xmit_one()
2049 src_port, dst_port, htonl(vni << 8), md, in vxlan_xmit_one()
2112 0, ttl, src_port, dst_port, htonl(vni << 8), md, in vxlan_xmit_one()