Searched refs:ICMP_MINLEN (Results 1 – 14 of 14) sorted by relevance
214 outdata = (struct outdata *)(outp + ICMP_MINLEN); in send_probe()342 if (cc < hlen + ICMP_MINLEN) { in check_reply()366 cc -= ICMP_MINLEN; in check_reply()379 if (ICMP_MINLEN <= cc && in check_reply()
1176 pr->icmp_minlen = ICMP_MINLEN; in setup_protocol()
76 if (ilen < ICMP_MINLEN) in interpret_icmp()125 ICMP_MINLEN + icmp->icmp_ip.ip_hl * 4); in interpret_icmp()244 num_rtr_addrs = MIN((ilen - ICMP_MINLEN) / 8, in interpret_icmp()265 icmp_ra_len = ICMP_MINLEN + num_rtr_addrs * in interpret_icmp()423 icmp_ra_len = ICMP_MINLEN + in interpret_icmp()
385 iph = (struct ip *)((char *)icmph + ICMP_MINLEN); in check_icmp_unreach_v4()454 if (rcvd < 2 * sizeof (struct ip) + ICMP_MINLEN + in check_icmp_v4()460 if (rcvd < sizeof (struct ip) + ICMP_MINLEN) in check_icmp_v4()729 ((ICMP_MINLEN + 2 * sizeof (uint32_t)) / sizeof (uint32_t))
65 if (icmp_len < ICMP_MINLEN) { in icmp4()
118 #define ICMP_MINLEN 8 /* abs minimum */ macro
627 packetlen = ICMP_MINLEN; in advertise()773 if (cc < hlen + ICMP_MINLEN) { in pr_pack()853 ICMP_MINLEN + rap->icmp_num_addrs * rap->icmp_wpa * 4) { in pr_pack()859 ICMP_MINLEN + in pr_pack()887 ALIGN(buf + hlen + ICMP_MINLEN + in pr_pack()944 if (cc < ICMP_MINLEN) { in pr_pack()950 ICMP_MINLEN); in pr_pack()
611 ICMP_MINLEN))) { in main()2021 cc = datalen + ICMP_MINLEN; in pinger()2042 tp = (struct timeval *)&out_pkt[ICMP_MINLEN]; in pinger()2043 datap = &out_pkt[ICMP_MINLEN + sizeof (struct timeval)]; in pinger()
291 if ((cc < sizeof (struct ip)) || (cc < hlen + ICMP_MINLEN)) { in check_reply()311 cc_left = cc - ICMP_MINLEN; in check_reply()
427 if (len < iphlen + ICMP_MINLEN) { in in_data()538 if (len < ICMP_MINLEN) { in in6_data()
1933 #ifndef ICMP_MINLEN1934 # define ICMP_MINLEN 8 macro
1297 if (cc < hlen + ICMP_MINLEN) in read_d()
771 if ((uchar_t *)icmp + ICMP_MINLEN > mp->b_wptr) in tsol_get_pkt_label()
975 minicmpsz = ICMP_MINLEN;