Lines Matching defs:ip
90 struct ip *ip;112 ip = (struct ip *)(mp->m_data + ehdrlen);113 ip_hlen = ip->ip_hl << 2;116 switch (ip->ip_p) {118 th = (struct tcphdr *)((caddr_t)ip + ip_hlen);125 uh = (struct udphdr *)((caddr_t)ip + ip_hlen);140 common.ip ^= ip->ip_src.s_addr ^ ip->ip_dst.s_addr;