Home | History | Annotate | Download | only in tcpdump

Lines Matching full:sizeof

104 #define ICMP_EXTD_MINLEN (156 - sizeof (struct ip))     /* draft-bonica-internet-icmp-08 */
105 #define ICMP_TSLEN (8 + 3 * sizeof (u_int32_t)) /* timestamp */
107 #define ICMP_ADVLENMIN (8 + sizeof (struct ip) + 8) /* min */
329 snprintf(buf, sizeof(buf), "%02u:%02u:%02u.%03u",hrs,min,sec,msec);
361 (void)snprintf(buf, sizeof(buf), "echo %s, id %u, seq %u",
374 (void)snprintf(buf, sizeof(buf),
390 (void)snprintf(buf, sizeof(buf),
397 (void)snprintf(buf, sizeof(buf),
404 (void)snprintf(buf, sizeof(buf),
418 (void)snprintf(buf, sizeof(buf),
422 (void)snprintf(buf, sizeof(buf),
432 (void)snprintf(buf, sizeof(buf), fmt,
442 (void)snprintf(buf, sizeof(buf), fmt,
453 (void)snprintf(buf, sizeof(buf), "router advertisement");
458 (void)strncpy(cp, " lifetime ", sizeof(buf) - (cp - buf));
462 (void)snprintf(cp, sizeof(buf) - (cp - buf), "%u",
465 (void)snprintf(cp, sizeof(buf) - (cp - buf), "%u:%02u",
468 (void)snprintf(cp, sizeof(buf) - (cp - buf),
477 (void)snprintf(cp, sizeof(buf) - (cp - buf), " %d:", num);
482 (void)snprintf(cp, sizeof(buf) - (cp - buf),
489 (void)snprintf(cp, sizeof(buf) - (cp - buf), " {%s %u}",
511 (void)snprintf(buf, sizeof(buf), "time exceeded-#%d",
519 sizeof(buf),
523 (void)snprintf(buf, sizeof(buf),
530 (void)snprintf(buf, sizeof(buf), "address mask is 0x%08x",
536 (void)snprintf(buf, sizeof(buf),
544 (void)snprintf(buf, sizeof(buf),
550 (void)snprintf(buf+strlen(buf),sizeof(buf)-strlen(buf),", recv %s",
552 (void)snprintf(buf+strlen(buf),sizeof(buf)-strlen(buf),", xmit %s",
629 while (hlen > sizeof(struct icmp_mpls_ext_object_header_t)) {
636 obj_tptr += sizeof(struct icmp_mpls_ext_object_header_t);
644 hlen-=sizeof(struct icmp_mpls_ext_object_header_t); /* length field includes tlv header */
648 (obj_tlen < sizeof(struct icmp_mpls_ext_object_header_t))) {
651 obj_tlen-=sizeof(struct icmp_mpls_ext_object_header_t);