Home | History | Annotate | Download | only in iputils

Lines Matching defs:icp

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