Lines Matching defs:code
35 * 1. Redistributions of source code must retain the above copyright
1379 * code - like udp/tcp/raw ip.
1476 * would confuse code below.
1831 int opt, optlen, cnt, off, code, type = ICMP_PARAMPROB, forward = 0;
1851 code = &cp[IPOPT_OLEN] - (u_char *)ip;
1856 code = &cp[IPOPT_OLEN] - (u_char *)ip;
1877 code = &cp[IPOPT_OLEN] - (u_char *)ip;
1881 code = &cp[IPOPT_OFFSET] - (u_char *)ip;
1890 code = ICMP_UNREACH_SRCFAIL;
1929 code = ICMP_UNREACH_SRCFAIL;
1959 code = ICMP_UNREACH_SRCFAIL;
1978 code = &cp[IPOPT_OFFSET] - (u_char *)ip;
1982 code = &cp[IPOPT_OFFSET] - (u_char *)ip;
2001 code = ICMP_UNREACH_HOST;
2015 code = cp - (u_char *)ip;
2018 code = (u_char *)&ipt->ipt_len - (u_char *)ip;
2022 code = (u_char *)&ipt->ipt_ptr - (u_char *)ip;
2028 code = (u_char *)&ipt->ipt_ptr -
2043 code = (u_char *)&ipt->ipt_ptr -
2064 code = (u_char *)&ipt->ipt_ptr -
2080 code = (u_char *)&ipt->ipt_ptr -
2097 icmp_error(m, type, code, 0, 0);
2353 int error, type = 0, code = 0;
2480 code = ICMP_REDIRECT_HOST;
2483 printf("redirect (%d) to %lx\n", code, (u_int32_t)dest);
2542 /* type, code set above */
2551 code = ICMP_UNREACH_HOST;
2556 code = ICMP_UNREACH_NEEDFRAG;
2655 code = 0;
2663 icmp_error(mcopy, type, code, dest, nextmtu);