Home | History | Annotate | Download | only in ipsend

Lines Matching refs:IP_HL

167 		printf("1.1. sending packets with ip_hl < ip_len\n");
183 printf("1.2. sending packets with ip_hl > ip_len\n");
238 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2);
250 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2);
269 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2);
281 ip->ip_sum = chksum((u_short *)ip, IP_HL(ip) << 2);
500 ip->ip_len = IP_HL(ip) << 2;
520 ip->ip_len = IP_HL(ip) << 2;
600 icp = (struct icmp *)((char *)ip + (IP_HL(ip) << 2));
799 u = (udphdr_t *)((char *)ip + (IP_HL(ip) << 2));
813 ip->ip_len = (IP_HL(ip) << 2) + ntohs(u->uh_ulen);
830 ip->ip_len = (IP_HL(ip) << 2) + ntohs(u->uh_ulen);
848 ip->ip_len = (IP_HL(ip) << 2) + ntohs(u->uh_ulen);
889 ip->ip_len = (IP_HL(ip) << 2) + ntohs(u->uh_ulen);
956 t = (tcphdr_t *)((char *)ip + (IP_HL(ip) << 2));