Searched refs:gbp (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_tunnel_kern.c | 52 __u32 gbp; member 332 md.gbp = 0x800FF; /* Set VXLAN Group Policy extension */ in vxlan_set_tunnel_dst() 371 md.gbp = 0x800FF; /* Set VXLAN Group Policy extension */ in vxlan_set_tunnel_src() 403 if (key.local_ipv4 != ASSIGNED_ADDR_VETH1 || md.gbp != 0x800FF || in vxlan_get_tunnel_src() 408 key.remote_ipv4, md.gbp, in vxlan_get_tunnel_src()
|
/linux-6.1.9/drivers/net/vxlan/ |
D | vxlan_core.c | 1549 struct vxlanhdr_gbp *gbp = (struct vxlanhdr_gbp *)unparsed; in vxlan_parse_gbp_hdr() local 1555 md->gbp = ntohs(gbp->policy_id); in vxlan_parse_gbp_hdr() 1562 if (gbp->dont_learn) in vxlan_parse_gbp_hdr() 1563 md->gbp |= VXLAN_GBP_DONT_LEARN; in vxlan_parse_gbp_hdr() 1565 if (gbp->policy_applied) in vxlan_parse_gbp_hdr() 1566 md->gbp |= VXLAN_GBP_POLICY_APPLIED; in vxlan_parse_gbp_hdr() 1570 skb->mark = md->gbp; in vxlan_parse_gbp_hdr() 2146 struct vxlanhdr_gbp *gbp; in vxlan_build_gbp_hdr() local 2148 if (!md->gbp) in vxlan_build_gbp_hdr() 2151 gbp = (struct vxlanhdr_gbp *)vxh; in vxlan_build_gbp_hdr() [all …]
|
/linux-6.1.9/net/sched/ |
D | act_tunnel_key.c | 157 md->gbp = nla_get_u32(tb[TCA_TUNNEL_KEY_ENC_OPT_VXLAN_GBP]); in tunnel_key_copy_vxlan_opt() 158 md->gbp &= VXLAN_GBP_MASK; in tunnel_key_copy_vxlan_opt() 608 if (nla_put_u32(skb, TCA_TUNNEL_KEY_ENC_OPT_VXLAN_GBP, md->gbp)) { in tunnel_key_vxlan_opts_dump()
|
D | cls_flower.c | 1253 md->gbp = nla_get_u32(tb[TCA_FLOWER_KEY_ENC_OPT_VXLAN_GBP]); in fl_set_vxlan_opt() 1254 md->gbp &= VXLAN_GBP_MASK; in fl_set_vxlan_opt() 2884 if (nla_put_u32(skb, TCA_FLOWER_KEY_ENC_OPT_VXLAN_GBP, md->gbp)) in fl_dump_key_vxlan_opt()
|
/linux-6.1.9/net/ipv4/ |
D | ip_tunnel_core.c | 526 md->gbp = nla_get_u32(attr); in ip_tun_parse_opts_vxlan() 527 md->gbp &= VXLAN_GBP_MASK; in ip_tun_parse_opts_vxlan() 769 if (nla_put_u32(skb, LWTUNNEL_IP_OPT_VXLAN_GBP, md->gbp)) { in ip_tun_fill_encap_opts_vxlan()
|
/linux-6.1.9/net/netfilter/ |
D | nft_tunnel.c | 271 opts->u.vxlan.gbp = ntohl(nla_get_be32(tb[NFTA_TUNNEL_KEY_VXLAN_GBP])); in nft_tunnel_obj_vxlan_init() 591 htonl(opts->u.vxlan.gbp))) in nft_tunnel_opts_dump()
|
/linux-6.1.9/include/net/ |
D | vxlan.h | 181 u32 gbp; member
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | rtnetlink.sh | 495 ip -netns "$testns" link set dev "$vxlan" type vxlan gbp 2>/dev/null
|
/linux-6.1.9/net/openvswitch/ |
D | flow_netlink.c | 613 opts.gbp = nla_get_u32(a); in vxlan_tun_opt_from_nlattr() 862 if (nla_put_u32(skb, OVS_VXLAN_EXT_GBP, opts->gbp) < 0) in vxlan_opt_to_nlattr()
|