Searched refs:opts_len (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/net/sched/ |
D | act_tunnel_key.c | 222 int err, rem, opt_len, len = nla_len(nla), opts_len = 0, type = 0; in tunnel_key_copy_opts() local 241 opts_len += opt_len; in tunnel_key_copy_opts() 242 if (opts_len > IP_TUNNEL_OPTS_MAX) { in tunnel_key_copy_opts() 261 opts_len += opt_len; in tunnel_key_copy_opts() 273 opts_len += opt_len; in tunnel_key_copy_opts() 279 if (!opts_len) { in tunnel_key_copy_opts() 289 return opts_len; in tunnel_key_copy_opts() 299 int opts_len, struct netlink_ext_ack *extack) in tunnel_key_opts_set() argument 301 info->options_len = opts_len; in tunnel_key_opts_set() 307 opts_len, extack); in tunnel_key_opts_set() [all …]
|
/linux-6.6.21/net/ipv4/ |
D | ip_tunnel_core.c | 470 struct ip_tunnel_info *info, int opts_len, in ip_tun_parse_opts_geneve() argument 492 struct geneve_opt *opt = ip_tunnel_info_opts(info) + opts_len; in ip_tun_parse_opts_geneve() 507 struct ip_tunnel_info *info, int opts_len, in ip_tun_parse_opts_vxlan() argument 523 ip_tunnel_info_opts(info) + opts_len; in ip_tun_parse_opts_vxlan() 535 struct ip_tunnel_info *info, int opts_len, in ip_tun_parse_opts_erspan() argument 564 ip_tunnel_info_opts(info) + opts_len; in ip_tun_parse_opts_erspan() 586 int err, rem, opt_len, opts_len = 0; in ip_tun_parse_opts() local 603 opt_len = ip_tun_parse_opts_geneve(nla, info, opts_len, in ip_tun_parse_opts() 607 opts_len += opt_len; in ip_tun_parse_opts() 608 if (opts_len > IP_TUNNEL_OPTS_MAX) in ip_tun_parse_opts() [all …]
|
/linux-6.6.21/net/netfilter/ |
D | nf_conntrack_bpf.c | 103 u32 tuple_len, struct bpf_ct_opts *opts, u32 opts_len, in __bpf_nf_ct_alloc_entry() argument 111 opts_len != NF_BPF_CT_OPTS_SZ) in __bpf_nf_ct_alloc_entry() 151 u32 opts_len) in __bpf_nf_ct_lookup() argument 159 opts_len != NF_BPF_CT_OPTS_SZ) in __bpf_nf_ct_lookup()
|
/linux-6.6.21/drivers/infiniband/hw/irdma/ |
D | cm.c | 312 u32 opts_len = 0; in irdma_form_ah_cm_frame() local 330 opts_len = (u32)options->size; in irdma_form_ah_cm_frame() 338 pktsize = sizeof(*tcph) + opts_len + hdr_len + pd_len; in irdma_form_ah_cm_frame() 343 sqbuf->tcphlen = sizeof(*tcph) + opts_len; in irdma_form_ah_cm_frame() 376 tcph->doff = (u16)((sizeof(*tcph) + opts_len + 3) >> 2); in irdma_form_ah_cm_frame() 381 if (opts_len) { in irdma_form_ah_cm_frame() 382 memcpy(buf, options->addr, opts_len); in irdma_form_ah_cm_frame() 383 buf += opts_len; in irdma_form_ah_cm_frame() 426 u32 opts_len = 0; in irdma_form_uda_cm_frame() local 439 opts_len = (u32)options->size; in irdma_form_uda_cm_frame() [all …]
|
/linux-6.6.21/drivers/net/ |
D | geneve.c | 357 int opts_len; in geneve_udp_encap_recv() local 384 opts_len = geneveh->opt_len * 4; in geneve_udp_encap_recv() 385 if (iptunnel_pull_header(skb, GENEVE_BASE_HLEN + opts_len, inner_proto, in geneve_udp_encap_recv()
|
/linux-6.6.21/net/openvswitch/ |
D | flow_netlink.c | 2735 int opts_len = key->tun_opts_len; in validate_geneve_opts() local 2739 while (opts_len > 0) { in validate_geneve_opts() 2742 if (opts_len < sizeof(*option)) in validate_geneve_opts() 2746 if (len > opts_len) in validate_geneve_opts() 2752 opts_len -= len; in validate_geneve_opts()
|