Home
last modified time | relevance | path

Searched refs:minpacket (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c761 int minpacket; /* min ip packet size */ in calc_packetlen() local
791 minpacket = pr->ip_hdr_len + sizeof (struct outdata) + optlen; in calc_packetlen()
793 minpacket += pr->icmp_minlen; /* minimum ICMP header size */ in calc_packetlen()
795 minpacket += sizeof (struct udphdr); in calc_packetlen()
798 plen = minpacket; /* minimum sized packet */ in calc_packetlen()
799 } else if (minpacket > plen || plen > IP_MAXPACKET) { in calc_packetlen()
801 prog, pr->name, minpacket, IP_MAXPACKET); in calc_packetlen()