Home | History | Annotate | Download | only in misc

Lines Matching refs:tb

1332 	struct rtattr * tb[INET_DIAG_MAX+1];
1336 parse_rtattr(tb, INET_DIAG_MAX, (struct rtattr*)(r+1),
1339 if (tb[INET_DIAG_SKMEMINFO]) {
1340 const __u32 *skmeminfo = RTA_DATA(tb[INET_DIAG_SKMEMINFO]);
1341 printf(" skmem:(r%u,rb%u,t%u,tb%u,f%u,w%u,o%u)",
1349 }else if (tb[INET_DIAG_MEMINFO]) {
1351 = RTA_DATA(tb[INET_DIAG_MEMINFO]);
1359 if (tb[INET_DIAG_INFO]) {
1361 int len = RTA_PAYLOAD(tb[INET_DIAG_INFO]);
1367 memcpy(info, RTA_DATA(tb[INET_DIAG_INFO]), len);
1369 info = RTA_DATA(tb[INET_DIAG_INFO]);
1382 if (tb[INET_DIAG_CONG])
1383 printf(" %s", rta_getattr_str(tb[INET_DIAG_CONG]));
1401 if (tb[INET_DIAG_VEGASINFO]) {
1403 = RTA_DATA(tb[INET_DIAG_VEGASINFO]);
2026 struct rtattr *tb[UNIX_DIAG_MAX+1];
2031 parse_rtattr(tb, UNIX_DIAG_MAX, (struct rtattr*)(r+1),
2040 if (tb[UNIX_DIAG_RQLEN])
2041 rqlen = *(int *)RTA_DATA(tb[UNIX_DIAG_RQLEN]);
2047 if (tb[UNIX_DIAG_NAME]) {
2048 int len = RTA_PAYLOAD(tb[UNIX_DIAG_NAME]);
2050 memcpy(name, RTA_DATA(tb[UNIX_DIAG_NAME]), len);
2057 if (tb[UNIX_DIAG_PEER])
2058 peer_ino = *(int *)RTA_DATA(tb[UNIX_DIAG_PEER]);
2310 char tb[16];
2312 ll_proto_n2a(htons(prot), tb, sizeof(tb)));