Lines Matching refs:h_ip
92 static __iomem struct iphdr *h_ip; variable
192 h_ip = (struct iphdr *)(h_vlan + 1); in gelic_debug_init()
195 h_ip = (struct iphdr *)(h_eth + 1); in gelic_debug_init()
199 h_ip->ver_len = 0x45; in gelic_debug_init()
200 h_ip->ttl = 10; in gelic_debug_init()
201 h_ip->proto = 0x11; in gelic_debug_init()
202 h_ip->src = 0x00000000; in gelic_debug_init()
203 h_ip->dest = 0xffffffff; in gelic_debug_init()
206 h_udp = (struct udphdr *)(h_ip + 1); in gelic_debug_init()
228 h_ip->total_length = msgsize + sizeof(struct udphdr) + in gelic_sendbuf()
232 h_ip->checksum = 0; in gelic_sendbuf()
234 p = (u16 *)h_ip; in gelic_sendbuf()
237 h_ip->checksum = ~(sum + (sum >> 16)); in gelic_sendbuf()