Searched refs:gbp (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | test_tunnel_kern.c | 42 __u32 gbp; member 318 md.gbp = 0x800FF; /* Set VXLAN Group Policy extension */ in _vxlan_set_tunnel() 349 key.tunnel_id, key.remote_ipv4, md.gbp); in _vxlan_get_tunnel()
|
/kernel/linux/linux-5.10/drivers/net/ |
D | vxlan.c | 1714 struct vxlanhdr_gbp *gbp = (struct vxlanhdr_gbp *)unparsed; in vxlan_parse_gbp_hdr() local 1720 md->gbp = ntohs(gbp->policy_id); in vxlan_parse_gbp_hdr() 1727 if (gbp->dont_learn) in vxlan_parse_gbp_hdr() 1728 md->gbp |= VXLAN_GBP_DONT_LEARN; in vxlan_parse_gbp_hdr() 1730 if (gbp->policy_applied) in vxlan_parse_gbp_hdr() 1731 md->gbp |= VXLAN_GBP_POLICY_APPLIED; in vxlan_parse_gbp_hdr() 1735 skb->mark = md->gbp; in vxlan_parse_gbp_hdr() 2299 struct vxlanhdr_gbp *gbp; in vxlan_build_gbp_hdr() local 2301 if (!md->gbp) in vxlan_build_gbp_hdr() 2304 gbp = (struct vxlanhdr_gbp *)vxh; in vxlan_build_gbp_hdr() [all …]
|
/kernel/linux/linux-5.10/net/sched/ |
D | act_tunnel_key.c | 158 md->gbp = nla_get_u32(tb[TCA_TUNNEL_KEY_ENC_OPT_VXLAN_GBP]); in tunnel_key_copy_vxlan_opt() 159 md->gbp &= VXLAN_GBP_MASK; in tunnel_key_copy_vxlan_opt() 609 if (nla_put_u32(skb, TCA_TUNNEL_KEY_ENC_OPT_VXLAN_GBP, md->gbp)) { in tunnel_key_vxlan_opts_dump()
|
D | cls_flower.c | 1189 md->gbp = nla_get_u32(tb[TCA_FLOWER_KEY_ENC_OPT_VXLAN_GBP]); in fl_set_vxlan_opt() 1190 md->gbp &= VXLAN_GBP_MASK; in fl_set_vxlan_opt() 2698 if (nla_put_u32(skb, TCA_FLOWER_KEY_ENC_OPT_VXLAN_GBP, md->gbp)) in fl_dump_key_vxlan_opt()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ip_tunnel_core.c | 535 md->gbp = nla_get_u32(attr); in ip_tun_parse_opts_vxlan() 536 md->gbp &= VXLAN_GBP_MASK; in ip_tun_parse_opts_vxlan() 777 if (nla_put_u32(skb, LWTUNNEL_IP_OPT_VXLAN_GBP, md->gbp)) { in ip_tun_fill_encap_opts_vxlan()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nft_tunnel.c | 244 opts->u.vxlan.gbp = ntohl(nla_get_be32(tb[NFTA_TUNNEL_KEY_VXLAN_GBP])); in nft_tunnel_obj_vxlan_init() 563 htonl(opts->u.vxlan.gbp))) in nft_tunnel_opts_dump()
|
/kernel/linux/linux-5.10/include/net/ |
D | vxlan.h | 180 u32 gbp; member
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_tunnel.sh | 167 id 2 dstport 4789 gbp remote 172.16.1.200 175 ip link add dev $DEV type $TYPE external gbp dstport 4789
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | rtnetlink.sh | 495 ip -netns "$testns" link set dev "$vxlan" type vxlan gbp 2>/dev/null
|
/kernel/linux/linux-5.10/net/openvswitch/ |
D | flow_netlink.c | 603 opts.gbp = nla_get_u32(a); in vxlan_tun_opt_from_nlattr() 852 if (nla_put_u32(skb, OVS_VXLAN_EXT_GBP, opts->gbp) < 0) in vxlan_opt_to_nlattr()
|