Home
last modified time | relevance | path

Searched refs:ALLIGN (Results 1 – 1 of 1) sorted by relevance

/external/iputils/
Drdisc.c85 #define ALLIGN(ptr) (ptr) macro
543 struct icmphdr *icp = (struct icmphdr *) ALLIGN(outpack); in solicitor()
587 struct icmp_ra *rap = (struct icmp_ra *) ALLIGN(outpack); in advertise()
610 ap = (struct icmp_ra_addr *)ALLIGN(outpack + ICMP_MINLEN); in advertise()
727 ip = (struct iphdr *) ALLIGN(buf); in pr_pack()
736 icp = (struct icmphdr *)ALLIGN(buf + hlen); in pr_pack()
741 struct icmp_ra *rap = (struct icmp_ra *)ALLIGN(icp); in pr_pack()
751 if (in_cksum((u_short *)ALLIGN(buf+hlen), cc)) { in pr_pack()
804 ALLIGN(buf + hlen + 8 + in pr_pack()
840 if (in_cksum((u_short *)ALLIGN(buf+hlen), cc)) { in pr_pack()
[all …]