Lines Matching refs:h_ip
62 static __iomem struct iphdr *h_ip; variable
162 h_ip = (struct iphdr *)(h_vlan + 1); in gelic_debug_init()
165 h_ip = (struct iphdr *)(h_eth + 1); in gelic_debug_init()
169 h_ip->version = 4; in gelic_debug_init()
170 h_ip->ihl = 5; in gelic_debug_init()
171 h_ip->ttl = 10; in gelic_debug_init()
172 h_ip->protocol = 0x11; in gelic_debug_init()
173 h_ip->saddr = 0x00000000; in gelic_debug_init()
174 h_ip->daddr = 0xffffffff; in gelic_debug_init()
177 h_udp = (struct udphdr *)(h_ip + 1); in gelic_debug_init()
199 h_ip->tot_len = msgsize + sizeof(struct udphdr) + in gelic_sendbuf()
203 h_ip->check = 0; in gelic_sendbuf()
205 p = (u16 *)h_ip; in gelic_sendbuf()
208 h_ip->check = ~(sum + (sum >> 16)); in gelic_sendbuf()