What is the correct way of finding the number of entries in a table? I tried
numipv6routes = blobmsg_data_len(tb[ROUTE_TABLE_IPV6]) / sizeof(blobmsg_data(tb[ROUTE_TABLE_IPV6]
However, I also looked at libubox for each function.
I think it should somehow be?
blobmsg_data_len(attr)/blob_pad_len(pos)