Home | History | Annotate | Download | only in tcpdump

Lines Matching full:printf

95 		(void)printf("[|cdp]");
103 printf("CDPv%u, ttl: %us", *tptr, *(tptr+1));
105 printf(", checksum: %u (unverified), length %u", EXTRACT_16BITS(tptr), length);
123 printf("\n\t%s (0x%02x), length: %u byte%s: ",
133 printf(", Device-ID '%.*s'", len, tptr);
135 printf("'%.*s'", len, tptr);
142 printf("'%.*s'", len, tptr);
145 printf("(0x%08x): %s",
150 printf("\n\t ");
155 printf("\t ");
159 printf("'%.*s'", len, tptr);
168 printf("'%.*s'", len,tptr);
171 printf("%d",EXTRACT_16BITS(tptr));
174 printf("%s", *(tptr) ? "full": "half");
181 printf("app %d, vlan %d",
185 printf("%1.2fW",
189 printf("%u bytes", EXTRACT_32BITS(tptr));
192 printf("0x%02x", *(tptr) );
195 printf("0x%02x", *(tptr));
198 printf("'%.*s'", len, tptr);
205 printf("0x%02x/%.*s", *(tptr), len - 1, tptr + 1 );
218 printf(", length %u",caplen);
222 printf("[|cdp]");
275 printf("IPv4 (%u) %s",
294 printf("IPv6 (%u) %s",
307 printf("pt=0x%02x, pl=%d, pb=", *(p - 2), pl);
309 printf(" %02x", *p++);
314 printf(", al=%d, a=", al);
320 printf(" %02x", *p++);
324 printf(" ");
340 printf(" IPv4 Prefixes (%d):", l / 5);
343 printf(" %u.%u.%u.%u/%u", p[0], p[1], p[2], p[3], p[4]);