/openbmc/linux/include/net/ |
H A D | ip_tunnels.h | 76 options_len) * BITS_PER_BYTE) - 1, 0) 90 u8 options_len; member 534 memcpy(to, info + 1, info->options_len); in ip_tunnel_info_opts_get() 541 info->options_len = len; in ip_tunnel_info_opts_set() 590 info->options_len = 0; in ip_tunnel_info_opts_set()
|
H A D | dst_metadata.h | 120 a->u.tun_info.options_len); in skb_metadata_dst_cmp() 147 tun_dst->u.tun_info.options_len = 0; in tun_rx_dst() 161 md_size = md_dst->u.tun_info.options_len; in tun_dst_unclone()
|
/openbmc/linux/net/ipv4/ |
H A D | ip_tunnel_core.c | 136 res = metadata_dst_alloc(src->options_len, METADATA_IP_TUNNEL, flags); in iptunnel_metadata_reply() 150 src->options_len, 0); in iptunnel_metadata_reply() 714 tun_info->options_len = opt_len; in ip_tun_build_state() 741 while (tun_info->options_len > offset) { in ip_tun_fill_encap_opts_geneve() 869 while (info->options_len > offset) { in ip_tun_opts_nlsize() 914 info_a->options_len != info_b->options_len || in ip_tun_cmp_encap() 916 ip_tunnel_info_opts(info_b), info_a->options_len); in ip_tun_cmp_encap() 993 tun_info->options_len = opt_len; in ip6_tun_build_state()
|
H A D | ip_gre.c | 342 info->options_len = sizeof(*md); in erspan_rcv() 541 if (tun_info->options_len < sizeof(*md)) in erspan_fb_xmit()
|
/openbmc/linux/include/net/tc_act/ |
H A D | tc_tunnel_key.h | 77 size_t tun_size = sizeof(*tun) + tun->options_len; in tcf_tunnel_info_copy()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_geneve.c | 19 e->tun_info->options_len; in mlx5e_tc_tun_calc_hlen_geneve() 108 geneveh->opt_len = tun_info->options_len / 4; in mlx5e_gen_ip_tunnel_header_geneve()
|
H A D | tc_tun_vxlan.c | 94 e->tun_info->options_len != sizeof(*md)) in mlx5e_gen_ip_tunnel_header_vxlan()
|
H A D | tc_tun_encap.c | 613 return a_info->options_len == b_info->options_len && in mlx5e_tc_tun_encap_info_equal_options() 616 a_info->options_len); in mlx5e_tc_tun_encap_info_equal_options() 686 size_t tun_size = sizeof(*tun_info) + tun_info->options_len; in mlx5e_dup_tun_info()
|
/openbmc/linux/drivers/net/ |
H A D | bareudp.c | 335 BAREUDP_IPV4_HLEN + info->options_len, false); in bareudp_xmit_skb() 350 BAREUDP_BASE_HLEN + info->options_len + sizeof(struct iphdr); in bareudp_xmit_skb() 399 skb_tunnel_check_pmtu(skb, dst, BAREUDP_IPV6_HLEN + info->options_len, in bareudp6_xmit_skb() 415 BAREUDP_BASE_HLEN + info->options_len + sizeof(struct ipv6hdr); in bareudp6_xmit_skb()
|
H A D | geneve.c | 755 geneveh->opt_len = info->options_len / 4; in geneve_build_header() 782 GENEVE_BASE_HLEN + info->options_len + ip_hdr_len; in geneve_build_skb() 791 gnvh = __skb_push(skb, sizeof(*gnvh) + info->options_len); in geneve_build_skb() 940 GENEVE_IPV4_HLEN + info->options_len, in geneve_xmit_skb() 1039 GENEVE_IPV6_HLEN + info->options_len, in geneve6_xmit_skb() 1675 geneve_change_mtu(dev, ldev_mtu - info->options_len); in geneve_link_config()
|
/openbmc/linux/net/openvswitch/ |
H A D | flow.c | 1016 if (tun_info->options_len) { in ovs_flow_key_extract() 1017 BUILD_BUG_ON((1 << (sizeof(tun_info->options_len) * in ovs_flow_key_extract() 1021 ip_tunnel_info_opts_get(TUN_METADATA_OPTS(key, tun_info->options_len), in ovs_flow_key_extract() 1023 key->tun_opts_len = tun_info->options_len; in ovs_flow_key_extract()
|
H A D | flow_netlink.c | 971 tun_info->options_len, in ovs_nla_put_tunnel_info() 3714 tun_info->options_len, in set_action_to_attr()
|
/openbmc/linux/net/psample/ |
H A D | psample.c | 222 int tun_opts_len = tun_info->options_len; in __psample_ip_tun_to_nlattr() 314 int tun_opts_len = tun_info->options_len; in psample_tunnel_meta_len()
|
/openbmc/linux/net/sched/ |
H A D | act_tunnel_key.c | 301 info->options_len = opts_len; in tunnel_key_opts_set() 574 int len = info->options_len; in tunnel_key_geneve_opts_dump() 659 if (!info->options_len) in tunnel_key_opts_dump()
|
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | action.c | 345 opt_len = ip_tun->options_len; in nfp_fl_push_geneve_options() 423 if (ip_tun->options_len && in nfp_fl_set_tun() 493 set_tun->tun_len = ip_tun->options_len / 4; in nfp_fl_set_tun()
|
H A D | conntrack.c | 1556 size_t tun_size = sizeof(*tun) + tun->options_len; in nfp_fl_ct_add_flow()
|
/openbmc/linux/net/core/ |
H A D | flow_dissector.c | 463 if (info->options_len) { in skb_flow_dissect_tunnel_info() 464 enc_opt->len = info->options_len; in skb_flow_dissect_tunnel_info()
|
H A D | filter.c | 4722 if (unlikely(size < info->options_len)) { in BPF_CALL_3() 4728 if (size > info->options_len) in BPF_CALL_3() 4729 memset(to + info->options_len, 0, size - info->options_len); in BPF_CALL_3() 4731 return info->options_len; in BPF_CALL_3()
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | tc_encap_actions.c | 618 if (info->options_len) { in efx_tc_flower_create_encap_md()
|
/openbmc/linux/net/ipv6/ |
H A D | ip6_gre.c | 584 info->options_len = sizeof(*md); in ip6erspan_rcv() 1012 if (tun_info->options_len < sizeof(*md)) in ip6erspan_tunnel_xmit()
|
/openbmc/linux/drivers/net/vxlan/ |
H A D | vxlan_core.c | 1592 tun_dst->u.tun_info.options_len = sizeof(*md); in vxlan_parse_gbp_hdr() 2524 if (info->options_len < sizeof(*md)) in vxlan_xmit_one()
|