Lines Matching refs:nlattr
789 static void fl_set_key_val(struct nlattr **tb, in fl_set_key_val()
802 static int fl_set_key_spi(struct nlattr **tb, struct fl_flow_key *key, in fl_set_key_spi()
820 static int fl_set_key_port_range(struct nlattr **tb, struct fl_flow_key *key, in fl_set_key_port_range()
867 static int fl_set_key_mpls_lse(const struct nlattr *nla_lse, in fl_set_key_mpls_lse()
872 struct nlattr *tb[TCA_FLOWER_KEY_MPLS_OPT_LSE_MAX + 1]; in fl_set_key_mpls_lse()
952 static int fl_set_key_mpls_opts(const struct nlattr *nla_mpls_opts, in fl_set_key_mpls_opts()
957 struct nlattr *nla_lse; in fl_set_key_mpls_opts()
987 static int fl_set_key_mpls(struct nlattr **tb, in fl_set_key_mpls()
1064 static void fl_set_key_vlan(struct nlattr **tb, in fl_set_key_vlan()
1095 static void fl_set_key_pppoe(struct nlattr **tb, in fl_set_key_pppoe()
1150 static int fl_set_key_flags(struct nlattr **tb, u32 *flags_key, in fl_set_key_flags()
1176 static void fl_set_key_ip(struct nlattr **tb, bool encap, in fl_set_key_ip()
1189 static int fl_set_geneve_opt(const struct nlattr *nla, struct fl_flow_key *key, in fl_set_geneve_opt()
1193 struct nlattr *tb[TCA_FLOWER_KEY_ENC_OPT_GENEVE_MAX + 1]; in fl_set_geneve_opt()
1194 struct nlattr *class = NULL, *type = NULL, *data = NULL; in fl_set_geneve_opt()
1277 static int fl_set_vxlan_opt(const struct nlattr *nla, struct fl_flow_key *key, in fl_set_vxlan_opt()
1281 struct nlattr *tb[TCA_FLOWER_KEY_ENC_OPT_VXLAN_MAX + 1]; in fl_set_vxlan_opt()
1314 static int fl_set_erspan_opt(const struct nlattr *nla, struct fl_flow_key *key, in fl_set_erspan_opt()
1318 struct nlattr *tb[TCA_FLOWER_KEY_ENC_OPT_ERSPAN_MAX + 1]; in fl_set_erspan_opt()
1379 static int fl_set_gtp_opt(const struct nlattr *nla, struct fl_flow_key *key, in fl_set_gtp_opt()
1383 struct nlattr *tb[TCA_FLOWER_KEY_ENC_OPT_GTP_MAX + 1]; in fl_set_gtp_opt()
1422 static int fl_set_enc_opt(struct nlattr **tb, struct fl_flow_key *key, in fl_set_enc_opt()
1426 const struct nlattr *nla_enc_key, *nla_opt_key, *nla_opt_msk = NULL; in fl_set_enc_opt()
1596 static int fl_validate_ct_state(u16 state, struct nlattr *tb, in fl_validate_ct_state()
1630 static int fl_set_key_ct(struct nlattr **tb, in fl_set_key_ct()
1684 static bool is_vlan_key(struct nlattr *tb, __be16 *ethertype, in is_vlan_key()
1704 static void fl_set_key_cfm_md_level(struct nlattr **tb, in fl_set_key_cfm_md_level()
1719 static void fl_set_key_cfm_opcode(struct nlattr **tb, in fl_set_key_cfm_opcode()
1729 static int fl_set_key_cfm(struct nlattr **tb, in fl_set_key_cfm()
1734 struct nlattr *nla_cfm_opt[TCA_FLOWER_KEY_CFM_OPT_MAX + 1]; in fl_set_key_cfm()
1751 static int fl_set_key(struct net *net, struct nlattr **tb, in fl_set_key()
2230 u32 handle, struct nlattr **tca, in fl_change()
2240 struct nlattr **tb; in fl_change()
2255 tb = kcalloc(TCA_FLOWER_MAX + 1, sizeof(struct nlattr *), GFP_KERNEL); in fl_change()
2675 struct nlattr **tca, in fl_tmplt_create()
2679 struct nlattr **tb; in fl_tmplt_create()
2685 tb = kcalloc(TCA_FLOWER_MAX + 1, sizeof(struct nlattr *), GFP_KERNEL); in fl_tmplt_create()
2838 struct nlattr *opts; in fl_dump_key_mpls_opts()
2839 struct nlattr *lse; in fl_dump_key_mpls_opts()
3007 struct nlattr *nest; in fl_dump_key_geneve_opt()
3041 struct nlattr *nest; in fl_dump_key_vxlan_opt()
3063 struct nlattr *nest; in fl_dump_key_erspan_opt()
3097 struct nlattr *nest; in fl_dump_key_gtp_opt()
3158 struct nlattr *opts; in fl_dump_key_cfm()
3194 struct nlattr *nest; in fl_dump_key_options()
3497 struct nlattr *nest; in fl_dump()
3555 struct nlattr *nest; in fl_terse_dump()
3597 struct nlattr *nest; in fl_tmplt_dump()