Lines Matching refs:icp
533 struct icmphdr *icp = (struct icmphdr *) ALLIGN(outpack);
540 icp->type = ICMP_ROUTER_SOLICITATION;
541 icp->code = 0;
542 icp->checksum = 0;
543 icp->un.gateway = 0; /* Reserved */
547 icp->checksum = in_cksum( (u_short *)icp, packetlen );
713 struct icmphdr *icp;
726 icp = (struct icmphdr *)ALLIGN(buf + hlen);
728 switch (icp->type) {
731 struct icmp_ra *rap = (struct icmp_ra *)ALLIGN(icp);
831 pr_type((int)icp->type),
835 if (icp->code != 0) {
838 pr_type((int)icp->type),
840 icp->code);
847 pr_type((int)icp->type),
856 pr_type((int)icp->type),
879 pr_type((int)icp->type),