Lines Matching refs:ip
45 struct iphdr ip;
305 received.ip.saddr = payload->ip.saddr; in ef4_loopback_rx_packet()
307 received.ip.check = payload->ip.check; in ef4_loopback_rx_packet()
335 if (memcmp(&received.ip, &payload->ip, sizeof(payload->ip)) != 0) { in ef4_loopback_rx_packet()
394 payload->ip.daddr = htonl(INADDR_LOOPBACK); in ef4_iterate_state()
395 payload->ip.ihl = 5; in ef4_iterate_state()
396 payload->ip.check = (__force __sum16) htons(0xdead); in ef4_iterate_state()
397 payload->ip.tot_len = htons(sizeof(*payload) - in ef4_iterate_state()
398 offsetof(struct ef4_loopback_payload, ip)); in ef4_iterate_state()
399 payload->ip.version = IPVERSION; in ef4_iterate_state()
400 payload->ip.protocol = IPPROTO_UDP; in ef4_iterate_state()
441 payload->ip.saddr = htonl(INADDR_LOOPBACK | (i << 2)); in ef4_begin_loopback()