Lines Matching refs:ih
260 struct ip *ih;
294 ih = (struct ip*) (ptr+8);
295 ih->ip_v = 4;
296 ih->ip_hl = 5;
298 ih->ip_len = htons(len);
299 ih->ip_id = htons(q->id);
300 ih->ip_ttl = 69;
301 ih->ip_p = 0;
302 ih->ip_src.s_addr = p->src.s_addr;
303 ih->ip_dst.s_addr = p->dst.s_addr;
304 ih->ip_sum = in_cksum((unsigned short*)ih, 20);