Home
last modified time | relevance | path

Searched refs:gbp (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/net/
Dvxlan.c1252 struct vxlanhdr_gbp *gbp = (struct vxlanhdr_gbp *)unparsed; in vxlan_parse_gbp_hdr() local
1258 md->gbp = ntohs(gbp->policy_id); in vxlan_parse_gbp_hdr()
1265 if (gbp->dont_learn) in vxlan_parse_gbp_hdr()
1266 md->gbp |= VXLAN_GBP_DONT_LEARN; in vxlan_parse_gbp_hdr()
1268 if (gbp->policy_applied) in vxlan_parse_gbp_hdr()
1269 md->gbp |= VXLAN_GBP_POLICY_APPLIED; in vxlan_parse_gbp_hdr()
1273 skb->mark = md->gbp; in vxlan_parse_gbp_hdr()
1797 struct vxlanhdr_gbp *gbp; in vxlan_build_gbp_hdr() local
1799 if (!md->gbp) in vxlan_build_gbp_hdr()
1802 gbp = (struct vxlanhdr_gbp *)vxh; in vxlan_build_gbp_hdr()
[all …]
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_tunnel_kern.c43 __u32 gbp; member
319 md.gbp = 0x800FF; /* Set VXLAN Group Policy extension */ in _vxlan_set_tunnel()
350 key.tunnel_id, key.remote_ipv4, md.gbp); in _vxlan_get_tunnel()
Dtest_tunnel.sh167 id 2 dstport 4789 gbp remote 172.16.1.200
175 ip link add dev $DEV type $TYPE external gbp dstport 4789
/Linux-v4.19/include/net/
Dvxlan.h173 u32 gbp; member
/Linux-v4.19/net/netfilter/
Dnft_tunnel.c212 opts->u.vxlan.gbp = ntohl(nla_get_be32(tb[NFTA_TUNNEL_KEY_VXLAN_GBP])); in nft_tunnel_obj_vxlan_init()
440 htonl(opts->u.vxlan.gbp))) in nft_tunnel_opts_dump()
/Linux-v4.19/net/openvswitch/
Dflow_netlink.c612 opts.gbp = nla_get_u32(a); in vxlan_tun_opt_from_nlattr()
843 if (nla_put_u32(skb, OVS_VXLAN_EXT_GBP, opts->gbp) < 0) in vxlan_opt_to_nlattr()