Lines Matching refs:tb
89 struct nlattr *tb[TCA_IPT_MAX + 1]; in tcf_ipt_init() local
100 err = nla_parse_nested(tb, TCA_IPT_MAX, nla, ipt_policy); in tcf_ipt_init()
104 if (tb[TCA_IPT_HOOK] == NULL) in tcf_ipt_init()
106 if (tb[TCA_IPT_TARG] == NULL) in tcf_ipt_init()
109 td = (struct xt_entry_target *)nla_data(tb[TCA_IPT_TARG]); in tcf_ipt_init()
110 if (nla_len(tb[TCA_IPT_TARG]) < td->u.target_size) in tcf_ipt_init()
113 if (tb[TCA_IPT_INDEX] != NULL) in tcf_ipt_init()
114 index = nla_get_u32(tb[TCA_IPT_INDEX]); in tcf_ipt_init()
131 hook = nla_get_u32(tb[TCA_IPT_HOOK]); in tcf_ipt_init()
137 if (tb[TCA_IPT_TABLE] == NULL || in tcf_ipt_init()
138 nla_strlcpy(tname, tb[TCA_IPT_TABLE], IFNAMSIZ) >= IFNAMSIZ) in tcf_ipt_init()