Lines Matching refs:tb
88 * @arg tb Index array to be filled (maxtype+1 elements).
104 int libbpf_nla_parse(struct nlattr *tb[], int maxtype, struct nlattr *head,
110 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1));
124 if (tb[type])
128 tb[type] = nla;
138 * @arg tb Index array to be filled (maxtype+1 elements).
149 int libbpf_nla_parse_nested(struct nlattr *tb[], int maxtype,
153 return libbpf_nla_parse(tb, maxtype, libbpf_nla_data(nla),
164 struct nlattr *tb[NLMSGERR_ATTR_MAX + 1], *attr;
183 if (libbpf_nla_parse(tb, NLMSGERR_ATTR_MAX, attr, alen,
189 if (tb[NLMSGERR_ATTR_MSG])
190 errmsg = (char *) libbpf_nla_data(tb[NLMSGERR_ATTR_MSG]);