Searched refs:options_len (Results 1 – 18 of 18) sorted by relevance
/Linux-v5.10/include/net/ |
D | dst_metadata.h | 82 a->u.tun_info.options_len); in skb_metadata_dst_cmp() 103 tun_dst->u.tun_info.options_len = 0; in tun_rx_dst() 117 md_size = md_dst->u.tun_info.options_len; in tun_dst_unclone()
|
D | ip_tunnels.h | 67 options_len) * BITS_PER_BYTE) - 1, 0) 74 u8 options_len; member 474 memcpy(to, info + 1, info->options_len); in ip_tunnel_info_opts_get() 481 info->options_len = len; in ip_tunnel_info_opts_set() 530 info->options_len = 0; in ip_tunnel_info_opts_set()
|
/Linux-v5.10/net/ipv4/ |
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() 722 tun_info->options_len = opt_len; in ip_tun_build_state() 749 while (tun_info->options_len > offset) { in ip_tun_fill_encap_opts_geneve() 877 while (info->options_len > offset) { in ip_tun_opts_nlsize() 922 info_a->options_len != info_b->options_len || in ip_tun_cmp_encap() 924 ip_tunnel_info_opts(info_b), info_a->options_len); in ip_tun_cmp_encap() 1001 tun_info->options_len = opt_len; in ip6_tun_build_state()
|
D | ip_gre.c | 335 info->options_len = sizeof(*md); in erspan_rcv() 534 if (tun_info->options_len < sizeof(*md)) in erspan_fb_xmit()
|
/Linux-v5.10/include/net/tc_act/ |
D | tc_tunnel_key.h | 77 size_t tun_size = sizeof(*tun) + tun->options_len; in tcf_tunnel_info_copy()
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
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()
|
/Linux-v5.10/drivers/net/ |
D | bareudp.c | 306 BAREUDP_IPV4_HLEN + info->options_len, false); in bareudp_xmit_skb() 321 BAREUDP_BASE_HLEN + info->options_len + sizeof(struct iphdr); in bareudp_xmit_skb() 367 skb_tunnel_check_pmtu(skb, dst, BAREUDP_IPV6_HLEN + info->options_len, in bareudp6_xmit_skb() 383 BAREUDP_BASE_HLEN + info->options_len + sizeof(struct iphdr); in bareudp6_xmit_skb()
|
D | geneve.c | 726 geneveh->opt_len = info->options_len / 4; in geneve_build_header() 751 GENEVE_BASE_HLEN + info->options_len + ip_hdr_len; in geneve_build_skb() 760 gnvh = __skb_push(skb, sizeof(*gnvh) + info->options_len); in geneve_build_skb() 900 GENEVE_IPV4_HLEN + info->options_len, in geneve_xmit_skb() 986 GENEVE_IPV6_HLEN + info->options_len, in geneve6_xmit_skb() 1594 geneve_change_mtu(dev, ldev_mtu - info->options_len); in geneve_link_config()
|
D | vxlan.c | 1725 tun_dst->u.tun_info.options_len = sizeof(*md); in vxlan_parse_gbp_hdr() 2667 if (info->options_len < sizeof(*md)) in vxlan_xmit_one()
|
/Linux-v5.10/net/psample/ |
D | psample.c | 219 int tun_opts_len = tun_info->options_len; in __psample_ip_tun_to_nlattr() 311 int tun_opts_len = tun_info->options_len; in psample_tunnel_meta_len()
|
/Linux-v5.10/net/openvswitch/ |
D | flow.c | 863 if (tun_info->options_len) { in ovs_flow_key_extract() 864 BUILD_BUG_ON((1 << (sizeof(tun_info->options_len) * in ovs_flow_key_extract() 868 ip_tunnel_info_opts_get(TUN_METADATA_OPTS(key, tun_info->options_len), in ovs_flow_key_extract() 870 key->tun_opts_len = tun_info->options_len; in ovs_flow_key_extract()
|
D | flow_netlink.c | 958 tun_info->options_len, in ovs_nla_put_tunnel_info() 3561 tun_info->options_len, in set_action_to_attr()
|
/Linux-v5.10/net/sched/ |
D | act_tunnel_key.c | 300 info->options_len = opts_len; in tunnel_key_opts_set() 570 int len = info->options_len; in tunnel_key_geneve_opts_dump() 655 if (!info->options_len) in tunnel_key_opts_dump()
|
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/flower/ |
D | action.c | 343 opt_len = ip_tun->options_len; in nfp_fl_push_geneve_options() 421 if (ip_tun->options_len && in nfp_fl_set_tun() 490 set_tun->tun_len = ip_tun->options_len / 4; in nfp_fl_set_tun()
|
/Linux-v5.10/net/core/ |
D | flow_dissector.c | 376 if (info->options_len) { in skb_flow_dissect_tunnel_info() 377 enc_opt->len = info->options_len; in skb_flow_dissect_tunnel_info()
|
D | filter.c | 4290 if (unlikely(size < info->options_len)) { in BPF_CALL_3() 4296 if (size > info->options_len) in BPF_CALL_3() 4297 memset(to + info->options_len, 0, size - info->options_len); in BPF_CALL_3() 4299 return info->options_len; in BPF_CALL_3()
|
/Linux-v5.10/net/ipv6/ |
D | ip6_gre.c | 587 info->options_len = sizeof(*md); in ip6erspan_rcv() 998 if (tun_info->options_len < sizeof(*md)) in ip6erspan_tunnel_xmit()
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 3671 size_t tun_size = sizeof(*tun_info) + tun_info->options_len; in dup_tun_info()
|