Searched refs:opts_len (Results 1 – 4 of 4) sorted by relevance
/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 …]
|
/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 …]
|
/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()
|
/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()
|