Lines Matching refs:enc_opts
56 struct flow_dissector_key_enc_opts enc_opts; member
858 opt = (struct geneve_opt *)&key->enc_opts.data[key->enc_opts.len]; in fl_set_geneve_opt()
895 int new_len = key->enc_opts.len; in fl_set_geneve_opt()
962 key->enc_opts.dst_opt_type = TUNNEL_GENEVE_OPT; in fl_set_enc_opt()
969 key->enc_opts.len += option_len; in fl_set_enc_opt()
973 mask->enc_opts.dst_opt_type = TUNNEL_GENEVE_OPT; in fl_set_enc_opt()
980 mask->enc_opts.len += option_len; in fl_set_enc_opt()
981 if (key->enc_opts.len != mask->enc_opts.len) { in fl_set_enc_opt()
1355 FLOW_DISSECTOR_KEY_ENC_OPTS, enc_opts); in fl_init_dissector()
2105 struct flow_dissector_key_enc_opts *enc_opts) in fl_dump_key_geneve_opt() argument
2115 while (enc_opts->len > opt_off) { in fl_dump_key_geneve_opt()
2116 opt = (struct geneve_opt *)&enc_opts->data[opt_off]; in fl_dump_key_geneve_opt()
2173 struct flow_dissector_key_enc_opts *enc_opts) in fl_dump_key_options() argument
2178 if (!enc_opts->len) in fl_dump_key_options()
2185 switch (enc_opts->dst_opt_type) { in fl_dump_key_options()
2187 err = fl_dump_key_geneve_opt(skb, enc_opts); in fl_dump_key_options()
2402 fl_dump_key_enc_opt(skb, &key->enc_opts, &mask->enc_opts)) in fl_dump_key()