Lines Matching refs:icp
543 struct icmphdr *icp = (struct icmphdr *) ALLIGN(outpack); in solicitor() local
550 icp->type = ICMP_ROUTER_SOLICITATION; in solicitor()
551 icp->code = 0; in solicitor()
552 icp->checksum = 0; in solicitor()
553 icp->un.gateway = 0; /* Reserved */ in solicitor()
557 icp->checksum = in_cksum( (u_short *)icp, packetlen ); in solicitor()
723 struct icmphdr *icp; in pr_pack() local
736 icp = (struct icmphdr *)ALLIGN(buf + hlen); in pr_pack()
738 switch (icp->type) { in pr_pack()
741 struct icmp_ra *rap = (struct icmp_ra *)ALLIGN(icp); in pr_pack()
843 pr_type((int)icp->type), in pr_pack()
847 if (icp->code != 0) { in pr_pack()
850 pr_type((int)icp->type), in pr_pack()
852 icp->code); in pr_pack()
859 pr_type((int)icp->type), in pr_pack()
868 pr_type((int)icp->type), in pr_pack()
892 pr_type((int)icp->type), in pr_pack()