Lines Matching defs:tb
1593 struct nlattr *tb[NDA_MAX+1];
1598 err = nlmsg_parse(nlh, sizeof(*ndm), tb, NDA_MAX, NULL);
1603 if (tb[NDA_DST] == NULL)
1614 if (tb[NDA_LLADDR] && nla_len(tb[NDA_LLADDR]) < dev->addr_len)
1628 if (nla_len(tb[NDA_DST]) < tbl->key_len)
1630 dst = nla_data(tb[NDA_DST]);
1631 lladdr = tb[NDA_LLADDR] ? nla_data(tb[NDA_LLADDR]) : NULL;
1866 struct nlattr *tb[NDTA_MAX+1];
1869 err = nlmsg_parse(nlh, sizeof(*ndtmsg), tb, NDTA_MAX,
1874 if (tb[NDTA_NAME] == NULL) {
1885 if (nla_strcmp(tb[NDTA_NAME], tbl->id) == 0)
1900 if (tb[NDTA_PARMS]) {
1905 err = nla_parse_nested(tbp, NDTPA_MAX, tb[NDTA_PARMS],
1964 if (tb[NDTA_THRESH1])
1965 tbl->gc_thresh1 = nla_get_u32(tb[NDTA_THRESH1]);
1967 if (tb[NDTA_THRESH2])
1968 tbl->gc_thresh2 = nla_get_u32(tb[NDTA_THRESH2]);
1970 if (tb[NDTA_THRESH3])
1971 tbl->gc_thresh3 = nla_get_u32(tb[NDTA_THRESH3]);
1973 if (tb[NDTA_GC_INTERVAL])
1974 tbl->gc_interval = nla_get_msecs(tb[NDTA_GC_INTERVAL]);