Home | History | Annotate | Download | only in tcpdump

Lines Matching full:tlen

635         int plen,tlen,strlen,tlv_type,tlv_len,ttlv_len;
639 tlen=plen;
650 tlen-=15;
653 while (tlen>0) {
654 if (tlen < 3)
689 tlen-=(tlv_len<<3); /* the tlv-length is expressed in bits so lets shift it right */
877 int tlen;
883 tlen=len;
960 while (tlen>0) {
978 (tlen>4) ? ", " : "");
981 tlen -=4;
998 while (tlen>0) {
1002 (tlen>4) ? ", " : "");
1003 tlen -=4;
1052 TCHECK2(tptr[0], tlen);
1055 print_unknown_data(tptr,"\n\t ",tlen);
1064 tlen = nhlen;
1067 if (tlen) {
1069 while (tlen > 0) {
1076 if (tlen < (int)sizeof(struct in_addr)) {
1078 tlen = 0;
1082 tlen -= sizeof(struct in_addr);
1089 if (tlen < (int)(sizeof(struct in_addr)+BGP_VPN_RD_LEN)) {
1091 tlen = 0;
1097 tlen -= (sizeof(struct in_addr)+BGP_VPN_RD_LEN);
1107 if (tlen < (int)sizeof(struct in6_addr)) {
1109 tlen = 0;
1113 tlen -= sizeof(struct in6_addr);
1120 if (tlen < (int)(sizeof(struct in6_addr)+BGP_VPN_RD_LEN)) {
1122 tlen = 0;
1128 tlen -= (sizeof(struct in6_addr)+BGP_VPN_RD_LEN);
1137 if (tlen < (int)sizeof(struct in_addr)) {
1139 tlen = 0;
1143 tlen -= (sizeof(struct in_addr));
1150 TCHECK2(tptr[0], tlen);
1151 printf("%s",isonsap_string(tptr,tlen));
1152 tptr += tlen;
1153 tlen = 0;
1159 if (tlen < BGP_VPN_RD_LEN+1) {
1161 tlen = 0;
1163 TCHECK2(tptr[0], tlen);
1166 isonsap_string(tptr+BGP_VPN_RD_LEN,tlen-BGP_VPN_RD_LEN));
1175 tptr += tlen;
1176 tlen = 0;
1180 TCHECK2(tptr[0], tlen);
1183 print_unknown_data(tptr,"\n\t ",tlen);
1184 tptr += tlen;
1185 tlen = 0;
1192 tptr += tlen;
1328 TCHECK2(*tptr,tlen);
1331 print_unknown_data(tptr,"\n\t ",tlen);
1463 TCHECK2(*(tptr-3),tlen);
1466 print_unknown_data(tptr-3,"\n\t ",tlen);
1481 while (tlen>0) {
1557 tlen -=8;